Table of Contents |
---|
Installing Plesk
- Visit [Settings] > [Company] > [Modules] > Available.
- Click the "Install" button within the Plesk module listing.
Welcome Email
When creating or editing a package that uses this module, the following tags will be available:
Tags | Description | Notes |
---|---|---|
{module.ip_address} | The IP address of the server that the service was provisioned on | e.g. "127.0.0.1" |
{module.port} | The port number to connect on | Default is "8443" |
{package.type} | The package meta type | Either "standard" or "reseller" |
{package.plan} | The package meta service plan ID as used in Plesk | e.g. "1" |
{package.reseller_plan} | The package meta reseller plan ID as used in Plesk | e.g. "1"; This is only available if the type is "reseller" |
{service.plesk_username} | The service field for the Plesk account username | |
{service.plesk_password} | The service field for the Plesk account password | |
{service.plesk_domain} | The service field for the Plesk domain | e.g. "domain.com" |
{service.plesk_webspace_id} | The service field for the Plesk subscription (webspace) service | e.g. "1" |
Common Issues
Running Blesta on Plesk
Are you running Blesta on a Plesk server that you are provisioning accounts to? If so, you must enable Apache graceful restart in Plesk.
If you are running Blesta on a Plesk server that you are provisioning accounts to you must enable Apache graceful restart in Plesk. This is necessary because after provisioning an account in Plesk, Plesk will restart Apache thereby killing the API connection. Blesta will never receive the response from Plesk that the account has been provisioned.
From https://kb.plesk.com/en/112020:
Symptoms
By default, Plesk does not use Apache graceful restart for applying new settings. As result Apache will be restarted every time you change hosting settings through the Plesk GUI. This can lead to unwanted interruptions of sites operation.
Resolution
To enable graceful restart, you should add the parameter "restart_apache_gracefully" with a "true" value to the "misc" table of the "psa" database. For that:
Log in to the Plesk database:
mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa
Apply the following SQL query:
mysql> INSERT INTO misc VALUES ('restart_apache_gracefully', 'true');