Zoneminder 1.37.x on Debian 12 Bookworm

Current Development version likely to have breaking changes
Post Reply
bbunge
Posts: 2951
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Zoneminder 1.37.x on Debian 12 Bookworm

Post 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!
alabamatoy
Posts: 360
Joined: Sun Jun 05, 2016 2:53 pm

Re: Zoneminder 1.37.x on Debian 12 Bookworm

Post by alabamatoy »

Will this work on Ubuntu 22?
dougmccrary
Posts: 1322
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Zoneminder 1.37.x on Debian 12 Bookworm

Post by dougmccrary »

The existing Ubuntu ones work - just change the source around line 13, (add-apt) to zoneminder-master.
fontiano
Posts: 68
Joined: Wed Dec 25, 2019 10:29 am

Re: Zoneminder 1.37.x on Debian 12 Bookworm

Post 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
Production: zm 1.34.26 - Debian 11 | Test: zm 1.36.33 - Debian 12
Post Reply