Page 1 of 1

ZM 1.32.2 - cannot find Path options

Posted: Mon Nov 05, 2018 11:48 am
by FSAB
I updated from 1.30.4 to 1.32.2. Zoneminder claims it is running, but the cameras do not show any images.

I went to check that the PATH_ZMS value is correct (as i've done historically and still referred in the Log file) and it seems that this version has dropped the Path tab pane from Options. It doesn't even work if you set the query string to ?view=options&tab=paths

Has this been deliberately moved or just missed by accident?

Re: ZM 1.32.2 - cannot find Path options

Posted: Mon Nov 05, 2018 2:03 pm
by kkalbaugh
The paths are in here /etc/zm/zm.conf but you don't change them there you put the paths you want to override in /etc/zm/conf.d/zmcustom.conf now.

Re: ZM 1.32.2 - cannot find Path options

Posted: Mon Nov 05, 2018 2:33 pm
by FSAB
Ok, that's all correct (see attached).

If that's the case, what is causing the issue in the third screenshot. It has the associated log errors.

2018-11-05 14:27:55 web_php 32108 ERR Socket /var/run/zm/zms-813859s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/lat ... window-etc for more information. /usr/share/zoneminder/www/includes/functions.php 2043

2018-11-05 14:27:55 web_js 32108 ERR getStreamCmdResponse stream error: Socket /var/run/zm/zms-813859s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/lat ... window-etc for more information. - checkStreamForErrors() ?view=watch

Re: ZM 1.32.2 - cannot find Path options

Posted: Tue Nov 06, 2018 4:15 pm
by bloke
I am having the same symptoms (including the error messages you listed) and have included some more things I have tried (with no success) on this thread: viewtopic.php?f=38&t=27723

Any help with this thread or the one I started would be great. Thanks community!

Re: ZM 1.32.2 - cannot find Path options

Posted: Tue Nov 06, 2018 9:20 pm
by snakeice
I had the same thing check out "usr/share/doc/zoneminder/README" and try some of those steps.

Start with:

ln -s /etc/zm/www/zoneminder.conf /etc/httpd/conf.d/

Then restart Zoneminder and Apache

Re: ZM 1.32.2 - cannot find Path options

Posted: Wed Nov 07, 2018 12:54 pm
by FSAB
The symobolic link thing wasn't needed.

I did not realise that zmupdate.pl had added an override to the zm_path in zmcustom.conf in /etc/zm/conf.d. Once I commented this out, the display is now working.

Re: ZM 1.32.2 - cannot find Path options

Posted: Thu Dec 06, 2018 3:32 pm
by mverret
Hello, i got a similar issue, then i notice those in the log:

Code: Select all

ERR	Unable to authenticate user
so a quick google let me find to modify thise option:
AUTH_RELAY to none
and then magically everything get to work i can saw my camera. So look like the issue come from the way the auth was send to the camera!

Re: ZM 1.32.2 - cannot find Path options

Posted: Mon Aug 26, 2019 11:35 am
by bbqkees
FSAB wrote: Wed Nov 07, 2018 12:54 pm The symobolic link thing wasn't needed.

I did not realise that zmupdate.pl had added an override to the zm_path in zmcustom.conf in /etc/zm/conf.d. Once I commented this out, the display is now working.
I had the same issue after an update from 1.30.2 to 1.32.3 and this solved it.

Re: ZM 1.32.2 - cannot find Path options

Posted: Sun Dec 15, 2019 4:51 am
by FloppyDisk
FSAB wrote: Wed Nov 07, 2018 12:54 pm The symobolic link thing wasn't needed.

I did not realise that zmupdate.pl had added an override to the zm_path in zmcustom.conf in /etc/zm/conf.d. Once I commented this out, the display is now working.
I had a similar problem w/ Xubuntu 18.04, but I didn't comment out the line in zmcustom.conf, I added /zm to the beginning of the string and then everything worked. I didn't try commenting out, so I'm not sure if that would have a different effect on zoneminder or not.

Re: ZM 1.32.2 - cannot find Path options

Posted: Wed Jan 08, 2020 2:53 pm
by bongsenit
I'm running Zoneminder 1.32.x - Ubuntu Server 18.04 64-bit

I also got a similar issue,

Run:
sudo service zoneminder stop
sudo nano /etc/zm/conf.d/01-system-paths.conf

Please check your "ZM_PATH_ZMS" is set correctly.

# ZoneMinder url path to the zms streaming server
ZM_PATH_ZMS=/zm/cgi-bin/nph-zms

-don't dropping "/zm"

Make sure that "/zm" is actually there.

Permission:
sudo chmod -R 0644 /etc/zm/conf.d/01-system-paths.conf #if not work try "0755"

Restart Zoneminder:
sudo service zoneminder restart

I hope it helps.

Re: ZM 1.32.2 - cannot find Path options

Posted: Sat Jul 04, 2020 5:06 pm
by rebornjumpman
mverret wrote: Thu Dec 06, 2018 3:32 pm Hello, i got a similar issue, then i notice those in the log:

Code: Select all

ERR	Unable to authenticate user
so a quick google let me find to modify thise option:
AUTH_RELAY to none
and then magically everything get to work i can saw my camera. So look like the issue come from the way the auth was send to the camera!
This fixed it for me too running on v1.34.16 on Ubuntu Server 20.04. Thanks man, you're a life saver!

Re: ZM 1.32.2 - cannot find Path options

Posted: Wed Oct 26, 2022 3:25 am
by pdt5774
mverret wrote: Thu Dec 06, 2018 3:32 pm Hello, i got a similar issue, then i notice those in the log:

Code: Select all

ERR	Unable to authenticate user
so a quick google let me find to modify thise option:
AUTH_RELAY to none
and then magically everything get to work i can saw my camera. So look like the issue come from the way the auth was send to the camera!
This worked for me... hosting fresh install of Zoneminder 1.36.31 on Raspberry Pi4B 8G with SSD running Ubuntu 22.04lts Server. In Options>System>AUTH_RELAY, changing from "hashed" to "none" eliminated a myriad of errors ranging from "ensure that CGI is enabled in apache", "check that the PATH_ZMS is set correctly", "(zmc) is not running then zms will exit" to "Unable to authenticate user".

Went through several reinstalls before happening across your post. A great many THANKS!!

Re: ZM 1.32.2 - cannot find Path options

Posted: Thu Apr 20, 2023 1:32 am
by aschouwe
:D
rebornjumpman wrote: Sat Jul 04, 2020 5:06 pm
mverret wrote: Thu Dec 06, 2018 3:32 pm Hello, i got a similar issue, then i notice those in the log:

Code: Select all

ERR	Unable to authenticate user
so a quick google let me find to modify thise option:
AUTH_RELAY to none
and then magically everything get to work i can saw my camera. So look like the issue come from the way the auth was send to the camera!
This fixed it for me too running on v1.34.16 on Ubuntu Server 20.04. Thanks man, you're a life saver!
This worked for me too! :D Thanks for the tip!!