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!
Zoneminder 1.37.x on Debian 12 Bookworm
-
- Posts: 360
- Joined: Sun Jun 05, 2016 2:53 pm
Re: Zoneminder 1.37.x on Debian 12 Bookworm
Will this work on Ubuntu 22?
-
- Posts: 1322
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Zoneminder 1.37.x on Debian 12 Bookworm
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
I'm trying to get 1.37.50 to work on nginx on Debian 12 but I can't.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!
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
Production: zm 1.34.26 - Debian 11 | Test: zm 1.36.33 - Debian 12