New ISPConfig 3.3, Roundcube url error 502

Discussion in 'Installation/Configuration' started by kataiwo, Aug 11, 2025.

  1. kataiwo

    kataiwo New Member

    Hello,

    I've just installed ISPCONFIG 3.3 on a new server, however i cannot access the usual example.com:8081/webmail, I get a http 502 error.
    Has anything changed?

    Also I installed monit, how do i access it?

    Many thnaks.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    No. Do you use Apache or Nginx, and which Linux distribution do you use?
     
  3. remkoh

    remkoh Active Member HowtoForge Supporter

    That info was given to you by the install script during installation of your server.
     
  4. kataiwo

    kataiwo New Member

    I use Debian 12, nginx, I'm quite surprised as i have used the automated script many times before without any issues. But now I get the 502 error for webmail.
     
  5. kataiwo

    kataiwo New Member

    Thanks, I have sorted this out, I forgot to open the firewall for Monit UI. Thanks.
     
  6. kataiwo

    kataiwo New Member

    I'm finding even PhpMyAdmin is also giving 502 error. I tried mysite.com:8081/phpmyadmin, same as roundcube: mysite:8081/webmail
    I use Nginx on Debian 12.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Please check the global Nginx error.log file to see why it fails.
     
  8. kataiwo

    kataiwo New Member

    1
    Thanks, this is the error from /var/log/nginx:
    connect() failed (111: Connection refused) while connecting to upstream, client: x.x.x.x, server: _, request: "GET /phpmyadmin/ HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "abc.xyz.net:8081"

    I actually provisioned four servers and they are all the same in this respect. Thanks.
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if you did not install the system PHP. Which exact config options did you use for the auto-installer? I guess you installed just certain PHP versions, skipping system PHP, which means all packages relying on the system PHP version, like phpmyadmin and Roundcube, must fail.
     
  10. kataiwo

    kataiwo New Member

    Here's the options I selected for the auto-installer:
    wget -O - https://get.ispconfig.org | sh -s -- --use-nginx --use-php=8.2,8.3 --monit --monit-alert-email --no-ftp --unattended-upgrades
    and, for some of the other servers:
    wget -O - https://get.ispconfig.org | sh -s -- --use-nginx --use-php=8.1,8.2,8.3 --use-ftp-ports=40110-40210 --unattended-upgrades
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, that's what I guessed. You instructed the installer not to install the system PHP, so you can't use any packages like PHPMyAdmin and RoundCube now that require the system PHP version.
     
  12. kataiwo

    kataiwo New Member

    is there anything I can do now? my understanding is 8.2 is the system PhP
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    PHP 8.2 might be the same version number, but it's not the system PHP. System PHP is 'system' in the list of PHP versions of the installer. The PHP 8.2 version you are currently using is from an external repository, therefore listening on a different port.

    What you can do to fix this is that you reconfigure your PHP 8.2 FPM to listen on port 9000 for the instance that runs as www-data user.
     
  14. kataiwo

    kataiwo New Member

    ok, thanks. I didn't see the system on the list, i didn't even know it's significance. I will rather reinstall the server at this stage. Many thanks for your helps.
     
  15. kataiwo

    kataiwo New Member


    I changed the installer script like so and reinstalled, i'm still getting 502 for roundcube. How do i avoid installing unwanted php versions and still get roundcube and pma?
    wget -O - https://get.ispconfig.org | sh -s -- --use-nginx --use-php=8.2,8.3,system --monit --monit-alert-email --no-ftp --unattended-upgrades
     

Share This Page