Page 1 of 2

Event notification

Posted: Tue Nov 12, 2019 6:05 pm
by cafftab
Hi

I have a working zoneminder at 1.32.3 with notification going out to zmninja but the notification server stops somewhat randomly and doesn't restart until I restart zoneminder then it works again for hours sometimes days. I understand from the installation instructions that this version of zm (above 1.32.0) that you don't need to edit /usr/bin/zmdc.pl so I didn't do it. I think allows the system to check to see if daemons are running and restarts them, could that be needed? Looking for suggestions.

Thanks

Re: Event notification

Posted: Wed Nov 13, 2019 8:41 pm
by asker
1. Make sure you are on the latest ES
2. I've seen this happen at times (not as frequently as you report). ZM just stops reporting events on SHM even if I update the SHM handles on the ES. Not really sure why

Re: Event notification

Posted: Thu Nov 14, 2019 6:20 pm
by cafftab
Currently running 3.6 isn't that the current version if running zoneminder at 1.32.3?

Re: Event notification

Posted: Fri Nov 15, 2019 7:13 pm
by asker
3.6 of the ES? No, we are at 4.5 now.
https://github.com/pliablepixels/zmeven ... ion.pl#L62

Re: Event notification

Posted: Mon Nov 18, 2019 4:47 pm
by cafftab
Thanks for the tip, I upgraded to 4.5 and other than not saving bbox files to my image directory, (which I see could be related to not being at 1.33) I still have the same thing happening. I didn't notice before but I can see a log saying "EventSever: Failed to connect to WebSocket: code: 1006, reason: undefined, exception: The operation couldn’t be completed. Operation timed out"

Does that mean anything or should I report the issue via through the app

Re: Event notification

Posted: Wed Nov 20, 2019 5:59 pm
by cafftab
Update on my issues, I upgraded to 133 and everything seems more stable. Objects even license plates are detected. Thanks to asker for the tips linked in his/her signature, I have reduced the load on my system and smearing is not as bad. I even get a thumbnails in the zmninja notification on my phone. If it holds I can stop sending alarm emails to myself.

Re: Event notification

Posted: Wed Nov 20, 2019 6:01 pm
by asker
Well, keep me updated.
For some reason, I see the ES "just stopping" after several hours. I haven't found the issue yet (still debugging).

Re: Event notification

Posted: Thu Nov 21, 2019 5:11 pm
by cafftab
opps spoke to soon ES stopped responding again, lasted longer (maybe?) If there was a log file from me you think would help let me know which one and I would be happy to send it to you. It appears that when I sudo zmdc.pl status zmeventnotification.pl it's running but I will confirm that the next time it happens.

Re: Event notification

Posted: Thu Nov 21, 2019 7:09 pm
by asker
I think the issue has been found. Stay tuned (will know tomorrow)

Re: Event notification

Posted: Fri Nov 22, 2019 3:54 pm
by asker
Still working on it. Fixes last night did not work. If its not solved by tomorrow, we may have to wait a week. I am out all of the coming week.

Re: Event notification

Posted: Wed Dec 04, 2019 8:11 pm
by cafftab
Hi. I was wondering if there is a fix for this issue yet?

Re: Event notification

Posted: Wed Dec 04, 2019 9:39 pm
by asker
Yes, a hack, but it works
Please follow https://github.com/pliablepixels/zmeven ... issues/175

Re: Event notification

Posted: Wed Dec 04, 2019 10:44 pm
by cafftab
Great, I upgraded ES to 4.7 Hopefully that will cure it for now

Re: Event notification

Posted: Fri Dec 06, 2019 12:49 am
by cafftab
Nope, it stopped overnight, if I were to shorten the restart time do I have to do it in both the zmnotification.pl and zmnotification.ini ? I see there is a new zoneminder build should I upgrade or get this working first?

Re: Event notification

Posted: Fri Dec 06, 2019 1:07 am
by asker
It should restart every 2 hrs. Make sure your debug logs say so. If not your upgrade did not work.