Hello Friends, My current server is an Ubuntu 22.04 running Nginx and ISPConfig3. Then, I did an upgrade following this guide: https://www.howtoforge.com/update-the-ispconfig-perfect-server-from-ubuntu-22-04-to-ubuntu-24-04/ These are my steps: I did a release upgrade from Ubuntu 22.04 to Ubuntu 24.04 (not ISPConfig). It is a success. Then, I accessed my roundcube webmail. It was still working. Then, I also accessed phpmyadmin which reported that it required php 8.2. The current version was php8.1. These result were expected because I had not changed default php version yet. Then, I did an ISPConfig 3 update by running: ispconfig_update.sh --force Update is mostly successful except that the roundcube webmail and phpmyadmin are not accessible. 502 Bad Gateway nginx/1.24.0 (Ubuntu) I changed the default php versions as this guide and yet roundcube webmail and phpmyadmin still fails as: 502 Bad Gateway nginx/1.24.0 (Ubuntu) Who has experienced this failure for a similar setup: Ubuntu 22.04, Nginx, ISPConfig3?
I might have found the root cause! In the app.vhost file, these lines have been commented out under directives phpmyadmin and squirrelmail! #fastcgi_pass unix:/var/lib/php8.1-fpm/apps.sock; and this line should have been commented out! fastcgi_pass 127.0.0.1:9000; Let me try again and see what happen. I have made several snapshots of my VPS.
This is the correct line: fastcgi_pass 127.0.0.1:9000; and this shall be commented out: #fastcgi_pass unix:/var/lib/php8.1-fpm/apps.sock; on a standard ISPConfig installation as you should have the default php-fpm running on port 9000
Hello, But in my case, I manually edit file apps.vhost under directives phpmyadmin and squirrelmail such that: #fastcgi_pass 127.0.0.1:9000; fastcgi_pass unix:/var/lib/php8.3-fpm/apps.sock; Then, both web interfaces of roundcube and phpmyadmin work again! I have downloaded an old copy of apps.vhost of my Ubuntu 22.04 VPS, it also contains these lines under directives phpmyadmin and squirrelmail: #fastcgi_pass 127.0.0.1:9000; fastcgi_pass unix:/var/lib/php8.1-fpm/apps.sock; So, your new implementation may be a bug. or my VPS is a bit different from clean Ubuntu 24.04 ISPConfig setup?!?