• 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.

Login not possible after upgrade to Plesk 12.

andsrv

New Pleskian
I just upgraded my Plesk on Ubuntu (vServer) yesterday. But after the upgrade I couldn't login to the Panel anymore because all I get when I try to reach the panel (https://panel.examplesite.com:8443) is a white screen.
I rebooted the server and restarted the panel as well as Apache several times with no change.
 
Any details of troubleshooting? Any related error messages from sw-cp-server log, at least?
 
Here is the sw-cp-server error log:
2014/06/26 06:38:20 [error] 712#0: *180 open() "/opt/psa/admin/htdocs/robots.txt" failed (2: No such file or directory), client: xxx.245.xx.133, server: , request: "GET /robots.txt HTTP/1.1", host: "5.xxnwxx.anxxexxe.net:8880"
2014/06/26 08:27:17 [notice] 27797#0: using inherited sockets from "6;7;8;9;"
2014/06/26 08:40:18 [error] 3409#0: *26 open() "/opt/psa/admin/htdocs/select_components.html" failed (2: No such file or directory), client: xx.185.xx.208, server: , request: "GET /select_components.html HTTP/1.1", host: "panel.pleskexample.de:8443"
2014/06/26 09:23:07 [error] 3409#0: *70 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: xx.185.xx.208, server: , request: "GET /javascript/promo-flags.js.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "xxxx.axxsexxe.de:8880", referrer: "http://sxxx.xxdsxxxe.de/"
2014/06/26 10:13:42 [error] 525#0: *36 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: xxx.126.x.186, server: , request: "GET /javascript/promo-flags.js.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "urbaxxxxit.de:8880", referrer: "http://urxxnsxxx.de/"
2014/06/26 14:14:35 [error] 525#0: *38 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: xx.38.xxx.181, server: , request: "GET /javascript/promo-flags.js.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "urxxxxxxt.de:8880", referrer: "http://uxxaxxx.de/"
2014/06/26 17:54:04 [error] 525#0: *47 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: xxx.138.xxx.187, server: , request: "GET /javascript/promo-flags.js.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "urbxxxxixxt.de:8880", referrer: "http://uxxaxxxirit.de/"[/QUOTE]
 
It looks like that upgrade was not completed successfully. Try to fix it with bootstrapper repair procedure.
 
Now I get a 502 Bad Gateway when I want to login to the Panel.

Here is the repair log:

START Bootstrapper 12.0.18 repair AT Fri Jun 27 11:25:31 UTC 2014

**** Product repair started.

===> Checking for previous installation ... found.
Started bootstrapper repair procedure. This may take a while.
Certain actions may be skipped if not applicable.

Trying to start service mysql... /usr/sbin/mysqld (pid 171) is running...
done
Trying to establish test connection... connected
done
Trying to start service mysql... /usr/sbin/mysqld (pid 171) is running...
done
Trying to establish test connection... connected
done
Trying to find psa database... version is 012000018
Version is OK, no need to create psa database.
Trying to backup MySQL database... Warning: Not dumping MySQL database 'atmail' as it doesn't exist
done
MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.12.0.18-12.0.18.20140627-112532.dump.gz
Finishing up upgrade procedures and rerunning previously failed upgrade actions...
===> Cumulative APS controller database (apsc) upgrade and repair has been started.
Upgrade or repair for 'apsc' (stage 'prep') is not required
Trying to backup MySQL database... done
MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.apsc.12.0.18-12.0.18.20140627-112533.dump.gz
===> Cumulative upgrade and repair of APS controller database has been completed.
Connection to APSC DB is possible
===> Cumulative APS controller upgrade and repair (final stage) has been started.
Upgrade or repair for 'apsc' (stage 'post') is not required
===> Cumulative upgrade and repair of APS controller (final stage) has been completed.
Trying to reset database user password for 'pma_Uv7HfhrXlm6I@'... done
===> Cumulative Plesk database upgrade and repair (revertable stage) has been started.
Upgrade or repair for 'core' (stage 'prep') is not required
===> Preparing Plesk database upgrade (revertable stage).

Trying to set psa database version to 012000018... done
===> Cumulative upgrade and repair of Plesk database (revertable stage) has been completed.
Database is up-to-date
===> Cumulative Plesk upgrade and repair (final stage) has been started.
===> Preparing Plesk upgrade (final stage).
Trying to reinstall chained SSL certificates... Function not implemented

