Page 1 of 1

Runaway errors after deleting events - ZoneMinder 1.34.9

Posted: Sat May 16, 2020 6:17 am
by remembermyname2000
Greetings,
While in the events page of a camera, I can view the event but if I delete an event during playback, the logs will fill with non-stop log errors for that event over and over like so:

Code: Select all

020-05-16 01:57:56	zms_e1496		100392	ERR	Can't open /var/db/zoneminder/events/3/2020-05-15/1496/00179-capture.jpg: No such file or directory	zm_eventstream.cpp	679
2020-05-16 01:57:56	zms_e1496		100392	ERR	Can't open /var/db/zoneminder/events/3/2020-05-15/1496/00179-capture.jpg: No such file or directory	zm_eventstream.cpp	679
2020-05-16 01:57:56	zms_e1496		100392	ERR	Can't open /var/db/zoneminder/events/3/2020-05-15/1496/00179-capture.jpg: No such file or directory	zm_eventstream.cpp	679
2020-05-16 01:57:56	zms_e1496		100392	ERR	Can't open /var/db/zoneminder/events/3/2020-05-15/1496/00179-capture.jpg: No such file or directory	zm_eventstream.cpp	679

...
I restarted ZoneMinder with no change in behavior of the logs. I then, stopped it altogether yet the errors continue log after. This will stop if I restart the server altogether. Run_Audit has not been enabled. I've looked for other posts that may contain this issue but I wasn't able to pull much. Please advise.

Code: Select all

ZoneMinder 1.34.9
Compiled from ports

$ uname -a
FreeBSD ZM 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC  amd64

Re: Runaway errors after deleting events - ZoneMinder 1.34.9

Posted: Tue May 19, 2020 9:37 pm
by remembermyname2000
However, I have not experienced this when deleting events from the events listing page for any camera.

Re: Runaway errors after deleting events - ZoneMinder 1.34.9

Posted: Wed May 20, 2020 11:12 pm
by knight-of-ni
Moved to the 1.34.x forum....

Re: Runaway errors after deleting events - ZoneMinder 1.34.9

Posted: Thu May 21, 2020 6:51 am
by gruiarew
If you delete the event while watching it will fill the logs with "unable to find the event". Only restarting apache will stop that.
However if you let the movie till the end, then you delete it will also be fixed.

Another thing, if the event is mp4, and if you disable the jpeg saving (from the monitor definition) this situation will not occur anymore.

Re: Runaway errors after deleting events - ZoneMinder 1.34.9

Posted: Thu May 21, 2020 10:17 pm
by remembermyname2000
Moved to the 1.34.x forum....
Doh! :oops:
If you delete the event while watching it will fill the logs with "unable to find the event". Only restarting apache will stop that.
However if you let the movie till the end, then you delete it will also be fixed.
I did that too. Running Nginx tho. Then, estarted php-fpm, mysql, then ZoneMinder to no avail. Eventually restarting the machine stops this.

Re: Runaway errors after deleting events - ZoneMinder 1.34.9

Posted: Thu May 21, 2020 11:51 pm
by iconnor
I'll take a look for 1.34.16. This was reported before but I havn't had time to look at it.

I would imagine it's a simple thing to fix... just stop streaming before doing the actual delete.

Re: Runaway errors after deleting events - ZoneMinder 1.34.9

Posted: Fri May 22, 2020 1:52 am
by remembermyname2000
However if you let the movie till the end, then you delete it will also be fixed.
just stop streaming before doing the actual delete.
Thanks for the quick reply guys but I forgot to add. I did that as well and still the same. I'll just delete from the event listing for now as this doesn't create the errors.

Re: Runaway errors after deleting events - ZoneMinder 1.34.9

Posted: Fri May 22, 2020 8:32 pm
by gruiarew
Disable jpen saving and just save it as movie. for me that did the trick. Was quite annoying as was watching them from the phone...