Yes. See post above.
Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
I rebuilt my server today with a fresh install of Bookworm and installed Zoneminder per the WIKI install procedure. I had no problems and was able to configure Zoneminder as it was on Debian 11 and it seems that all is well! I must admit that I did not test features I do not use but Zoneminder works the way I expect it to work. ZmNinja also works.
FWIW: besides Zoneminder, with Mariadb, Apache2 and PHP 8.2, I installed Webmin, UFW, fail2ban, APCUPSD and certbot (to get a Lets Encrypt cert). I recently beefed up the server security as I have ports open to it through the router firewall and several hacking attempts have been recorded.
FWIW: besides Zoneminder, with Mariadb, Apache2 and PHP 8.2, I installed Webmin, UFW, fail2ban, APCUPSD and certbot (to get a Lets Encrypt cert). I recently beefed up the server security as I have ports open to it through the router firewall and several hacking attempts have been recorded.
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
Hi,
I noticed the zoneminder.conf on this page https://wiki.zoneminder.com/Debian_12_B ... er_1.36.33 has been updated and the quotes for the alias has been amended.
Should this part:
Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder/www>
also have quotes so it is consistent with the rest of the configuration. IE changed to this:
Alias /zm "/usr/share/zoneminder/www"
<Directory "/usr/share/zoneminder/www">
I noticed the zoneminder.conf on this page https://wiki.zoneminder.com/Debian_12_B ... er_1.36.33 has been updated and the quotes for the alias has been amended.
Should this part:
Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder/www>
also have quotes so it is consistent with the rest of the configuration. IE changed to this:
Alias /zm "/usr/share/zoneminder/www"
<Directory "/usr/share/zoneminder/www">
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
Mine is working with these:-
I haven't tried with adding or removing quotes.
Code: Select all
ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
<Directory "/usr/lib/zoneminder/cgi-bin">
Alias /zm/cache /var/cache/zoneminder
<Directory /var/cache/zoneminder>
Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder/www>
<Directory "/usr/share/zoneminder/www/api">
<Directory "/usr/share/zoneminder/www/api/app">
<Directory "/usr/share/zoneminder/www/api/app/webroot">
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
Mine is working with this:
# 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>
# 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>
# 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>
# 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: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
A quick search for Linux Alias commands shows the quotes may be required. I will ping iconnor on this.ubeaut wrote: ↑Wed Jun 28, 2023 10:56 pm Hi,
I noticed the zoneminder.conf on this page https://wiki.zoneminder.com/Debian_12_B ... er_1.36.33 has been updated and the quotes for the alias has been amended.
Should this part:
Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder/www>
also have quotes so it is consistent with the rest of the configuration. IE changed to this:
Alias /zm "/usr/share/zoneminder/www"
<Directory "/usr/share/zoneminder/www">
Edit: The "updated" zoneminder.conf file I used in the install procedure was copied from a Zoneminder install on Debian 11. Am wondering if the problem is that Debian 12 install does not have /var/cache/zoneminder/cache and Debian 11 install does?
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
I have verified that a Debian 11 install contains a directory /var/cache/zoneminder/cache and the directory is empty. Therefore it presumed the Debian 12 install does not create /var/cache/zonemnder.cache.
I will add this to my install and change the zoneminder.conf file back to /var/cache/zonemnder/cache
Edit: well, my test did not work. Back to using the config per the WIKI.
I will add this to my install and change the zoneminder.conf file back to /var/cache/zonemnder/cache
Edit: well, my test did not work. Back to using the config per the WIKI.
Last edited by bbunge on Thu Jun 29, 2023 2:25 pm, edited 1 time in total.
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
I don't think the quotes matter because we don't have spaces in the path.
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
I just install that clean new config debian 12 + zm 1.36.33 -I tried 3 or 4 new installations.
I wanted to add a first new camera with the setup of my previous config 1.34.23 on debian 10.
ZoneMinder is running with charge, DB, default and /dev/shm (positive values)
but ... the status remains on "not capturing" and no videos available on montage with the error "Monitor is not capturing. We will be unable to provide an image"
The camera is still running on the "old" server. The camera is ok with vlc ...
Any ideas to solve that issue ?
I wanted to add a first new camera with the setup of my previous config 1.34.23 on debian 10.
ZoneMinder is running with charge, DB, default and /dev/shm (positive values)
but ... the status remains on "not capturing" and no videos available on montage with the error "Monitor is not capturing. We will be unable to provide an image"
The camera is still running on the "old" server. The camera is ok with vlc ...
Any ideas to solve that issue ?
-
- Posts: 1336
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
Is your "Source type" ffmpeg? Try thar if not.
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
my source is a "remote" camera with an adresse like rtsp://user:pwd@192.168.1.xxx:554/live/channel.
I read the post to change from "remote" to "ffmpeg" but it still doesn't work.
That config works fine with zm 1.34 ...
I read the post to change from "remote" to "ffmpeg" but it still doesn't work.
That config works fine with zm 1.34 ...
-
- Posts: 1336
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
Here's a clue - remote won't work in 1.36, though it may work in 1.34.
If ffmpeg doesn't work, there's something else going wrong.
If you copy what works with vlc into zm using source ffmpeg it will work since vlc is essentially ffmpeg.
If it still doesn't work, then again, something else is awry.
If ffmpeg doesn't work, there's something else going wrong.
If you copy what works with vlc into zm using source ffmpeg it will work since vlc is essentially ffmpeg.
If it still doesn't work, then again, something else is awry.
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
I have two other remote Zoneminder servers on Bullseye still so I will not be upgrading them to Bookworm.
Stock Market Courses Hubspot agency
Stock Market Courses Hubspot agency
Last edited by clotspond on Tue Aug 15, 2023 9:54 pm, edited 1 time in total.
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
That is a good idea at least until the zmrepo is populated with installs for Bookworm. Even then doing an OS upgrade could still mess with the Zoneminder settings. I write from experience!
-
- Posts: 1
- Joined: Thu Aug 17, 2023 11:17 am
Re: Debian 12 "Bookworm" with Zoneminder 1.36.33 Install Procedure
I am still researching ZM on Debian 12 as time permits. I suspect there may be some issues with PHP 8.2 but I am not that much of a wizzard to find them. I tried to install PHP 7.4 on Bookworm then install Zoneminder but PHP 8.2 got installed. I was able to get the API to work with ZmNinja but browsers other than Firefox tank out. Iconner will in time get a version for bookworm on the zmrepo so stay tuned! Hubspot partner agency
Mehendi designs
Mehendi designs