WARNING!
Some problems are found during reinstall chained SSL certificates(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log)

Continue...

After end of upgrade for 'core' (stage 'post') following actions are registered as failed: 20132105120530-reconfigure_chained_ssl_certificates_11_6_4 20140327125800-upgrade_postfix_12_0_12 20132105120530-reconfigure_chained_ssl_certificates_11_6_4 20140327125800-upgrade_postfix_12_0_12.
===> Plesk was not upgraded completely. See installation log for details.
Trying to upgrade and repair SpamAssassin service configuration... Upgrade or repair for 'spamassassin' (stage 'files') is not required
done
Trying to upgrade and repair Courier-IMAP services configuration (prep stage)... Upgrade or repair for 'courier_imap' (stage 'prep') is not required
done
Trying to upgrade and repair Courier-IMAP services configuration (post stage)... Upgrade or repair for 'courier_imap' (stage 'post') is not required
done
Trying to upgrade and repair Courier-IMAP services configuration (bootstrapper-post stage)... Upgrade or repair for 'courier_imap' (stage 'bootstrapper-post') is not required
done
Trying to condrestart service courier-imapd... done
Trying to condrestart service courier-imaps... done
Trying to condrestart service courier-pop3d... done
Trying to condrestart service courier-pop3s... done
Trying to upgrade and repair Roundcube webmail configuration... Upgrade or repair for 'roundcube' (stage 'files') is not required
done

.....
 
continued.....

Upgrade of Roundcube Web Based mail client configs and DB is not required - no previous version
Trying to upgrade and repair Fail2Ban configuration (bootstrapper-prep stage)... Upgrade or repair for 'fail2ban' (stage 'bootstrapper-prep') is not required
done
Trying to upgrade and repair Fail2Ban configuration (bootstrapper-post stage)... Upgrade or repair for 'fail2ban' (stage 'bootstrapper-post') is not required
done
Trying to upgrade and repair Firewall service configuration... Upgrade or repair for 'firewall' (stage 'post') is not required
done
Reconfiguring mail subsystem...
Trying to execute mail_restore to synchronize mail server settings and Plesk Database... ==> Checking for: mailsrv_conf_init... ok
==> Checking for: mail_handlers_init... ok
==> Checking for: mailsrv_entities_dump... ok
==> Checking for: mail_admin_aliases... ok
==> Checking for: mail_auth_dump... fail
==> Checking for: mailman_lists_dump... ok
==> Checking for: mail_kav8_restore... ok
==> Checking for: mail_responder_restore... ok
==> Checking for: mail_imap_restore... fail
==> Checking for: mail_spam_restore... fail
==> Checking for: mail_grey_restore... ok
==> Checking for: mail_mailbox_restore... ok
==> Checking for: mail_spf_restore... ok
==> Checking for: mail_dk_restore... ok
==> Checking for: mail_drweb_restore... not found, skipped
==> Checking for: mail_outgoing_restore... fail
==> Checking for: mail_transport_restore... fail
Errors occured in mail restore procedure
Some utilities have exited with errors:
/usr/lib/plesk-9.0/remote_mail_restore/mail_auth_dump
/usr/lib/plesk-9.0/remote_mail_restore/mail_imap_restore
/usr/lib/plesk-9.0/mail_spam_restore
/usr/lib/plesk-9.0/remote_mail_restore/mail_outgoing_restore
/usr/lib/plesk-9.0/remote_mail_restore/mail_transport_restore
done
Reconfiguring Apache web server...
Reconfiguring ProFTPD FTP server...
Reconfiguring AWStats web statistics...
Reconfiguring WatchDog...
Function not implemented
Restoring SELinux contexts...
Regenerating web servers' configuration files...
Function not implemented
Warning: web server configuration is broken. We will try to repair it. This operation can take a lot of time, please do not interrupt the process.
Unable to rebuild web server configuration, possible there are broken domains
Trying to reconfigure web-server configurations skipping broken domains... Function not implemented

WARNING!
Some problems are found during reconfigure web-server configurations skipping broken domains(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log)

Continue...

Cleaning active Panel sessions...

