Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Plesk failed upgrades  (Read 1751 times)

0 Members and 1 Guest are viewing this topic.

joseletk

  • Guest
Plesk failed upgrades
« on: March 31, 2018, 11:09:41 am »
One of the main reasons that can cause upgrades to fail is “named” (the DNS Bind program), having its permissions changed so it cannot run. Check this and correct as below:

Code: [Select]
[root@vps-joselet ~]# ls -la /etc/init.d/named
-rwxr-xr-x 1 root root 7478 Mar 17 12:15 /etc/init.d/named
[root@vps-joselet ~]# chmod 755 /etc/init.d/named

Once done, try and run the update process again. This can be done by selecting ‘Updates and Upgrades’ from the ‘panel’ menu that is on the ‘Server’ tab or the Tools & Settings page if you are logged in as full administrator.

Once you select the Upgrade link this will open another tab. On this page select the option to ‘Upgrade the Components’.

If the problem still persists:

Run bootstrapper.sh”‘

A utility of the Parallels Plesk control panel, “bootstrapper.sh” is a SSH command which can repair a failed Plesk upgrade. To begin, change directory into “/usr/local/psa/bootstrapper/” and then run a directory list command:

Code: [Select]
#cd /usr/local/psa/bootstrapper/
#ls -la

The directory listing will present you with a list of folders, the number varying between how many upgrades of Plesk have been applied in the past:

Code: [Select]
drwxr-xr-x 3 root root 4096 Apr 22 2011 pp10.10.1-bootstrapper
drwxr-xr-x 3 root root 4096 Jul 30 20:24 pp10.12.0-bootstrapper
drwxr-xr-x 3 root root 4096 Dec 08 06:39 pp10.13.4-bootstrapper

In this example, the failed upgrade was for Plesk 10.4, so the newest folder “pp10.13.4-bootstrapper” would be used. Change in that directory, and again perform a directory listing:

Code: [Select]
-rwxr-xr-x 1 root root 269303 Dec 08 05:00 bootstrapper.sh
drwxr-xr-x 3 root root 4096 Dec 08 06:39 db
rw-r–r– 1 root root 2515 Dec 08 04:35 psa.conf.default

The “bootstrapper.sh” file will repair the Plesk databases, and reapply the patches as part of repairing the failed Plesk upgrade. To kick off the repair, simply run the following command:

Code: [Select]
#./bootstrapper.sh repair
Wait a few moments while the repair takes place, and once it is done you should be able to log into Plesk with your newest upgrade successfully applied!

=======================================================================================================
« Last Edit: March 31, 2018, 12:30:27 pm by joseletk »