• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

502 nginx Bad Gateway

FelixB

Basic Pleskian
Hey there,

After an default installation of Plesk 12 on my Debian 8 server, the domain is Unfortunately not recheable i've always the message 502 nginx bad gateway, do you have an idea what i can do, what why this is happen?

cheers
 
Hi FelixB

Could you validate if apache is running?

It was running today.. but now i dont know why, apache don't start anymore

Check if there's an error message there: /var/log/sw-cp-server/error_log

-
[error] 10286#0: *2083 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 213.55.184.150, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock",
-
error] 726#0: *57 directory index of "/opt/psa/admin/htdocs/enterprise/control/" is forbidden, client: 86.125.218.196, server: , request: "POST /enterprise/control/ HTTP/1.1"

Also, did you check on this kb? its probably relevant to your issue -> https://kb.plesk.com/en/118671 or https://kb.plesk.com/en/124377

yeah no one of this was happen
 
You should be able to get the installation GUI with this.
----------
cd /tmp

wget http://autoinstall.plesk.com/plesk-installer

chmod +x plesk-installer

./plesk-installer --web-interface
-------------

if this doesnt work try this:
/usr/local/psa/bootstrapper/pp[whatever version you have]-bootstrapper/bootstrapper.sh repair
 
Can't be sure @ 100% that this will not erase data but you said it was a new install anyway?
 
yes sure.. but i've already inserted some domains with emails and so on... and the mail server runnings actually
 
Did you purchase through a partner? You should contact them then, they can open support ticket.
 
Back
Top