Bootstrapper repair finished.
If problems persist, please check installer logs ('/var/log/plesk/install/plesk_12.0.18_repair.log' and '/var/log/plesk/install/plesk_12.0.18_repair_problems.log') for errors.
If you can't resolve the issue on your own, please address Parallels support.

**** Product repair completed successfully.

STOP Bootstrapper 12.0.18 repair AT Fri Jun 27 11:26:41 UTC 2014
START Bootstrapper 12.0.18 repair AT Fri Jun 27 11:45:56 UTC 2014

**** Product repair started.

===> Checking for previous installation ... found.
Started bootstrapper repair procedure. This may take a while.
Certain actions may be skipped if not applicable.

Trying to start service mysql... /usr/sbin/mysqld (pid 183) is running...
done
Trying to establish test connection... connected
done
Trying to start service mysql... /usr/sbin/mysqld (pid 183) is running...
done
Trying to establish test connection... connected
done
Trying to find psa database... version is 012000018
Version is OK, no need to create psa database.
Trying to backup MySQL database... Warning: Not dumping MySQL database 'atmail' as it doesn't exist
done
MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.12.0.18-12.0.18.20140627-114556.dump.gz
Finishing up upgrade procedures and rerunning previously failed upgrade actions...
===> Cumulative APS controller database (apsc) upgrade and repair has been started.
Upgrade or repair for 'apsc' (stage 'prep') is not required
Trying to backup MySQL database... done
MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.apsc.12.0.18-12.0.18.20140627-114558.dump.gz
===> Cumulative upgrade and repair of APS controller database has been completed.
Connection to APSC DB is possible
===> Cumulative APS controller upgrade and repair (final stage) has been started.
Upgrade or repair for 'apsc' (stage 'post') is not required
===> Cumulative upgrade and repair of APS controller (final stage) has been completed.
Trying to reset database user password for 'pma_Uv7HfhrXlm6I@'... done
===> Cumulative Plesk database upgrade and repair (revertable stage) has been started.
Upgrade or repair for 'core' (stage 'prep') is not required
===> Preparing Plesk database upgrade (revertable stage).

Trying to set psa database version to 012000018... done
===> Cumulative upgrade and repair of Plesk database (revertable stage) has been completed.
Database is up-to-date
===> Cumulative Plesk upgrade and repair (final stage) has been started.
===> Preparing Plesk upgrade (final stage).
Trying to reinstall chained SSL certificates... Function not implemented

WARNING!
Some problems are found during reinstall chained SSL certificates(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log)

Continue...

