Gapless playback does not work after upgrade to 1.35.6

Previous development branch now released as 1.36
Locked
raymondpapaux
Posts: 4
Joined: Mon Jan 21, 2019 6:31 pm

Gapless playback does not work after upgrade to 1.35.6

Post by raymondpapaux »

I have upgraded my ubutu system from 18.04 LTS to 20.4 LTS.
During the upgrade procedure the command apt-get upgrade has also upgraded the zoneminder application from 1.34.x to 1.35.6
Since then few things do not work anymore:
- I cannot view my events on GAPLESS mode (however it works one by one)
- event deletion sometimes does not work (retry is always necessary)
- the new version produces a lot of errors (see extract below):

web_php[113901].ERR [192.168.1.80] [socket_sendto( /run/zm/zms-122709s.sock ) failed:
Connection refused] at /usr/share/zoneminder/www/includes/functions.php line 1947

web_js[113901].ERR [192.168.1.80] [getCmdResponse stream error: socket_sendto( /run/zm/zms-122709s.sock ) failed:
Connection refused - checkStreamForErrors()] at ?view=event line

09/12/20 17:39:42.432592 zms_e21576[115533].ERR-zm_eventstream.cpp/702 [Can't open /var/cache/zoneminder/events/1/2020-09-12/21576/04097-capture.jpg: No such file or directory]
< multiples dozen of lines for each event read...>
09/12/20 17:39:42.707556 zms_e21576[115533].ERR-zm_eventstream.cpp/702 [Can't open /var/cache/zoneminder/events/1/2020-09-12/21576/04113-capture.jpg: No such file or directory]
09/12/20 17:39:42.757427 zms_e21576[115533].ERR-zm_signal.cpp/52 [Got signal 11 (Segmentation fault), crashing]
09/12/20 17:39:42.841106 zms_e21576[115533].ERR-zm_signal.cpp/83 [Signal address is 0x55d95d413018, from 0x55d95757df22]
09/12/20 17:39:42.891270 zms_e21576[115533].ERR-zm_signal.cpp/104 [Backtrace 0: /usr/lib/zoneminder/cgi-bin/nph-zms(_Z14zm_die_handleriP9siginfo_tPv+0x78) [0x55d9575fab18]]
09/12/20 17:39:42.999305 zms_e21576[115533].ERR-zm_signal.cpp/104 [Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0) [0x7f17f4e403c0]]
09/12/20 17:39:43.141146 zms_e21576[115533].ERR-zm_signal.cpp/104 [Backtrace 2: /usr/lib/zoneminder/cgi-bin/nph-zms(_ZN11EventStream9runStreamEv+0xbe2) [0x55d95757df22]]
09/12/20 17:39:43.241326 zms_e21576[115533].ERR-zm_signal.cpp/104 [Backtrace 3: /usr/lib/zoneminder/cgi-bin/nph-zms(main+0xa7b) [0x55d957561c4b]]
09/12/20 17:39:43.399700 zms_e21576[115533].ERR-zm_signal.cpp/104 [Backtrace 4: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f17f19520b3]]
09/12/20 17:39:43.449628 zms_e21576[115533].ERR-zm_signal.cpp/104 [Backtrace 5: /usr/lib/zoneminder/cgi-bin/nph-zms(_start+0x2a) [0x55d95756364a]]

I did not make any change after the upgrade.
Shall I go through the installation procedure once again?
Thanks
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Gapless playback does not work after upgrade to 1.35.6

Post by Magic919 »

The safe option is to get back to 1.34.x as that’s the safe version. 1.35.6 has a lot of development going on and things are expected to break from time to time. You’ll have jumped to master I expect. Someone did the same the other day.
-
raymondpapaux
Posts: 4
Joined: Mon Jan 21, 2019 6:31 pm

Re: Gapless playback does not work after upgrade to 1.35.6

Post by raymondpapaux »

Thanks for the advise.
What is the best way to return to 1.34x? Is there a rollback back procedure, or shall I just reinstall it over.
Bear in mind that I'm know running ubuntu version 20.04.1 LTS with new mysql (and other packages) version.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Gapless playback does not work after upgrade to 1.35.6

Post by Magic919 »

I don't actively run on Ubuntu.

General advice would be to install the old version over the newer one.

If you backed up the DB pre-upgrade, then restore it next. You can just configure from scratch if not. You might be able to fudge the newer DB with the older version, but that depends on what changed. Newer tables will generally just get ignored, but updated ones _may_ cause problems.
-
Locked