SymptomsPlesk and Sitebuilder are integrated and Sitebuilder support is enabled for Plesk domains.
Sometimes Sitebuilder sites are delete without any reconfiguration in Parallels Plesk Sitebuilder.
What may cause the problem and how to prevent this?
CauseAfter Sitebuilder support was enabled for Plesk domain new site with same name is created in Parallels Plesk Sitebuilder.
When domain administrator changes physical hosting configuration Sitebuilder site is deleted.
ResolutionHere is full procedure to reproduce the issue in Parallels Plesk Panel 9.2:
- Enable Sitebuilder support for Plesk domain:
This causes Sitebuilder site with same name <domain name> is created in Parallels Plesk Sitebuilder.
- Login to Parallels Plesk Panel as domain administrator.
- Change to hosting configuration page "Web Hosting Settings" and just click button "OK" without any changes.
This causes Sitebuilder site <domain name> appropriate to Plesk domain <domain name> is removed from Parallels Plesk Sitebuilder.
The problem will be fixed in future update of Parallels Plesk Panel that is going to be released after version 9.5.
Hotfix for Parallels Plesk Panel 9.x is in the attachment.
To install the hotfix please download the file and upload it to Parallels Plesk Panel 9.x server. Move the file to directory /usr/local/psa/admin/plib/ for RedHat-like OS or /opt/psa/admin/plib/ for Debian-like and unpack it. Then correct permissions. For example:
~# mv class.PHostingManager.zip /usr/local/psa/admin/plib/
~# cd /usr/local/psa/admin/plib/
~# unzip class.PHostingManager.zip
~# chown root:psaadm /usr/local/psa/admin/plib/class.PHostingManager.php
~# chmod 644 /usr/local/psa/admin/plib/class.PHostingManager.php
Since the hotfix was installed Parallels Plesk Sitebuilder site would not be removed if domain administrator manages domain hosting settings in Parallels Plesk Panel. However this would not restore sites that were removed earlier.
In Parallels Plesk Panel 8.6 it is recommended that you forbid domain administrator from management of hosting preferences for its domains. It is possible to hide button "Setup" on domain management page using interface customization template.
To configure interface template it is recommended to login to Parallels Plesk Panel as administrator and change to page Server -> Interface Management -> Interface Templates. Click "Interface customization template" and then "Show Toolbar". New button "Customize" will appear in the bottom of the page.
Then change to domain management page at Domains -> <domain name> and click button "Customize" at the page bottom. Then click button "Setup" and choose "Admin only". Click "OK" to finish customization.
This will reconfigure interface template in the following way: button "Setup" is shown on domain management page only for administrator login to Parallels Plesk Panel. The button is hidden when login to Parallels Plesk Panel as client or domain administrator.