Page 1 of 1

Zoneminder 1.37.x on Debian 12 Bookworm

Posted: Sat Nov 04, 2023 7:14 pm
by bbunge
I've added an install procedure with a script to the WIKI.

https://wiki.zoneminder.com/Debian_12_B ... der_1.37.x

I've done this on my home ZM system and it is working very well!

Re: Zoneminder 1.37.x on Debian 12 Bookworm

Posted: Wed Feb 07, 2024 10:02 pm
by alabamatoy
Will this work on Ubuntu 22?

Re: Zoneminder 1.37.x on Debian 12 Bookworm

Posted: Thu Feb 08, 2024 12:47 am
by dougmccrary
The existing Ubuntu ones work - just change the source around line 13, (add-apt) to zoneminder-master.

Re: Zoneminder 1.37.x on Debian 12 Bookworm

Posted: Sat Feb 10, 2024 11:48 am
by fontiano
bbunge wrote: Sat Nov 04, 2023 7:14 pm I've added an install procedure with a script to the WIKI.

https://wiki.zoneminder.com/Debian_12_B ... der_1.37.x

I've done this on my home ZM system and it is working very well!
I'm trying to get 1.37.50 to work on nginx on Debian 12 but I can't.

You tried?

I share my working configuration (in 1.34.x):

###############
zoneminder.conf
###############
location /zm/cgi-bin {
auth_basic off;

alias /usr/lib/zoneminder/cgi-bin;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_param HTTP_PROXY "";
fastcgi_pass unix:/var/run/fcgiwrap.socket;

}
location /zm/cache {
auth_basic off;
alias /var/cache/zoneminder/cache;
}
location ~ /zm/api/(css|img|ico) {
auth_basic off;
rewrite ^/zm/api(.+)$ /api/app/webroot/$1 break;
try_files $uri $uri/ =404;
}
location /zm {
#auth_basic "Go away.";
#auth_basic_user_file /etc/nginx/auth/video;
alias /usr/share/zoneminder/www;
try_files $uri $uri/ /index.php?$args =404;
location /zm/api {
rewrite ^/zm/api(.+)$ /zm/api/app/webroot/index.php?p=$1 last;
}
location ~ \.php$ {
auth_basic off;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_param HTTP_PROXY "";
fastcgi_index index.php;
fastcgi_pass unix:/run/php/php8.2-fpm.sock;
}
}


No errors on nginx logs but I can't see images or camera streaming

EDIT:

To fix the problem I needed to install fcgiwrap service

apt install fcgiwrap