[How to] How to complete installation of Plesk Sitebuilder patch

Created:

2016-11-16 12:54:31 UTC

Modified:

2017-03-18 08:53:36 UTC

0

Was this article helpful?


Have more questions?

Submit a request

[How to] How to complete installation of Plesk Sitebuilder patch

Symptoms

I have started a patch installation through Parallels Plesk Sitebuilder 4.5 at System > Server > Autoupdate > Install . However, the installation is not complete; the page loads with the notification " Loading... "

How can I unlock it and complete the patch installation?

Resolution

When click the " Install " button message " Updating... " appears on the Autoupdate page. The patch is not installed immediately, but installation is scheduled and executed by a root cron job:

/etc/crontab
--->8---
*/5 * * * * root (cd /usr/local/sitebuilder/utils && /opt/php52/bin/php5 tasksmng.php > /dev/null 2>&1)
---8<---

Please wait until the cron task is executed.

To speed up the installation process, you may run the cron job manually. Execute the following command:

~# /opt/php52/bin/php5 /usr/local/sitebuilder/utils/tasksmng.php

Additional Information

All patches of Parallels Plesk Sitebuilder 4.5 may be reinstalled manually. Verify that the patches are listed in the database of Parallels Plesk Sitebuilder 4.5:

mysql> select * from patch;
+----+-----------------+------------+---------------+-------+--------------+
| id | product_version | patch_id | patch_version | state | action_state |
+----+-----------------+------------+---------------+-------+--------------+
| 1 | 4.5.0 | 1310372244 | 1310372244 | 1 | 0 |
| 2 | 4.5.0 | 1310108450 | 1310108450 | 0 | 0 |
| 3 | 4.5.0 | 1310101735 | 1310101735 | 0 | 0 |
| 4 | 4.5.0 | 1310026037 | 1310026037 | 0 | 0 |
| 5 | 4.5.0 | 1310015108 | 1310015108 | 0 | 0 |
| 6 | 4.5.0 | 1307621033 | 1307621033 | 0 | 0 |
| 7 | 4.5.0 | 1283836088 | 1283836088 | 0 | 0 |
| 8 | 4.5.0 | 1283508424 | 1283508424 | 0 | 0 |
| 9 | 4.5.0 | 1244192376 | 1244192376 | 0 | 0 |
| 10 | 4.5.0 | 1240290850 | 1240290850 | 0 | 0 |
| 11 | 4.5.0 | 1239686032 | 1239686032 | 0 | 0 |
| 12 | 4.5.0 | 1233581217 | 1233581217 | 0 | 0 |
| 13 | 4.5.0 | 1226990742 | 1226990742 | 0 | 0 |
| 14 | 4.5.0 | 1225856342 | 1225856342 | 0 | 0 |
| 15 | 4.5.0 | 1224147483 | 1224147483 | 0 | 0 |
| 16 | 4.5.0 | 1222823773 | 1222823773 | 0 | 0 |
| 17 | 4.5.0 | 1221729784 | 0 | 0 | 0 |
+----+-----------------+------------+---------------+-------+--------------+
17 rows in set (0.01 sec)

mysql>

Create the records if they are missing. Install the patches manually with sbpatch:

~# /usr/local/sitebuilder/utils/sbpatch install 1221729784
~# /usr/local/sitebuilder/utils/sbpatch install 1222823773
~# /usr/local/sitebuilder/utils/sbpatch install 1224147483
~# /usr/local/sitebuilder/utils/sbpatch install 1225856342
...

(where 1221729784, 1222823773, 1224147483, 1225856342,... is the patch_id from the patch table of the Sitebuilder database. Install the patches from the end; start from #17, then #16, then #15...)

Additional Information

The version of Parallels Plesk Sitebuilder, 4.5, is shown on the login page and in the file /usr/local/sitebuilder/.version . The patch number, #9, is shown on the Autoupdate page of Parallels Plesk Sitebuilder when logging in to the panel as admin. To verify that your application is up-to-date, log in to Parallels Plesk Sitebuilder as admin and go to the page Server > Autoupdate. The following information indicates that the latest patch is installed:

--->8---
Hotfix-20110711 (Automatically generated patch) > Show details
Plesk Sitebuilder 4.5.9 build 20110711
---8<---

So, "4.5.9" means Parallels Plesk Sitebuilder 4.5.0 with the latest patch, #9.

Have more questions? Submit a request
Please sign in to leave a comment.