Ubuntu 24.04 LTS and API issues

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
ramiroelliot
Posts: 1
Joined: Wed Oct 16, 2024 2:46 am

Ubuntu 24.04 LTS and API issues

Post by ramiroelliot »

I installed Zoneminder 1.36.33 that comes with Ubuntu 24.04 LTS in the default package repository. Can get the web UI working perfectly with multiple cameras. However the /zm/api routes always send 404. So the API isn’t working. I have followed the zmNinja docs and got all the options enabled for the API and authentication, hash secret it setup etc. The chmod for www-data has been done in /usr/share/zoneminder/www folder too. Tried disabling authentication and test the API locally with curl and it still didn’t work.
User avatar
burger
Posts: 447
Joined: Mon May 11, 2020 4:32 pm

Re: Ubuntu 24.04 LTS and API issues

Post by burger »

Late response, but I'll respond for those who are using the phpbb search. Double check the apache configuration.

https://wiki.zoneminder.com/API#Example ... inder.conf
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl

If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
Post Reply