Installed on archlinux (manjaro) from here: https://aur.archlinux.org/packages/zoneminder
I had a previous version installed that was working, but when I initially set it up I remember I wasted 2-3 hours until I figured out how to get the API working so I can use zmninja. Now I can't remember what I did, but i think it had something to do with the API path in nginx. Although looking at the old nginx config file for zoneminder, I changed nothing from the default provided with the AUR package.
curl -X POST -d "user=admin&pass=whatever" http://192.168.1.23:8095/api/ yield no result.
I have API Enabled ticked in the API tab in options. User is the default admin which has API access.
I tried both /api and /zm/api paths with cur/zmninja.
With the previous versions I had some weird issues:
1. Sometimes 1 to 3 cameras would show a stream from the past, delayed up to a coupe of hours! Have no idea how is this was possible and where the temporary stream was stored (128GB RAM, maybe there). Was not a camera issue.
2. I got visual glitches intermitently on almost all cameras. Never had this on direct RTSP stream.
3. Sometimes the cameras would not show up on zmninja anymore and I had to restart fcgiwrap-multiwatch service (which took up to a minute).
This is probably a packaging related issue though.
And I haven't even enabled motion detection ( no point with so many basic issues present)
1.36.24 - Can't figure out how to get API working.
Re: 1.36.24 - Can't figure out how to get API working.
Found the fix. php-apcu was not enabled in /etc/php/conf.d/acpu.ini
No idea why it's not a dependency of a zoneminder package. Probably was before in the past.
No idea why it's not a dependency of a zoneminder package. Probably was before in the past.
Re: 1.36.24 - Can't figure out how to get API working.
There are notes suggesting it was removed here https://aur.archlinux.org/cgit/aur.git/ ... 41411fb7d4 Found the reference here - https://aur.archlinux.org/packages/zoneminder
-