the package has been pulled from unstable. Regular interface is working fine, camera-'streams' are visible too.
But I cant access the api with zmNinja. The login-validation succeeds, but then stops with Error: Login validated but API failed.
apache2/conf-enabled/zoneminder.conf:
Code: Select all
# Remember to enable cgi mod (i.e. "a2enmod cgi").
ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
<Directory "/usr/lib/zoneminder/cgi-bin">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride All
Require all granted
</Directory>
Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder/www>
Options Indexes FollowSymLinks
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</Directory>
<Directory /usr/share/zoneminder/www/api>
AllowOverride All
</Directory>
Code: Select all
<Directory />
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<Directory /usr/share>
AllowOverride All
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Symbolic-links are set too
PATH_ZMS in Zoneminder is set to: /zm/cgi-bin/nph-zms
http://serverip/zm/api shows all green except Debug
http://serverip/zm/api/host/getVersion.json returns 1.30 and 1.0 for API
I checked all permissions of the filesystem and they are writable for www-data.
when running from a browser: "http://<srv-ip>/zm/cgi-bin" the return is: Permission denied.
Has anyone a hint what else could cause this behaviour?