Hi, I have updated my Debian 10 to Debian 11 by following the instuctions on How to Upgrade from Debian 10 to Debian 11. During the upgrade, I chose to accept the new jk-init.ini. After the reboot, I tried to run ISPConfig but it failed. When I checked the logs, I saw that Apache2 was not starting because it was still looking for PHP 7.3 libraries. and afterwards started with Update the ISPConfig Perfect Server from Debian 10 to Debian 11 . When I came to step '5. Update paths to use PHP 7.4 as default PHP version', I could not run ISPConfig. When I checked the logs, I realized that the Apache2 version 2.4.61 was still looking for older PHP version and failing. Have I done something obvious in Upgrade from Debian 10 to Debian 11? Thanks in advice for any ideas! Regards.
Thanks a lot for your reply! Do you mean the Step '4. Run a force update of ISPConfig' in Update the ISPConfig Perfect Server from Debian 10, ? If so, I have run ispconfig_update.sh --force . regards.
What do you mean by run ISPConfig? I too had problems with PHP when upgrading Debian 10 to 11. But I did manage to solve them in December. You should do https://forum.howtoforge.com/threads/please-read-before-posting.58408/ to rule out the usual suspects.
Yes, that's what I meant. Which error do you get when you access the ISPConfig GUI (in the browser) and which error do you get in the global Apache or Nginx error.log? Moved your post to the ISPConfig forum now.
My apologies! Code: ##### 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: 18:04:27 up 3:26, 1 user, load average: 0.73, 0.28, 0.10 [INFO] memory: total used free shared buff/cache available Mem: 3.8Gi 2.7Gi 254Mi 69Mi 928Mi 895Mi Swap: 974Mi 386Mi 588Mi [INFO] systemd failed services status: UNIT LOAD ACTIVE SUB DESCRIPTION ● amavis.service loaded failed failed Interface between MTA and virus scanner/content filters ● apache2.service loaded failed failed The Apache HTTP Server LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 2 loaded units listed. [INFO] ISPConfig is installed. ##### ISPCONFIG ##### ISPConfig version is 3.2.12p1 ##### 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 ##### PORT CHECK ##### [WARN] Port 8080 (ISPConfig) seems NOT to be listening [WARN] Port 8081 (ISPConfig Apps) seems NOT to be listening [WARN] Port 80 (Webserver) seems NOT to be listening [WARN] Port 443 (Webserver SSL) seems NOT to be listening ##### MAIL SERVER CHECK ##### ##### RUNNING SERVER PROCESSES ##### [WARN] I could not determine which web server is running. [INFO] I found the following mail server(s): Postfix (PID 1026) [INFO] I found the following pop3 server(s): ...skipping 1 line [INFO] I found the following imap server(s): Dovecot (PID 694) [INFO] I found the following ftp server(s): PureFTP (PID 818) ##### LISTENING PORTS ##### (only () Local (Address) [localhost]:631 (561/cupsd) [anywhere]:25 (1026/master) [localhost]:953 (565/named) [anywhere]:993 (694/dovecot) [anywhere]:995 (694/dovecot) [localhost]:10023 (663/postgrey) [localhost]:10025 (1026/master) [localhost]:3306 (159215/mariadbd) [localhost]:10027 (1026/master) [anywhere]:587 (1026/master) [localhost]:11211 (564/memcached) [anywhere]:110 (694/dovecot) [anywhere]:143 (694/dovecot) [anywhere]:465 (1026/master) ***.***.***.***:53 (565/named) [anywhere]:21 (818/pure-ftpd) [localhost]:53 (565/named) [anywhere]:22 (681/sshd:) *:*:*:*::*:631 (561/cupsd) *:*:*:*::*:25 (1026/master) *:*:*:*::*:953 (565/named) *:*:*:*::*:993 (694/dovecot) *:*:*:*::*:995 (694/dovecot) *:*:*:*::*:10023 (663/postgrey) *:*:*:*::*:587 (1026/master) [localhost]10 (694/dovecot) [localhost]43 (694/dovecot) *:*:*:*::*:465 (1026/master) [localhost]716 (1422/kdeconnectd) *:*:*:*::*:21 (818/pure-ftpd) *:*:*:*::*:53 (565/named) *:*:*:*::**:*:*:*::*53 (565/named) *:*:*:*::*:22 (681/sshd:) ##### IPTABLES ##### ...skipping 1 line acme.sh is installed in /root/.acme.sh/acme.sh regards.
Thank you for your reply. I do not think that my problem is related to ISPConfig. I think I have an Apache2 problem due to Debian-10 to 11 upgrade. When I typed localhost://8080 in the browser, I get blank screen with "Firefox can’t establish a connection to the server at localhost:8080". I think it does so because Apache2 does not start. When I check the logs, I see that Apache2 is looking for old version of PHP: When I restart Apache2 on command line, the journalctl output has: Code: Aug 29 17:58:01 myHost CRON[169227]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0) Aug 29 17:58:01 myHost CRON[169226]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0) Aug 29 17:58:01 myHost CRON[169229]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done) Aug 29 17:58:01 myHost CRON[169230]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done) Aug 29 17:58:01 myHost apachectl[169231]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/php7.3.load: Cannot load /usr/lib/apache2/modules/libphp7.3.so into server: /us> Aug 29 17:58:01 myHost apachectl[169224]: Action 'start' failed. Aug 29 17:58:01 myHost apachectl[169224]: The Apache error log may have more information. Aug 29 17:58:01 myHost systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE This was also the situation after the first step: Upgrade from Debian 10 to Debian 11 . What happened is, during the execution of full upgrade (apt-get full-upgrade -y) step, the Screen Saver has crushed on me. I followed the instructions to unlock it. When I unlocked it, I entered the command apt-get full-upgrade -y again. But it complained that there was already a process running. I was not sure if it was really running in the background or hanging. After a while, I killed it and reissued apt-get full-upgrade -y. It seemed to complete normally. I wonder if something went wrong there. regards.
Please run: rm /etc/apache2/mods-enabled/php7.3.load to disable the old PHP 7.3 module in apache and try if you can start apache2 now.