- Plesk 11.x for Linux
Upgrade failed and attempted to log in to Plesk produced the following error:
ERROR: Call to a member function getName() on a non-object (MainMenu.php:48)
shown the following:
# /etc/init.d/sw-cp-server restart
nginx: the configuration file /etc/sw-cp-server/config syntax is ok
nginx: [emerg] listen() to 0.0.0.0:8443, backlog 511 failed (98: Address already in use)
Failed upgrade procedure, database was updated, but packages were not.
Find the dumps in
# ls -la /var/lib/psa/dumps
apscdatabase and restore preupgrade dump using this KB article.
bootstrapperfor the version you upgraded from (here is an example for Plesk 11.5):
# /usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh repair
Run the upgrade procedure again.