From 208d8f28de369d49a74e162a569d1ffa10ab0e85 Mon Sep 17 00:00:00 2001 From: kobold81 <41242871+kobold81@users.noreply.github.com> Date: Fri, 11 Jan 2019 18:14:42 +0100 Subject: [PATCH] update debian to 1.32.x (#2407) Hello, the ZM_PATH config has cost me several hours to fix. I would like to add this little snipped to help others avoid this pitfall. Best regards Marc --- docs/installationguide/debian.rst | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/docs/installationguide/debian.rst b/docs/installationguide/debian.rst index 0b926435f..0d4167b8f 100644 --- a/docs/installationguide/debian.rst +++ b/docs/installationguide/debian.rst @@ -91,7 +91,7 @@ Adjust permissions to the zm.conf file to allow web account to access it. **Step 9:** Setup ZoneMinder service -:: + :: systemctl enable zoneminder.service @@ -127,7 +127,23 @@ CTRL+o then [Enter] to save CTRL+x to exit -**Step 12:** Start ZoneMinder + +**Step 12:** Please check the configuration +Zoneminder 1.32.x + 1. Check path of ZM_PATH in '/etc/zm/conf.d/zmcuston.conf' is ZM_PATH_ZMS=/zm/cgi-bin/nph-zms + :: + cat /etc/zm/conf.d/zmcuston.conf + + 2. Check config of /etc/apache2/conf-enabled/zoneminder.conf has the same ScriptAlias /zm/cgi-bin that is configured + in ZM_PATH. The part /nph-zms has to be left out of the ScriptAlias + + ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin" + + + :: + cat /etc/apache2/conf-enabled/zoneminder.conf + +**Step 13:** Start ZoneMinder Reload Apache to enable your changes and then start ZoneMinder. @@ -136,7 +152,7 @@ Reload Apache to enable your changes and then start ZoneMinder. systemctl reload apache2 systemctl start zoneminder -**Step 13:** Making sure ZoneMinder works +**Step 14:** Making sure ZoneMinder works 1. Open up a browser and go to ``http://hostname_or_ip/zm`` - should bring up ZoneMinder Console