No web interface after upgrade to 1.36.21
Re: No web interface after upgrade to 1.36.21
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.
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
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
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.
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
Hi all.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
rpm -qa |grep php-intl
Please report backCode: Select all
sudo dnf install php-intl sudo systemctl restart httpd
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
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
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.
---
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
Using default one
i am starting to think this is something stupid...
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]#
-
- Posts: 6
- Joined: Tue Oct 26, 2021 12:20 pm
Re: No web interface after upgrade to 1.36.21
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?
/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?
Last edited by doubledown00 on Mon Aug 15, 2022 10:43 pm, edited 1 time in total.
Re: No web interface after upgrade to 1.36.21
Not sure if it helps, but there is a php7.0-intl package.
Re: No web interface after upgrade to 1.36.21
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
Re: No web interface after upgrade to 1.36.21
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
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
for some reason upgrade also updted my zoneminder.httpd.conf and I was dumb to notice that all path has been erased from there