After end of upgrade for 'core' (stage 'post') following actions are registered as failed: 20132105120530-reconfigure_chained_ssl_certificates_11_6_4 20140327125800-upgrade_postfix_12_0_12 20132105120530-reconfigure_chained_ssl_certificates_11_6_4 20140327125800-upgrade_postfix_12_0_12 20132105120530-reconfigure_chained_ssl_certificates_11_6_4 20140327125800-upgrade_postfix_12_0_12.
===> Plesk was not upgraded completely. See installation log for details.
Trying to upgrade and repair SpamAssassin service configuration... Upgrade or repair for 'spamassassin' (stage 'files') is not required
done
Trying to upgrade and repair Courier-IMAP services configuration (prep stage)... Upgrade or repair for 'courier_imap' (stage 'prep') is not required
done
Trying to upgrade and repair Courier-IMAP services configuration (post stage)... Upgrade or repair for 'courier_imap' (stage 'post') is not required
done
Trying to upgrade and repair Courier-IMAP services configuration (bootstrapper-post stage)... Upgrade or repair for 'courier_imap' (stage 'bootstrapper-post') is not required
done
Trying to condrestart service courier-imapd... done
Trying to condrestart service courier-imaps... done
Trying to condrestart service courier-pop3d... done
Trying to condrestart service courier-pop3s... done
Trying to upgrade and repair Roundcube webmail configuration... Upgrade or repair for 'roundcube' (stage 'files') is not required
done
Upgrade of Roundcube Web Based mail client configs and DB is not required - no previous version
Trying to upgrade and repair Fail2Ban configuration (bootstrapper-prep stage)... Upgrade or repair for 'fail2ban' (stage 'bootstrapper-prep') is not required
done
Trying to upgrade and repair Fail2Ban configuration (bootstrapper-post stage)... Upgrade or repair for 'fail2ban' (stage 'bootstrapper-post') is not required
done
Trying to upgrade and repair Firewall service configuration... Upgrade or repair for 'firewall' (stage 'post') is not required
done
Reconfiguring mail subsystem...
Trying to execute mail_restore to synchronize mail server settings and Plesk Database... ==> Checking for: mailsrv_conf_init... ok
==> Checking for: mail_handlers_init... ok
==> Checking for: mailsrv_entities_dump... ok
==> Checking for: mail_admin_aliases... ok
==> Checking for: mail_auth_dump... fail
==> Checking for: mailman_lists_dump... ok
==> Checking for: mail_kav8_restore... ok
==> Checking for: mail_responder_restore... ok
==> Checking for: mail_imap_restore... fail
==> Checking for: mail_spam_restore... fail
==> Checking for: mail_grey_restore... ok
==> Checking for: mail_mailbox_restore... ok
==> Checking for: mail_spf_restore... ok
==> Checking for: mail_dk_restore... ok
==> Checking for: mail_drweb_restore... not found, skipped
==> Checking for: mail_outgoing_restore... fail
==> Checking for: mail_transport_restore... fail
Errors occured in mail restore procedure
Some utilities have exited with errors:
/usr/lib/plesk-9.0/remote_mail_restore/mail_auth_dump
/usr/lib/plesk-9.0/remote_mail_restore/mail_imap_restore
/usr/lib/plesk-9.0/mail_spam_restore
/usr/lib/plesk-9.0/remote_mail_restore/mail_outgoing_restore
/usr/lib/plesk-9.0/remote_mail_restore/mail_transport_restore
done
Reconfiguring Apache web server...
Reconfiguring ProFTPD FTP server...
Reconfiguring AWStats web statistics...
Reconfiguring WatchDog...
Function not implemented
Restoring SELinux contexts...
Regenerating web servers' configuration files...
Function not implemented
Warning: web server configuration is broken. We will try to repair it. This operation can take a lot of time, please do not interrupt the process.
Unable to rebuild web server configuration, possible there are broken domains
Trying to reconfigure web-server configurations skipping broken domains... Function not implemented

WARNING!
Some problems are found during reconfigure web-server configurations skipping broken domains(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log)

Continue...

Cleaning active Panel sessions...

Bootstrapper repair finished.
If problems persist, please check installer logs ('/var/log/plesk/install/plesk_12.0.18_repair.log' and '/var/log/plesk/install/plesk_12.0.18_repair_problems.log') for errors.
If you can't resolve the issue on your own, please address Parallels support.

**** Product repair completed successfully.
 
Last edited:
I am also getting the same problem. Did you get it fixed and what did you run to fix this? I am not a techie so please can you explain in easy terms or attach a link of where need to go an what I need to do.
 
Me too

All websites are still working. Only login to Plesk Panel shows: "502 Bad Gateway, nginx" after update to new version.

/opt/psa/version:
12.0.18 Ubuntu 10.04 1200140626.18

My logs:
/var/log/sw-cp-server/error_log
2014/07/18 15:10:41 [crit] 2685#0: *13 connect() to unix:/var/run/sw-engine.sock failed (2: No such file or directory) while connecting to upstream, client: #IP#, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "xxx.de:8443"

I try this fix: http://kb.parallels.com/en/118757

This is the result:
/etc/init.d/sw-engine restart
* Restarting Plesk engine pool manager sw-engine-fpm
/etc/init.d/sw-engine: line 48: 3948 Aborted /usr/bin/sw-engine -r 'Lock::clean_lock_manager_shm();' 2> /dev/null
/etc/init.d/sw-engine: line 38: 3951 Aborted start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS 2> /dev/null [fail]

Any idea?
 
Me too

All websites are still working. Only login to Plesk Panel shows: "502 Bad Gateway, nginx" after update to new version.

/opt/psa/version:


My logs:
/var/log/sw-cp-server/error_log


I try this fix: http://kb.parallels.com/en/118757

This is the result:


Any idea?

I have exactly the same problem except when I tried the above fix I get
/etc/init.d/sw-engine restart
Stopping sw-engine-fpm: [FAILED]
Starting sw-engine-fpm: [ OK ]

but the problem is the same.
 
Back
Top