ZM 1.32.3 (and 1.33.1) - bug on replay recorded JPEG images

Forum for questions and support relating to the 1.32.x releases only.
pms
Posts: 11
Joined: Sat Aug 24, 2019 3:59 pm

Re: ZM 1.32.3 (and 1.33.1) - bug on replay recorded JPEG images

Post by pms »

iconnor wrote: Fri Aug 30, 2019 1:12 pm Look guys,

I have fixed a lot of issues since 1.32. If you are having troubles, the first thing to do is upgrade to latest master. Then if still having troubles I can probably fix it pretty quick.

1.33 is not the big breaking upgrade that 1.32 was. More of a refinement.

Also I need more testers
Just like @liderbug I would like to beta-test but I don't know how to update to next version :(
(Also RaspPI 3b with buster)

The update function of ZM tells me:
"You are running the most recent version of ZoneMinder, v1.32.3. No update is necessary"
pat2
Posts: 156
Joined: Fri Sep 16, 2016 6:35 pm

Re: ZM 1.32.3 (and 1.33.1) - bug on replay recorded JPEG images

Post by pat2 »

Code: Select all

sudo add-apt-repository ppa:iconnor/zoneminder-master
sudo apt-get update
current version is 1.33.4 (2019.08.29, 18:04:27)
---------------------------------------------------------------------------
ZM 1.36.34 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04
pms
Posts: 11
Joined: Sat Aug 24, 2019 3:59 pm

Re: ZM 1.32.3 (and 1.33.1) - bug on replay recorded JPEG images

Post by pms »

pat2 wrote: Fri Aug 30, 2019 6:43 pm

Code: Select all

sudo add-apt-repository ppa:iconnor/zoneminder-master
sudo apt-get update
Thanks for your help Pat!
Unfortunately I get the message there is no template available for Raspbian/Buster:

Code: Select all

sudo add-apt-repository ppa:iconnor/zoneminder-master
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/buster
y52
Posts: 3
Joined: Thu Aug 29, 2019 6:58 pm

Re: ZM 1.32.3 (and 1.33.1) - bug on replay recorded JPEG images

Post by y52 »

iconnor wrote: Fri Aug 30, 2019 1:12 pm Look guys,

I have fixed a lot of issues since 1.32. If you are having troubles, the first thing to do is upgrade to latest master. Then if still having troubles I can probably fix it pretty quick.

1.33 is not the big breaking upgrade that 1.32 was. More of a refinement.

