Last week I got this message when I tried to login at Plesk admin panel at https://<domainname>:8443
"502 Bad Gateway"
nginx
As far as I'm aware of, the server was not recently updated. (I checked the yum update log)
I searched for help articles and found this one and followed the instructions:
https://support.plesk.com/hc/en-us/articles/213955225--HUB-Troubleshooting-502-Bad-Gateway-error
tail /var/log/sw-cp-server/error_log
output: (ip and domainname masked)
<ip>, server: , request: "GET /login.php3?success_redirect_url=https%3A%2F%2F<domainname>%3A8443%2F HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "<domainname>:8443", referrer: "<domainname>:8443/"
So this redirected me to help article:
https://support.plesk.com/hc/en-us/articles/213940605
It tells to downgrade mysql server to version 5.5.35
Affects Version/s: 5.5.36, 10.0.9 a
installed version:
mysql --version
mysql Ver 14.14 Distrib 5.5.47, for Linux (x86_64) using readline 5.1
Not sure if this could be the problem?
I restarted plesk, and rebooted the server without success. I ran repair tool (repair all), but after a few hours waiting there was no output from this command. I even tried to update to Plesk version 17, but it seems to stop at the last line:
plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
Doing restart of Plesk Installer...
Bestand downloaden products.inf3: 0%
Bestand downloaden products.inf3: 100% gereed.
Bestand downloaden plesk.inf3: 0%
Bestand downloaden plesk.inf3: 100% gereed.
Bestand downloaden ppsmbe.inf3: 0%
Bestand downloaden ppsmbe.inf3: 100% gereed.
Bestand downloaden sitebuilder.inf3: 0%
Bestand downloaden sitebuilder.inf3: 100% gereed.
Bestand downloaden sso.inf3: 0%
Bestand downloaden sso.inf3: 100% gereed.
Bestand downloaden setemplates.inf3: 0%
Bestand downloaden setemplates.inf3: 100% gereed.
Bestand downloaden pp-sitebuilder.inf3: 0%
Bestand downloaden pp-sitebuilder.inf3: 100% gereed.
Bestand downloaden billing.inf3: 0%
Bestand downloaden billing.inf3: 100% gereed.
Bestand downloaden mysql.inf3: 0%
Bestand downloaden mysql.inf3: 100% gereed.
Bestand downloaden apache.inf3: 0%
Bestand downloaden apache.inf3: 100% gereed.
Bestand downloaden nginx.inf3: 0%
Bestand downloaden nginx.inf3: 100% gereed.
Bestand downloaden php71.inf3: 0%
Bestand downloaden php71.inf3: 100% gereed.
Bestand downloaden php70.inf3: 0%
Bestand downloaden php70.inf3: 100% gereed.
Bestand downloaden php56.inf3: 0%
Bestand downloaden php56.inf3: 100% gereed.
Bestand downloaden php55.inf3: 0%
Bestand downloaden php55.inf3: 100% gereed.
Bestand downloaden php54.inf3: 0%
Bestand downloaden php54.inf3: 100% gereed.
Bestand downloaden php53.inf3: 0%
Bestand downloaden php53.inf3: 100% gereed.
Bestand downloaden php52.inf3: 0%
Bestand downloaden php52.inf3: 100% gereed.
Bestand downloaden pmm.inf3: 0%
Bestand downloaden pmm.inf3: 100% gereed.
Controle van geïnstalleerde pakketten...
Bestand downloaden PSA_12.5.30/plesk-12.5.30-cos6-x86_64.inf3: 0%
Bestand downloaden PSA_12.5.30/plesk-12.5.30-cos6-x86_64.inf3: 100% gereed.
Uitbreidingscatalogus-feed wordt gedownload...
Bestand downloaden PSA_12.5.30/plesk-patches-12.5.30-cos6-x86_64.inf3: 0%
Bestand downloaden PSA_12.5.30/plesk-patches-12.5.30-cos6-x86_64.inf3: 100% gereed.
Bestand downloaden SITEBUILDER_12.5.30/sitebuilder-12.5.30-rhall-all.inf3: 0%
Bestand downloaden SITEBUILDER_12.5.30/sitebuilder-12.5.30-rhall-all.inf3: 100% gereed.
Bestand downloaden BILLING_12.5.29/billing-12.5.29-rhall-all.inf3: 0%
Bestand downloaden BILLING_12.5.29/billing-12.5.29-rhall-all.inf3: 100% gereed.
Bestand downloaden NGINX_1.11.1/nginx-1.11.1-cos6-x86_64.plesk12.inf3: 0%
Bestand downloaden NGINX_1.11.1/nginx-1.11.1-cos6-x86_64.plesk12.inf3: 100% gereed.
Bestand downloaden PHP_7.0.14/php70-7.0.14-cos6-x86_64.inf3: 0%
Bestand downloaden PHP_7.0.14/php70-7.0.14-cos6-x86_64.inf3: 100% gereed.
Bestand downloaden PHP_5.6.29/php56-5.6.29-cos6-x86_64.inf3: 0%
Bestand downloaden PHP_5.6.29/php56-5.6.29-cos6-x86_64.inf3: 100% gereed.
Bestand downloaden PHP_5.5.38/php55-5.5.38-cos6-x86_64.inf3: 0%
Bestand downloaden PHP_5.5.38/php55-5.5.38-cos6-x86_64.inf3: 100% gereed.
Bestand downloaden PHP_5.4.45/php54-5.4.45-cos6-x86_64.inf3: 0%
Bestand downloaden PHP_5.4.45/php54-5.4.45-cos6-x86_64.inf3: 100% gereed.
Bestand downloaden PHP_5.3.29/php53-5.3.29-cos6-x86_64.inf3: 0%
Bestand downloaden PHP_5.3.29/php53-5.3.29-cos6-x86_64.inf3: 100% gereed.
Bestand downloaden PHP_5.2.17/php52-5.2.17-cos6-x86_64.inf3: 0%
Bestand downloaden PHP_5.2.17/php52-5.2.17-cos6-x86_64.inf3: 100% gereed.
Bestand downloaden PMM_0.1.10/pmm-0.1.10-cos6-x86_64.inf3: 0%
Bestand downloaden PMM_0.1.10/pmm-0.1.10-cos6-x86_64.inf3: 100% gereed.
gpg-pubkey-00f97f56-467e318a gpg(Remi Collet <[email protected]>)
gpg-pubkey-0608b895-4bd22942 gpg(EPEL (6) <[email protected]>)
gpg-pubkey-cf4c4ff9-4d5efb53 gpg(Andy Thompson <[email protected]>)
gpg-pubkey-914bdf7e-55c05220 gpg(Plesk Team <[email protected]>)
gpg-pubkey-c105b9de-4e0fd3a3 gpg(CentOS-6 Key (CentOS 6 Official Signing Key) <[email protected]>)
gpg-pubkey-7fac5991-4615767f gpg(Google, Inc. Linux Package Signing Key <[email protected]>)
gpg-pubkey-b56a8bac-3bbc4d06 gpg(city-fan.org software librarian <[email protected]>)
version of currently installed Plesk:
cat /usr/local/psa/version
12.5.30 CentOS 6 1205160608.10
Any ideas what to do?
Regards Johan
"502 Bad Gateway"
nginx
As far as I'm aware of, the server was not recently updated. (I checked the yum update log)
I searched for help articles and found this one and followed the instructions:
https://support.plesk.com/hc/en-us/articles/213955225--HUB-Troubleshooting-502-Bad-Gateway-error
tail /var/log/sw-cp-server/error_log
output: (ip and domainname masked)
<ip>, server: , request: "GET /login.php3?success_redirect_url=https%3A%2F%2F<domainname>%3A8443%2F HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "<domainname>:8443", referrer: "<domainname>:8443/"
So this redirected me to help article:
https://support.plesk.com/hc/en-us/articles/213940605
It tells to downgrade mysql server to version 5.5.35
Affects Version/s: 5.5.36, 10.0.9 a
installed version:
mysql --version
mysql Ver 14.14 Distrib 5.5.47, for Linux (x86_64) using readline 5.1
Not sure if this could be the problem?
I restarted plesk, and rebooted the server without success. I ran repair tool (repair all), but after a few hours waiting there was no output from this command. I even tried to update to Plesk version 17, but it seems to stop at the last line:
plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
Doing restart of Plesk Installer...
Bestand downloaden products.inf3: 0%
Bestand downloaden products.inf3: 100% gereed.
Bestand downloaden plesk.inf3: 0%
Bestand downloaden plesk.inf3: 100% gereed.
Bestand downloaden ppsmbe.inf3: 0%
Bestand downloaden ppsmbe.inf3: 100% gereed.
Bestand downloaden sitebuilder.inf3: 0%
Bestand downloaden sitebuilder.inf3: 100% gereed.
Bestand downloaden sso.inf3: 0%
Bestand downloaden sso.inf3: 100% gereed.
Bestand downloaden setemplates.inf3: 0%
Bestand downloaden setemplates.inf3: 100% gereed.
Bestand downloaden pp-sitebuilder.inf3: 0%
Bestand downloaden pp-sitebuilder.inf3: 100% gereed.
Bestand downloaden billing.inf3: 0%
Bestand downloaden billing.inf3: 100% gereed.
Bestand downloaden mysql.inf3: 0%
Bestand downloaden mysql.inf3: 100% gereed.
Bestand downloaden apache.inf3: 0%
Bestand downloaden apache.inf3: 100% gereed.
Bestand downloaden nginx.inf3: 0%
Bestand downloaden nginx.inf3: 100% gereed.
Bestand downloaden php71.inf3: 0%
Bestand downloaden php71.inf3: 100% gereed.
Bestand downloaden php70.inf3: 0%
Bestand downloaden php70.inf3: 100% gereed.
Bestand downloaden php56.inf3: 0%
Bestand downloaden php56.inf3: 100% gereed.
Bestand downloaden php55.inf3: 0%
Bestand downloaden php55.inf3: 100% gereed.
Bestand downloaden php54.inf3: 0%
Bestand downloaden php54.inf3: 100% gereed.
Bestand downloaden php53.inf3: 0%
Bestand downloaden php53.inf3: 100% gereed.
Bestand downloaden php52.inf3: 0%
Bestand downloaden php52.inf3: 100% gereed.
Bestand downloaden pmm.inf3: 0%
Bestand downloaden pmm.inf3: 100% gereed.
Controle van geïnstalleerde pakketten...
Bestand downloaden PSA_12.5.30/plesk-12.5.30-cos6-x86_64.inf3: 0%
Bestand downloaden PSA_12.5.30/plesk-12.5.30-cos6-x86_64.inf3: 100% gereed.
Uitbreidingscatalogus-feed wordt gedownload...
Bestand downloaden PSA_12.5.30/plesk-patches-12.5.30-cos6-x86_64.inf3: 0%
Bestand downloaden PSA_12.5.30/plesk-patches-12.5.30-cos6-x86_64.inf3: 100% gereed.
Bestand downloaden SITEBUILDER_12.5.30/sitebuilder-12.5.30-rhall-all.inf3: 0%
Bestand downloaden SITEBUILDER_12.5.30/sitebuilder-12.5.30-rhall-all.inf3: 100% gereed.
Bestand downloaden BILLING_12.5.29/billing-12.5.29-rhall-all.inf3: 0%
Bestand downloaden BILLING_12.5.29/billing-12.5.29-rhall-all.inf3: 100% gereed.
Bestand downloaden NGINX_1.11.1/nginx-1.11.1-cos6-x86_64.plesk12.inf3: 0%
Bestand downloaden NGINX_1.11.1/nginx-1.11.1-cos6-x86_64.plesk12.inf3: 100% gereed.
Bestand downloaden PHP_7.0.14/php70-7.0.14-cos6-x86_64.inf3: 0%
Bestand downloaden PHP_7.0.14/php70-7.0.14-cos6-x86_64.inf3: 100% gereed.
Bestand downloaden PHP_5.6.29/php56-5.6.29-cos6-x86_64.inf3: 0%
Bestand downloaden PHP_5.6.29/php56-5.6.29-cos6-x86_64.inf3: 100% gereed.
Bestand downloaden PHP_5.5.38/php55-5.5.38-cos6-x86_64.inf3: 0%
Bestand downloaden PHP_5.5.38/php55-5.5.38-cos6-x86_64.inf3: 100% gereed.
Bestand downloaden PHP_5.4.45/php54-5.4.45-cos6-x86_64.inf3: 0%
Bestand downloaden PHP_5.4.45/php54-5.4.45-cos6-x86_64.inf3: 100% gereed.
Bestand downloaden PHP_5.3.29/php53-5.3.29-cos6-x86_64.inf3: 0%
Bestand downloaden PHP_5.3.29/php53-5.3.29-cos6-x86_64.inf3: 100% gereed.
Bestand downloaden PHP_5.2.17/php52-5.2.17-cos6-x86_64.inf3: 0%
Bestand downloaden PHP_5.2.17/php52-5.2.17-cos6-x86_64.inf3: 100% gereed.
Bestand downloaden PMM_0.1.10/pmm-0.1.10-cos6-x86_64.inf3: 0%
Bestand downloaden PMM_0.1.10/pmm-0.1.10-cos6-x86_64.inf3: 100% gereed.
gpg-pubkey-00f97f56-467e318a gpg(Remi Collet <[email protected]>)
gpg-pubkey-0608b895-4bd22942 gpg(EPEL (6) <[email protected]>)
gpg-pubkey-cf4c4ff9-4d5efb53 gpg(Andy Thompson <[email protected]>)
gpg-pubkey-914bdf7e-55c05220 gpg(Plesk Team <[email protected]>)
gpg-pubkey-c105b9de-4e0fd3a3 gpg(CentOS-6 Key (CentOS 6 Official Signing Key) <[email protected]>)
gpg-pubkey-7fac5991-4615767f gpg(Google, Inc. Linux Package Signing Key <[email protected]>)
gpg-pubkey-b56a8bac-3bbc4d06 gpg(city-fan.org software librarian <[email protected]>)
version of currently installed Plesk:
cat /usr/local/psa/version
12.5.30 CentOS 6 1205160608.10
Any ideas what to do?
Regards Johan