Hello,
I use Zoneminder for a long time. Recently, I have upgraded my master
zoneminder server (as I have some issues with Mesa) and Zoneminder was
upgraded to 1.32.3 (2:1.32.3-dmo2).
This master server runs Debian/Buster on an amd64.
Some cameras are connected to rPI-3 and I have upgraded Raspbian as I
have seen that Raspbien provides zoneminder 1.32.3-2 also. I have
upgraded Zoneminder's database schema from a rPI with zmupdate.pl and I
can run a slave server on all rPI.
When I try to start zoneminder on master server, zm returns :
Apr 3 19:29:10 hilbert systemd[1]: Starting ZoneMinder CCTV recording
and surveillance system...
Apr 3 19:29:10 hilbert zmpkg[2355]: INF [Command: start]
Apr 3 19:29:10 hilbert zmpkg[2355]: INF [Sanity checking States table...]
Apr 3 19:29:10 hilbert zmpkg[2355]: INF [Command: start]
Apr 3 19:29:10 hilbert zmpkg[2355]: FAT [Version mismatch, system is
version 1.32.2, database is 1.32.3, please run zmupdate.pl to update.]
Apr 3 19:29:10 hilbert zmpkg.pl[2355]:
DBI::db=HASH(0x563f926ca3d8)->disconnect invalidates 2 active statement
handles (either destroy statement handles or call finish on them before
disconnecting) at /usr/share/perl5/ZoneMinder/Database.pm line 128.
Apr 3 19:29:10 hilbert systemd[1]: zoneminder.service: Control process
exited, code=exited, status=255/EXCEPTION
Apr 3 19:29:10 hilbert systemd[1]: zoneminder.service: Failed with
result 'exit-code'.
Apr 3 19:29:10 hilbert systemd[1]: Failed to start ZoneMinder CCTV
recording and surveillance system.
I don't understand, but I have tried to run zmupdate.pl :
root@hilbert:/etc# zmupdate.pl
Initiating database upgrade to version 1.32.2 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 : ^C
Thus, database runs fine with 1.32.3 from rPI as database schema is
1.32.3 also. But why is Zoneminder 1.32.3 on Debian complaining ? I
don't understand why it want to downgrade database schema from 1.32.3 to
1.32.2 while zoneminder release is 1.32.3 !
Best regards,
JKB