Hello everybody,
Zoneminder 1.36.33
Debian 12
I just installed zoneminder, works well but then I tried to follow api and zmninja installation but I can't get this to work due that on my zm/api path there is no such file monitor.json or host dir.
Is a chance that someone can give me a hint what to do? I just follow standard installation form official ZoneMinderr documetnation on Debian 12 but in "/usr/share/zoneminder/www/api dirrectory no such files and dirrectories likemonitor.json or host dir.
.
Thank you
http://server/zm/api/monitors.json - no such file
Re: http://server/zm/api/monitors.json - no such file
What does the contents of /usr/share/zoneminder/www/api look like? Are the files missing or is the web server (Apache ?) not correctly configured.
Are the web server configurations like alias's correctly set for accessing the directory /usr/share/zoneminder/www/api ?
Seems likely that the alias is not set up.
Are the web server configurations like alias's correctly set for accessing the directory /usr/share/zoneminder/www/api ?
Seems likely that the alias is not set up.
Re: http://server/zm/api/monitors.json - no such file
for me are file and directories missing
content of /usr/share/zoneminder/www/api:
Dan
Just add there is nothing else on that linux beside that is on proxmox Debian 12 VM fresh install and from zoneminder website installation and guide 1.36.33
content of /usr/share/zoneminder/www/api:
content of /etc/apache2/conf-enabled/zoneminder.conf:zmuser@zm:/usr/share/zoneminder/www/api$ ls
app build.properties build.xml composer.json CONTRIBUTING.md css img index.php lib README.md
Thank you for your support# 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>
# Order matters. This alias must come first.
Alias /zm/cache "/var/cache/zoneminder"
<Directory "/var/cache/zoneminder">
Options -Indexes +FollowSymLinks
AllowOverride None
<IfModule mod_authz_core.c>
# Apache 2.4
Require all granted
</IfModule>
</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>
Dan
Just add there is nothing else on that linux beside that is on proxmox Debian 12 VM fresh install and from zoneminder website installation and guide 1.36.33
Re: http://server/zm/api/monitors.json - no such file
debian's apache conf file is generally not good enough.
This is what we ship:
# Remember to enable cgi mod (i.e. "a2enmod cgi").
This is what we ship:
# Remember to enable cgi mod (i.e. "a2enmod cgi").
Code: Select all
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>
# Order matters. This alias must come first.
Alias /zm/cache /var/cache/zoneminder/cache
<Directory /var/cache/zoneminder/cache>
Options -Indexes +FollowSymLinks
AllowOverride None
<IfModule mod_authz_core.c>
# Apache 2.4
Require all granted
</IfModule>
</Directory>
Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder/www>
Options -Indexes +FollowSymLinks
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</Directory>
# For better visibility, the following directives have been migrated from the
# default .htaccess files included with the CakePHP project.
# Parameters not set here are inherited from the parent directive above.
<Directory "/usr/share/zoneminder/www/api">
RewriteEngine on
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
RewriteBase /zm/api
</Directory>
<Directory "/usr/share/zoneminder/www/api/app">
RewriteEngine on
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
RewriteBase /zm/api
</Directory>
<Directory "/usr/share/zoneminder/www/api/app/webroot">
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
RewriteBase /zm/api
</Directory>
Re: http://server/zm/api/monitors.json - no such file
Thanks for reply iconnor
I've pasted your update and is working. thanks so much
What was strange, is that when installing Debian 12 VM I've installed without GUI and without www server option to have apache installation exactly how zoneminder provides when installing zoneminder. I specially was paying attention for that step during Deb inst..
I had a theft, pretty sad due that I'm breeder and they've stolen my most precious dog from my and my wife kennel. Fortunately we found him. So now I need to install 30 cameras
I have already bought 32 used grandstream GXV3672_FHD and I'm trying to make it. Already installed 8 and now checking system performance and demands and there is quite to learn for me about zm before this system will handle well 30 cameras.
What are your experience what parameters should have hw to handle 30 full hd cameras when well tweaked about performance?
Thanks a lot
Dan
I've pasted your update and is working. thanks so much
What was strange, is that when installing Debian 12 VM I've installed without GUI and without www server option to have apache installation exactly how zoneminder provides when installing zoneminder. I specially was paying attention for that step during Deb inst..
I had a theft, pretty sad due that I'm breeder and they've stolen my most precious dog from my and my wife kennel. Fortunately we found him. So now I need to install 30 cameras

What are your experience what parameters should have hw to handle 30 full hd cameras when well tweaked about performance?
Thanks a lot
Dan
Re: http://server/zm/api/monitors.json - no such file
I would try to stream those 30 cameras with the secondary stream at 720p or less resolution for normal operation and perhaps go to the primary HD stream for recording events or triggered alarm to reduce CPU and RAM loads.
Do motion detection on only select cameras and link cameras to them during event alarms or use remote motion detectors (like X10) to trigger Zoneminder to record events.
Start by using a lesser resolution for regular streaming and motion detection or not and then trying out a few HD 1080p resolution monitors to see the impact. Perhaps only high priority cameras at primary streams at high res.
P.S. that must have been some tense moments until you found the dog and got her back. I understand why 30 cameras. They seem to be decent.
Do motion detection on only select cameras and link cameras to them during event alarms or use remote motion detectors (like X10) to trigger Zoneminder to record events.
Start by using a lesser resolution for regular streaming and motion detection or not and then trying out a few HD 1080p resolution monitors to see the impact. Perhaps only high priority cameras at primary streams at high res.
P.S. that must have been some tense moments until you found the dog and got her back. I understand why 30 cameras. They seem to be decent.
Re: http://server/zm/api/monitors.json - no such file
Thanks, I will need to play a little I can see.
I think that many users here have their own story why they are here. My was super lucky, I found him, was already in another city transported, 2600 shares on fb and because that was touristic area one of the person who got annoucement call us..
ufff... Maybe I should try to start play superball ?
or go to Las Vegas? 
Thanks!
Dan
I think that many users here have their own story why they are here. My was super lucky, I found him, was already in another city transported, 2600 shares on fb and because that was touristic area one of the person who got annoucement call us..



Thanks!
Dan