Page 1 of 1

No interface access after upgrade 1.30.4 to 1.34.5

Posted: Wed Mar 18, 2020 9:08 pm
by extremesurf
I have had a Zoneminder system running for years without any issues, and today I decided to upgrade it from 1.30.4 to 1.34.5. It runs on CentOS 7, so I had to remove the zmrepo and add the new RPM Fusion repo to do the yum update. All updates ran successfully, no errors. After I did that I made a backup of the database and ran zmupdate.pl to upgrade the database, and it went through and updated to the latest version without any errors or issues. Manually started Zoneminder, and I can see that it is loaded and running with 'systemctl status zoneminder.service' and it appears to be recording and monitoring.

My problems:

1.) For some reason I cannot load /zm/ in the web browser though, just says "The requested URL /zm/index.php was not found on this server.". If I load just the IP address in my browser I get the Apache HTTP Server test page so I know that httpd is working.

2.) I assume this is related to problem #1, but I also cannot load it on zmNinja on my phone, cameras all just show up blank

Any suggestions to help me get things functioning again? Thanks in advance!

Re: No interface access after upgrade 1.30.4 to 1.34.5

Posted: Thu Mar 19, 2020 7:47 pm
by extremesurf
Got the web browser stuff fixed and accessible by adding a couple of lines to the fstab to load the proper link on boot up. Now the interface works perfectly but the video feeds show broken images.

Re: No interface access after upgrade 1.30.4 to 1.34.5

Posted: Thu Mar 19, 2020 11:27 pm
by extremesurf
Got it fixed. Had to edit /etc/zm/conf.d/zmcustom.conf and add the following lines:

Code: Select all

ZM_PATH_ZMS=/cgi-bin-zm/nph-zms
ZM_PATH_CGI=/usr/libexec/zoneminder/cgi-bin

Re: No interface access after upgrade 1.30.4 to 1.34.5

Posted: Fri Mar 20, 2020 1:41 am
by Bluemax
Your cgi backend might be corrupt as well. Maybe its easier to setup from scratch again.

Re: No interface access after upgrade 1.30.4 to 1.34.5

Posted: Mon Mar 23, 2020 1:32 am
by rockedge
Using /etc/zm/conf.d/zmcustom.conf is the correct solution in this case. I also use https://zmserver/cgi-bin instead of https://zmserver/zm/cgi-bin and I am using 'webuser' instead of 'www-data' so using the configuration file, which remains static and unaffected by updates and upgrades of ZM, is the easy way if modifying zoneminder to fit in alternative installations