How to upgrade zoneminder 1.29 to 1.30 on Ubuntu 16.04

You will have to refer iconnor  for adding Adding Zoneminder  PPA to your system.

Open the Ubuntu terminal

sudo add-apt-repository ppa:iconnor/zoneminder
sudo apt-get update
sudo apt-get upgrade 
sudo apt-get dist-upgrade

Then open the Synaptic Package Manager and see whether the  Zoneminder is upgraded to version 1.3 properly .If not upgrade using the Synaptic Package Manager.

Now open the ZM Console to find Zoneminder is running.

How to email using SSMTP

Please refer Zoneminder Wiki 

Installation of SSMTP

sudo apt-get update

apt-get install ssmtp

apt-get install mailutils

Configuration of SSMTP

To open ssmtp.conf

sudo gedit /etc/ssmtp/ssmtp.conf.

Then edit to include following  lines and save the file

root="your gmail"
AuthUser="your gmail"
AuthPass=" password of your gmail"

Screenshot from 2016-09-04 13-04-12




Configure the revaliases with the correct “From” addresses while sending email

sudo gedit  /etc/ssmtp/revaliases

Add following lines and save the file

root:"your gmail"
www-data:"your gmail"
Screenshot from 2016-09-04 13-05-55


Checking to see mail works

Go to root sudo su enter the root password cd ..

echo "Hello, World" | mail -s "My email check" "your gmail"

Note:- All the places where "your gmail"  mentioned in above commands
have to be replaced with your e mail address

Making changes in ZM Options 
Open sub menu ZM/Options/Email
Make changes as follows
Screenshot from 2016-09-04 13-06-45
To attach alarm videos to email body you will have to include %EV% as 
follows in the ZM/Options/Email/EMAIL_BODY

Screenshot from 2016-09-04 13-09-19

To create alarm videos you will have to tick the box against OPT_FFMPEG 
in ZM as follows
Screenshot from 2016-09-04 13-10-16
Creating a filter to send alarm email

you will have to create , save and run on the background to be enable 
to email alarms  as follows.

Screenshot from 2016-09-04 16-45-13

6 thoughts on “How to upgrade zoneminder 1.29 to 1.30 on Ubuntu 16.04

  1. Trying to add ppa:iconnor/zoneminder I get the following error:

    # add-apt-repository ppa:iconnor/zoneminder
    Cannot add PPA: ‘ppa:~iconnor/ubuntu/zoneminder’.
    ERROR: ‘~iconnor’ user or team does not exist.

  2. I have an error

    root@home-ubuntu:~# apt-get upgrade
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Calculating upgrade… Done
    The following packages have been kept back:
    zoneminder zoneminder-doc
    0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

    Any ideas?

    • Hi Max
      Please open the software center and find out the available version of Zoneminder.I think there may be some thing wrong with the zoneminder repository or the dependencies .Please run the following command on the Ubuntu terminal . sudo apt-get dist-upgrade
      If it fails uninstall zoneminder completely and try the procedure mentioned in this link

  3. I have 15 H.264 and MJPEG cameras. They killed my CPU when running under ZoneMinder. I found ZM was the closest to what I needed but I couldn’t use it due to lack of performance. So i started my own platform. Take a look 🙂

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s