Update ZoneMinder problem

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
sstars
Posts: 2
Joined: Mon Jun 01, 2020 7:32 am

Update ZoneMinder problem

Post 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???
sstars
Posts: 2
Joined: Mon Jun 01, 2020 7:32 am

Re: Update ZoneMinder problem

Post by sstars »

Problem solved, after restarting server several times and run sudo zmupdate.pl SQL was updated and now working properly.
User avatar
burger
Posts: 390
Joined: Mon May 11, 2020 4:32 pm

Re: Update ZoneMinder problem

Post by burger »

SQL updates can take a while. Monitor process with top/htop.
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl

If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
Post Reply