LinHES Forums
http://forum.linhes.org/

Updating zoneminder to 1.30.0 on 8.4.1
http://forum.linhes.org/viewtopic.php?f=24&t=24589
Page 1 of 1

Author:  bobmyth [ Tue Nov 08, 2016 9:03 pm ]
Post subject:  Updating zoneminder to 1.30.0 on 8.4.1

I updated my packages yesterday and had trouble with zoneminder. Here's the fix:
Code:
sudo -i
cd /etc/sv
sv stop zoneminder
zmupdate.pl
su - mysql
mysql -h localhost zm
mysql -h localhost zm < /usr/share/zoneminder/db/zm_update-1.28.99.sql
zmupdate.pl
mysql -h localhost zm < /usr/share/zoneminder/db/zm_update-1.28.108.sql
zmupdate.pl
sv start zoneminder

The reason I ran this repeated is that the "zmuser" did not have enough privileges to create tables so I would get an error and then apply the update manually. There's probably a better way to do this.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/