Upgrade ZM 1.34 to 1.36 Ubuntu 20.04

Discussions related to the 1.36.x series of ZoneMinder
Locked
bbunge
Posts: 2951
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Upgrade ZM 1.34 to 1.36 Ubuntu 20.04

Post 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.
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: Upgrade ZM 1.34 to 1.36 Ubuntu 20.04

Post by SteveGilvarry »

Thanks bbunge I have stuck this to keep it at the top of topics.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
lbm
Posts: 89
Joined: Mon Mar 26, 2018 7:44 pm

Re: Upgrade ZM 1.34 to 1.36 Ubuntu 20.04

Post by lbm »

When can we expect packages being ready on the zoneminder repo, https://zmrepo.zoneminder.com/debian/release-1.36/ ? :D
Locked