Upgrade ZM 1.34 to 1.36 Ubuntu 20.04
Posted: Sat May 15, 2021 7:16 pm
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.
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.