Page 2 of 2
Re: No web interface after upgrade to 1.36.21
Posted: Wed Aug 10, 2022 8:57 pm
by zSprawl
nah you and I are using older php, so he wrote an "if statement" to account for how dates are handled with older php.
I've already built a new Oracle Linux 8 box, so I should likely migrate soon anyhow, but this should tide me over for a while.
Thanks again.
Re: No web interface after upgrade to 1.36.21
Posted: Wed Aug 10, 2022 10:05 pm
by iconnor
The problem is php8.1. Our code no longer works on it. So each release has fixes.
Re: No web interface after upgrade to 1.36.21
Posted: Fri Aug 12, 2022 3:56 pm
by zSprawl
For what it's worth, the box you fixed for me is running CentOS 7 with PHP 5.
I built a new box when I ran into this using Oracle Linux 8 and PHP 7, and it hasn't had the issue.
Re: No web interface after upgrade to 1.36.21
Posted: Mon Aug 15, 2022 6:47 am
by nea1
knight-of-ni wrote: ↑Sun Aug 07, 2022 10:29 pm
check if the php-intl package is installed:
If it is not, then install it and restart httpd:
Code: Select all
sudo dnf install php-intl
sudo systemctl restart httpd
Please report back
Hi all.
I have the same issue with web interface after updating.
Running centos 7.
installing php-intl did not help.
Any ideas?
Re: No web interface after upgrade to 1.36.21
Posted: Mon Aug 15, 2022 4:56 pm
by zSprawl
Turn on errors in /etc/php.ini and review them /var/log/httpd/ssl_error.log
Re: No web interface after upgrade to 1.36.21
Posted: Mon Aug 15, 2022 6:21 pm
by nea1
Thanks for your reply.
Unfortunately there is nothing to review, i am not getting any entries trying to reach ZM URL.
Browser gives->
---
Not Found
The requested URL /zm/ was not found on this server.
---
Re: No web interface after upgrade to 1.36.21
Posted: Mon Aug 15, 2022 6:30 pm
by Magic919
Sounds like it lacks the ZM Apache config.
Re: No web interface after upgrade to 1.36.21
Posted: Mon Aug 15, 2022 6:40 pm
by nea1
Using default one
Code: Select all
[root@srv02 www]# ls -l /etc/httpd/conf.d/
total 32
-rw-r--r-- 1 root root 2926 Mar 24 16:57 autoindex.conf
-rw-r--r-- 1 root root 691 Apr 1 2020 php.conf
-rw-r--r-- 1 root root 366 Mar 24 16:58 README
-rw-r--r-- 1 root root 9443 Jan 13 2022 ssl.conf
-rw-r--r-- 1 root root 1252 Jan 7 2022 userdir.conf
-rw-r--r-- 1 root root 824 Jan 13 2022 welcome.conf
lrwxrwxrwx 1 root root 33 Aug 14 20:48 zoneminder.httpd.conf -> /etc/zm/www/zoneminder.httpd.conf
[root@srv02 www]# ls -l /etc/zm/www/
total 16
-rw-r--r-- 1 root root 197 Jul 25 18:20 com.zoneminder.systemctl.rules.httpd
lrwxrwxrwx 1 root root 33 Aug 14 21:14 zoneminder.conf -> /etc/zm/www/zoneminder.httpd.conf
-rw-r--r-- 1 root root 2298 Aug 14 21:36 zoneminder.httpd.conf
-rw-r--r-- 1 root root 2423 Jul 25 18:20 zoneminder.httpd.conf.rpmnew
-rw-r--r--. 1 root root 2429 Jul 13 2019 zoneminder.httpd.conf.rpmsave
[root@srv02 www]#
i am starting to think this is something stupid...
Re: No web interface after upgrade to 1.36.21
Posted: Mon Aug 15, 2022 8:06 pm
by Magic919
It’s not using it.
Re: No web interface after upgrade to 1.36.21
Posted: Mon Aug 15, 2022 10:33 pm
by doubledown00
I having the exact same problem as the first poster. Running RHEL 8.3. Upgraded via dnf to zoneminder-1.36.21-1.el8.x86_64.
/var/log/messages shows Zoneminder is analyzing cameras.
When try to go to /zm I get error 500.
ssl_access_log shows:
[15/Aug/2022:17:22:40 -0500] "GET /zm/ HTTP/1.1" 500 -
ssl_error_log shows nothing.
I ran through all the upgrade steps in the readme file. I didn't notice any files that needed changing. The database upgrade script did not throw out any errors.
I did the two suggestions at the beginning on this post. The "php-intl" install did not work as the package was not found. But it probably wouldn't have anyway as the system shows I'm running PHP 7.2.24-1.
The other suggestion to make a line change to "/usr/share/zoneminder/www/ajax/log.php" also did not work.
So what am I missing here?
Re: No web interface after upgrade to 1.36.21
Posted: Mon Aug 15, 2022 10:42 pm
by zSprawl
Not sure if it helps, but there is a php7.0-intl package.
Re: No web interface after upgrade to 1.36.21
Posted: Tue Aug 16, 2022 6:51 am
by nea1
Magic919 wrote: ↑Mon Aug 15, 2022 8:06 pm
It’s not using it.
What can be the reason?
I moved it into /etc/httpd/conf.d/
also put testsite.conf into same directory, and httpd did catch it...
Re: No web interface after upgrade to 1.36.21
Posted: Tue Aug 16, 2022 6:53 am
by nea1
zSprawl wrote: ↑Mon Aug 15, 2022 10:42 pm
Not sure if it helps, but there is a php7.0-intl package.
installed php7.3
Code: Select all
[root@srv02 conf.d]# rpm -qa |grep php
php-pecl-apcu-5.1.21-1.el7.remi.7.3.x86_64
php-gd-7.3.33-3.el7.remi.x86_64
php-json-7.3.33-3.el7.remi.x86_64
php-7.3.33-3.el7.remi.x86_64
php-xml-7.3.33-3.el7.remi.x86_64
php-cli-7.3.33-3.el7.remi.x86_64
php-pdo-7.3.33-3.el7.remi.x86_64
gd3php-2.3.3-7.el7.remi.x86_64
php-common-7.3.33-3.el7.remi.x86_64
php-intl-7.3.33-3.el7.remi.x86_64
php-process-7.3.33-3.el7.remi.x86_64
php-mysqlnd-7.3.33-3.el7.remi.x86_64
php-pear-1.10.13-1.el7.remi.noarch
same result...
Re: No web interface after upgrade to 1.36.21
Posted: Tue Aug 16, 2022 8:05 am
by Magic919
nea1 wrote: ↑Tue Aug 16, 2022 6:51 am
Magic919 wrote: ↑Mon Aug 15, 2022 8:06 pm
It’s not using it.
What can be the reason?
I moved it into /etc/httpd/conf.d/
also put testsite.conf into same directory, and httpd did catch it...
Dunno. There will be entries in your Apache logs I expect.
You could run some checks in Apache, like apachectl -S to see the vhosts.
Re: No web interface after upgrade to 1.36.21
Posted: Tue Aug 16, 2022 4:28 pm
by nea1
Thanks, all solved.
for some reason upgrade also updted my zoneminder.httpd.conf and I was dumb to notice that all path has been erased from there