Upgrade Zoneminder 1.26.5 to 1.28.0 on Ubuntu 14.04
Note: do this from a console or terminal!
Add Repository
apt-get install python-software-properties
add-apt-repository ppa:iconnor/zoneminder
apt-get update
Upgrade Zoneminder and install new packages
apt-get dist-upgrade
You will get a message to replace the configuration file /etc/init.d/zoneminder Choose Y or I to install the package maintainers version.
Add delay to allow MySQL to start before Zoneminder
nano /etc/init.d/zoneminder
Add sleep 15 as shown:
start() {
sleep 15
echo -n "Starting $prog: "
Ctrl+o Enter to save
CTRL+x to exit
You will need to install "extra" VLC components to run Libvlc (verified 20OCT14)
apt-get install libvlc-dev libvlccore-dev vlc
There is a slight bug that causes the screen to not refresh when a camera is added. In a terminal
edit file:
sudo nano /usr/share/zoneminder/skins/classic/js/skin.js
search for and remove line:
window.addEvent( 'domready', checkSize);
(should be line 89)
add the line to the end of the file as shown below:
{
windowToFront();
}
window.addEvent( 'domready', checkSize);
Save the edited file (CTRL+o then CTRL+x)
Restart Zoneminder