Search found 7 matches
- Fri Feb 05, 2021 4:11 pm
- Forum: ZoneMinder 1.34.x
- Topic: [SOLVED] PHP upgrade problem
- Replies: 1
- Views: 27621
Re: PHP upgrade problem
Ok, found a solution. sudo mv /usr/share/webapps/zoneminder/www/api/lib/Cake /usr/share/webapps/zoneminder/www/api/lib/Cake-old #just in case git clone https://github.com/ZoneMinder/ZoneMinder/ mv ZoneMinder/web/api/lib/Cake/bootstrap.php.in ZoneMinder/web/api/lib/Cake/bootstrap.php sudo mv ...
- Mon Feb 01, 2021 4:20 pm
- Forum: ZoneMinder 1.34.x
- Topic: [SOLVED] PHP upgrade problem
- Replies: 1
- Views: 27621
[SOLVED] PHP upgrade problem
Hi all I am using Zoneminder 1.34.22 on Arch linux. Last week the PHP package has been updated to version 8.0 and now I can not access the Zoneminder's API (everything else works). I get this error in Apache log: AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Unknown named ...
- Sun Dec 13, 2020 10:41 am
- Forum: Mobile Apps and Event Server
- Topic: having issues getting hooks going
- Replies: 31
- Views: 50107
Re: having issues getting hooks going
The steps that lead me to my problems were the following: - I compiled and installed openCV - I found that import cv2 did not work - I added cv2 to PYTHONPATH adding PYTHONPATH=$PYTHONPATH:/usr/local/lib/python3.9/site-packages/ to /etc/environment Then executing zm_detect.py and zmeventnotification ...
- Sat Dec 12, 2020 11:46 am
- Forum: Mobile Apps and Event Server
- Topic: having issues getting hooks going
- Replies: 31
- Views: 50107
Re: having issues getting hooks going
Added some "echo" in zm_event_start.sh to understand what was going wrong and found that, when zm_detect.py was run from the daemon, it gave the "no module cv2" error. As a quick fix I added export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python3.9/site-packages/ at top of zm_event_start.sh and now it ...
- Thu Dec 10, 2020 8:49 pm
- Forum: Mobile Apps and Event Server
- Topic: having issues getting hooks going
- Replies: 31
- Views: 50107
Re: having issues getting hooks going
Any other hint for me to find where is the problem? Something more that I can check?
- Sun Dec 06, 2020 9:15 am
- Forum: Mobile Apps and Event Server
- Topic: having issues getting hooks going
- Replies: 31
- Views: 50107
Re: having issues getting hooks going
sudo -u http '/var/lib/zmeventnotification/bin/zm_event_start.sh' 21055 2 "Interno-1" "Motion Ingresso-1" "/var/lib/zoneminder/events/2/2020-12-05/21055" [a] detected:truck:39% --SPLIT--[{"type": "object", "label": "truck", "box": [802, 539, 1006, 675], "confidence": "38.84%"}] That is all the ...
- Sat Dec 05, 2020 11:08 am
- Forum: Mobile Apps and Event Server
- Topic: having issues getting hooks going
- Replies: 31
- Views: 50107
Re: having issues getting hooks going
Hi I can not get what is going wrong, so need some help. The server runs fine when manually executed, but fails when run in daemon mode. Using sudo -u http /usr/bin/zmeventnotification.pl --debug (yes, the user is http ) everything runs fine, I even get zmNinja notifications. I tryed to follow the ...