Page 1 of 1

Upgrade ZM 1.34 to 1.36 Ubuntu 20.04

Posted: Sat May 15, 2021 7:16 pm
by bbunge
Did a test upgrade from 1.34.26 to 1.36.0 on Ubuntu 20.04.

Note: if you are upgrading a production machine make a backup of the ZM database!

If you added the Zoneminder 1.34 PPA with the command "add-apt-repository ppa:iconnor/zoneminder-1.34" you can easily change the settings in Ubuntu.
In Focal edit the file:
/etc/apt/sources.list.d/iconnor-ubuntu-zoneminder-1_34-focal.list

Note: Change focal to the name of your Ubuntu distro.

Change the first line from:
deb http://ppa.launchpad.net/iconnor/zoneminder-1.34/ubuntu focal main
to
deb http://ppa.launchpad.net/iconnor/zoneminder-1.36/ubuntu focal main

Then run
apt update
apt upgrade

Notes on upgrade from iconnor:
The database upgrade can take a long time if you have a lot of events, or log entries because there are table structure changes.
Any third party scripts that rely on Events.StartTime or Events.EndTime will have to be updated to reference Events.StartDateTime and Events.EndDateTime.

The db update SHOULD move the value from ImageBufferCount to MaxImageBufferCount and set ImageBufferCount to 3. If it doesn't, please update them manually. 3 is the recommended minimum for ImageBufferCount. If you have choppy live view, try increasing it to 4 or 5. You may need to increase MaxImageBufferCount.

Re: Upgrade ZM 1.34 to 1.36 Ubuntu 20.04

Posted: Sun May 16, 2021 12:24 am
by SteveGilvarry
Thanks bbunge I have stuck this to keep it at the top of topics.

Re: Upgrade ZM 1.34 to 1.36 Ubuntu 20.04

Posted: Mon May 17, 2021 9:47 am
by lbm
When can we expect packages being ready on the zoneminder repo, https://zmrepo.zoneminder.com/debian/release-1.36/ ? :D