Hi, Just updated to 3.2.10 using ispconfig_update.sh and noticed 2 display problems on the landing page. 1) the sidebar is not displayed, due to a 500 server error 2) websites metrics are missing
Most likely an incompatibility with the PHP version you use on that server. Please have a look into the global error.log of the web server and post the error message that you get there when you access the ISPConfig interface. And also run the test script from here: https://forum.howtoforge.com/threads/please-read-before-posting.58408/ and post the result.
Code: # lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye # php -v PHP 7.4.33 (cli) (built: Feb 22 2023 20:07:47) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies # cat htf_report.txt ##### SERVER ##### IP-address (as per hostname): ***.***.***.*** [WARN] could not determine server's ip address by ifconfig [INFO] OS version is Debian GNU/Linux 11 (bullseye) [INFO] uptime: 13:42:48 up 21 days, 3:57, 1 user, load average: 3.46, 2.78, 3.36 [INFO] memory: total used free shared buff/cache available Mem: 4.0Gi 2.5Gi 515Mi 39Mi 1.0Gi 1.5Gi Swap: 0B 0B 0B [INFO] ISPConfig is installed. ##### ISPCONFIG ##### ISPConfig version is 3.2.10 ##### VERSION CHECK ##### [INFO] php (cli) version is 7.4.33 [INFO] php-cgi (used for cgi php in default vhost!) is version 5.6.30 [WARN] You are using an outdated php version. ##### PORT CHECK ##### [WARN] Port 22 (SSH server) seems NOT to be listening ##### MAIL SERVER CHECK ##### ##### RUNNING SERVER PROCESSES ##### [INFO] I found the following web server(s): Apache 2 (PID 1824331) [INFO] I found the following mail server(s): Postfix (PID 1824112) [INFO] I found the following pop3 server(s): Dovecot (PID 1824259) [INFO] I found the following imap server(s): Dovecot (PID 1824259) [INFO] I found the following ftp server(s): PureFTP (PID 1824418) ##### LISTENING PORTS ##### (only () Local (Address) [anywhere]:995 (1824259/dovecot) [anywhere]:993 (1824259/dovecot) [anywhere]:587 (1824112/master) [anywhere]:465 (1824112/master) [localhost]:6379 (143/redis-server) [anywhere]:154 (233/sshd:) [anywhere]:143 (1824259/dovecot) [anywhere]:111 (1/init) [anywhere]:110 (1824259/dovecot) [anywhere]:25 (1824112/master) [anywhere]:21 (1824418/pure-ftpd) [localhost]:3306 (1823889/mariadbd) [localhost]:953 (1824475/named) [localhost]:53 (1824475/named) [localhost]:53 (1824475/named) [localhost]:53 (1824475/named) [localhost]:53 (1824475/named) [localhost]:53 (1824475/named) [localhost]:53 (1824475/named) [localhost]:53 (1824475/named) [localhost]:53 (1824475/named) [localhost]:11211 (137/memcached) [localhost]:11332 (1824132/rspamd:) [localhost]:11333 (1824132/rspamd:) [localhost]:11334 (1824132/rspamd:) [localhost]:10024 (1824129/amavisd-new) [localhost]:10025 (1824112/master) [localhost]:10026 (1824129/amavisd-new) [localhost]:10027 (1824112/master) [localhost]:10023 (427/postgrey) ***.***.***.***:53 (1824475/named) ***.***.***.***:53 (1824475/named) ***.***.***.***:53 (1824475/named) ***.***.***.***:53 (1824475/named) ***.***.***.***:53 (1824475/named) ***.***.***.***:53 (1824475/named) ***.***.***.***:53 (1824475/named) ***.***.***.***:53 (1824475/named) *:*:*:*::*:995 (1824259/dovecot) *:*:*:*::*:993 (1824259/dovecot) *:*:*:*::*:587 (1824112/master) *:*:*:*::*:465 (1824112/master) *:*:*:*::*:443 (1824331/apache2) [localhost]54 (233/sshd:) [localhost]43 (1824259/dovecot) *:*:*:*::*:80 (1824331/apache2) [localhost]11 (1/init) [localhost]10 (1824259/dovecot) *:*:*:*::*:25 (1824112/master) *:*:*:*::*:21 (1824418/pure-ftpd) *:*:*:*::*ff:fe18:ab3f:53 (1824475/named) *:*:*:*::*ff:fe18:ab3f:53 (1824475/named) *:*:*:*::*ff:fe18:ab3f:53 (1824475/named) *:*:*:*::*ff:fe18:ab3f:53 (1824475/named) *:*:*:*::*ff:fe18:ab3f:53 (1824475/named) *:*:*:*::*ff:fe18:ab3f:53 (1824475/named) *:*:*:*::*ff:fe18:ab3f:53 (1824475/named) *:*:*:*::*ff:fe18:ab3f:53 (1824475/named) *:*:*:*::*:8081 (1824331/apache2) *:*:*:*::*:8080 (1824331/apache2) *:*:*:*::*:953 (1824475/named) *:*:*:*::*:53 (1824475/named) *:*:*:*::*:53 (1824475/named) *:*:*:*::*:53 (1824475/named) *:*:*:*::*:53 (1824475/named) *:*:*:*::*:53 (1824475/named) *:*:*:*::*:53 (1824475/named) *:*:*:*::*:53 (1824475/named) *:*:*:*::*:53 (1824475/named) *:*:*:*::*:6379 (143/redis-server) *:*:*:*::*:10023 (427/postgrey) *:*:*:*::*:10026 (1824129/amavisd-new) *:*:*:*::*:10024 (1824129/amavisd-new) *:*:*:*::*:11334 (1824132/rspamd:) *:*:*:*::*:11333 (1824132/rspamd:) *:*:*:*::*:11332 (1824132/rspamd:) ##### IPTABLES ##### Chain INPUT (policy ACCEPT) target prot opt source destination f2b-dovecot tcp -- [anywhere]/0 [anywhere]/0 multiport dports 110,995,143,993,587,465,4190 f2b-postfix-sasl tcp -- [anywhere]/0 [anywhere]/0 multiport dports 25,465,587,993,110,995 Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain f2b-dovecot (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 Chain f2b-postfix-sasl (1 references) target prot opt source destination REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable RETURN all -- [anywhere]/0 [anywhere]/0 ##### LET'S ENCRYPT ##### Certbot is installed in /usr/bin/letsencrypt last lines in /var/log/apache2/error.log: Code: [Sat Jun 03 12:38:27.038709 2023] [fcgid:warn] [pid 1824797] [client 78.192.141.14:53924] mod_fcgid: stderr: PHP Fatal error: Call to undefined method SimplePie_File::SimplePie_File() in /usr/local/ispconfig/interface/lib/classes/simplepie.inc.php on line 7874, referer: https://mail.sitew3.com:8080/index.php [Sat Jun 03 12:38:31.971508 2023] [fcgid:warn] [pid 1824753] [client 78.192.141.14:53928] mod_fcgid: stderr: PHP Fatal error: Call to undefined method SimplePie_File::SimplePie_File() in /usr/local/ispconfig/interface/lib/classes/simplepie.inc.php on line 7874, referer: https://mail.sitew3.com:8080/index.php [Sat Jun 03 12:38:41.668404 2023] [fcgid:warn] [pid 1824752] [client 78.192.141.14:42434] mod_fcgid: stderr: PHP Fatal error: Call to undefined method SimplePie_File::SimplePie_File() in /usr/local/ispconfig/interface/lib/classes/simplepie.inc.php on line 7874, referer: https://mail.sitew3.com:8080/index.php [Sat Jun 03 12:41:51.863880 2023] [fcgid:warn] [pid 1824753] [client 78.192.141.14:46962] mod_fcgid: stderr: PHP Fatal error: Call to undefined method SimplePie_File::SimplePie_File() in /usr/local/ispconfig/interface/lib/classes/simplepie.inc.php on line 7874, referer: https://mail.sitew3.com:8080/index.php [Sat Jun 03 12:42:03.095432 2023] [fcgid:warn] [pid 1824755] [client 78.192.141.14:34888] mod_fcgid: stderr: PHP Fatal error: Call to undefined method SimplePie_File::SimplePie_File() in /usr/local/ispconfig/interface/lib/classes/simplepie.inc.php on line 7874, referer: https://mail.sitew3.com:8080/index.php [Sat Jun 03 12:57:47.335980 2023] [php7:error] [pid 1824754] [client 83.97.73.89:33594] script '/var/www/html/index.php' not found or unable to stat
The php-cli version is fine, but I wonder if you accidentally run the ISPConfig GUI on PHP 8.2 now. The code you have errors with has not been altered in this ISPConfig release, so the reason for your issue must be related to another change you made and not the ISPConfig update itself.
Thanks for your answer Code: # ls -lh /etc/php/ total 9.5K drwxr-xr-x 7 root root 7 Sep 28 2019 7.0 drwxr-xr-x 6 root root 6 Sep 29 2019 7.3 drwxr-xr-x 6 root root 6 Dec 12 2021 7.4 I don't have PHP 8.x on this box, since it is not offically published, and before I launched ispconfig_update.sh I didn't saw these errors. While I avoid by all means to customize anything on this box, I might have done something weird that didn't show before the update, but I really don't know where to look at... except trying to debug the PHP code on a production box (ouch)
Report says: [INFO] php (cli) version is 7.4.33 [INFO] php-cgi (used for cgi php in default vhost!) is version 5.6.30 [WARN] You are using an outdated php version. So PHP version for CGI is wrong. The read before posting tells how to set it right.
You're right!!! Installed correct version of PHP-CGI Code: ##### VERSION CHECK ##### [INFO] php (cli) version is 7.4.33 [INFO] php-cgi (used for cgi php in default vhost!) is version 7.4.33 and the left pane is back!!! Well, I still don't have any metrics for the websites, but that's no big deal
My understanding is those are generated once daily, so they may appear tomorrow now that PHP is working properly.