ZM 1.32.2 - cannot find Path options

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
FSAB
Posts: 8
Joined: Thu Sep 14, 2017 10:27 am

ZM 1.32.2 - cannot find Path options

Post 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?
kkalbaugh
Posts: 4
Joined: Thu Jul 28, 2016 6:04 pm

Re: ZM 1.32.2 - cannot find Path options

Post 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.
FSAB
Posts: 8
Joined: Thu Sep 14, 2017 10:27 am

Re: ZM 1.32.2 - cannot find Path options

Post 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
Attachments
Screenshot 2018-11-05 14.32.00.png
Screenshot 2018-11-05 14.32.00.png (37.67 KiB) Viewed 37304 times
Screenshot 2018-11-05 14.31.12.png
Screenshot 2018-11-05 14.31.12.png (21.76 KiB) Viewed 37304 times
Screenshot 2018-11-05 14.27.51.png
Screenshot 2018-11-05 14.27.51.png (150 KiB) Viewed 37304 times
bloke
Posts: 6
Joined: Mon Dec 11, 2017 1:32 am

Re: ZM 1.32.2 - cannot find Path options

Post 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!
snakeice
Posts: 7
Joined: Mon Oct 15, 2018 9:14 pm

Re: ZM 1.32.2 - cannot find Path options

Post 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
FSAB
Posts: 8
Joined: Thu Sep 14, 2017 10:27 am

Re: ZM 1.32.2 - cannot find Path options

Post 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.
mverret
Posts: 1
Joined: Thu Dec 06, 2018 3:29 pm

Re: ZM 1.32.2 - cannot find Path options

Post 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!
bbqkees
Posts: 3
Joined: Thu Aug 08, 2019 9:04 am

Re: ZM 1.32.2 - cannot find Path options

Post 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.
FloppyDisk
Posts: 9
Joined: Sat Feb 06, 2016 1:41 am

Re: ZM 1.32.2 - cannot find Path options

Post 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.
bongsenit
Posts: 1
Joined: Tue Dec 12, 2017 7:36 am

Re: ZM 1.32.2 - cannot find Path options

Post 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.
rebornjumpman
Posts: 9
Joined: Sat Jul 04, 2020 5:03 pm

Re: ZM 1.32.2 - cannot find Path options

Post 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!
pdt5774
Posts: 12
Joined: Tue Feb 04, 2020 10:45 pm

Re: ZM 1.32.2 - cannot find Path options

Post 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!!
aschouwe
Posts: 2
Joined: Thu Apr 20, 2023 1:28 am

Re: ZM 1.32.2 - cannot find Path options

Post 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!!
Post Reply