Page 1 of 1

Update ZoneMinder problem

Posted: Mon Jun 01, 2020 7:41 am
by sstars
Please help...

Ubuntu 18.04.4
After updating ZoneMinder I have an error:

ersion mismatch, system is version 1.34.15, database is 1.32.3.
Please run zmupdate.pl to update

When I try to run zmupdate.pl have this :

Initiating database upgrade to version 1.34.15 from version 1.32.3

Please ensure that ZoneMinder is stopped on your system prior to upgrading the database.
Press enter to continue or ctrl-C to stop :

Do you wish to take a backup of your database prior to upgrading?
This may result in a large file in /tmp/zm if you have a lot of events.
Press 'y' for a backup or 'n' to continue : y
Creating backup to /tmp/zm/zm-1.32.3.dump. This may take several minutes.
mysqldump: [Warning] Using a password on the command line interface can be insecure.

Please, have any idea???

Re: Update ZoneMinder problem

Posted: Tue Jun 02, 2020 10:57 am
by sstars
Problem solved, after restarting server several times and run sudo zmupdate.pl SQL was updated and now working properly.

Re: Update ZoneMinder problem

Posted: Fri Jun 05, 2020 3:08 am
by burger
SQL updates can take a while. Monitor process with top/htop.