Also I need more testers
There is probably some error in forming the link to jpegs when opening the event for streaming.
As the logs show, the access path is malformed : [Capture file does not exist at /var/cache/zoneminder/events///00073-capture.jpg]


Aug 31 13:57:09 opiplus web_php[16669]: ERR [socket_sendto( /run/zm/zms-145401s.sock ) failed: Connection refused]
Aug 31 13:57:09 opiplus web_php[16670]: ERR [getCmdResponse stream error: socket_sendto( /run/zm/zms-145401s.sock ) failed: Connection refused - checkStreamForErrors()]
Aug 31 13:57:09 opiplus web_php[16674]: FAT [Event 337702 Not found]
Aug 31 13:57:09 opiplus web_php[16663]: ERR [Can't create frame images from video because there is no video file for event at /var/cache/zoneminder/events//]
Aug 31 13:57:09 opiplus web_php[16663]: ERR [Capture file does not exist at /var/cache/zoneminder/events///00073-capture.jpg]
Aug 31 13:57:09 opiplus web_php[10787]: FAT [Event 337702 Not found]
Aug 31 13:57:09 opiplus web_php[10755]: FAT [Event 337702 Not found]
Aug 31 13:57:09 opiplus web_php[16670]: FAT [Event 337702 Not found]


Compared to the video streaming, the access path is complete :
[Opening video storage stream /var/cache/zoneminder/events/1/2019-08-31/338404/338404-video.mp4 format: mp4]
User avatar
iconnor
Posts: 2882
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: ZM 1.32.3 (and 1.33.1) - bug on replay recorded JPEG images

Post by iconnor »

I should have buster packages available by tuesday. debian requires using zmrepo.zoneminder.com
y52
Posts: 3
Joined: Thu Aug 29, 2019 6:58 pm

Re: ZM 1.32.3 (and 1.33.1) - bug on replay recorded JPEG images

Post by y52 »

iconnor wrote: Sat Aug 31, 2019 4:43 pm I should have buster packages available by tuesday. debian requires using zmrepo.zoneminder.com
This would be great to explore!

Meanwhile, probably other errors from the jpegs streaming attempts will allow to debug :
Sep 01 12:55:41 opiplus zms_e337680[28854]: INF [zms_e337680] [Authenticated user 'admin']
Sep 01 12:55:41 opiplus zms_e337680[28854]: FAT [zms_e337680] [JPEGS not saved.zms is not capable of streaming jpegs from mp4 yet]
Sep 01 12:55:49 opiplus web_php[22244]: ERR [socket_sendto( /run/zm/zms-996128s.sock ) failed: Connection refused]
Sep 01 12:55:50 opiplus web_php[22244]: ERR [getCmdResponse stream error: socket_sendto( /run/zm/zms-996128s.sock ) failed: Connection refused - checkStreamForErrors()]
Sep 01 12:55:50 opiplus web_php[22244]: ERR [socket_sendto( /run/zm/zms-996128s.sock ) failed: Connection refused]
Sep 01 12:55:50 opiplus web_php[22244]: ERR [getCmdResponse stream error: socket_sendto( /run/zm/zms-996128s.sock ) failed: Connection refused - checkStreamForErrors()]
pat2
Posts: 156
Joined: Fri Sep 16, 2016 6:35 pm

Re: ZM 1.32.3 (and 1.33.1) - bug on replay recorded JPEG images

Post by pat2 »

Hi Isaac, after last update in log error
No filter found for SELECT * FROM `Filters` WHERE `Background` = 1 AND( `AutoArchive` = 1 or `AutoVideo` = 1 or `AutoUpload` = 1 or `AutoEmail` = 1 or `AutoMessage` = 1 or `AutoExecute` = 1 or `AutoDelete` = 1 or `UpdateDiskSpace` = 1 or `AutoMove` = 1 or `AutoCopy` = 1 ) ORDER BY `Name` with values()

and no count of recorded events = 0 even if there are recorded events.
---------------------------------------------------------------------------
ZM 1.36.34 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04
liderbug
Posts: 125
Joined: Wed Dec 19, 2007 4:46 pm

Re: ZM 1.32.3 (and 1.33.1) - bug on replay recorded JPEG images

Post by liderbug »

Status? If I remove and re-install on Buster will I get 1.33?

tks
futureechos
Posts: 10
Joined: Tue Mar 01, 2005 3:52 pm

Re: ZM 1.32.3 (and 1.33.1) - bug on replay recorded JPEG images

Post by futureechos »

I'm happy to help with testing.
1 Rasp Pi 3+, Debian 9.11, zoneminder 1.32.3

2 major issues:
- rtsp+libvlc doesn't work - capturing but no data rate (direct browser to sources both work)

- recorded events - no playback - similar issues to those seen by others (/dev/video0 and remote->Http/simple source work in montage - no playback)
playback has worked once or twice but then seems to stop -

Errors:
2019-09-13 12:59:27 web_php 2574 ERR socket_sendto( /var/run/zm/zms-456825s.sock ) failed: Connection refused /usr/share/zoneminder/www/includes/functions.php 2048
2019-09-13 12:59:27 web_js 2574 ERR getCmdResponse stream error: socket_sendto( /var/run/zm/zms-456825s.sock ) failed: Connection refused - checkStreamForErrors() ?view=event

Still on v1.32.3 at the mo -stubbornly trying to get rtsp sources working that are still working fine on another Pi running 1.29.0
LF-X
Posts: 3
Joined: Thu Aug 08, 2019 8:55 pm

Re: ZM 1.32.3 (and 1.33.1) - bug on replay recorded JPEG images

Post by LF-X »

Thanks to the post from linderbug I was able to fix the issue locally on my 1.32 installation by adding "rate=100" in "/usr/share/zoneminder/www/skins/classic/views/js/event.js" javascript functions as well as in two links in events.php in the classic skin.

Will update to a newer version anyway.

Thaks everyone!
Post Reply