Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TagsDescriptionNotes
{module.ip_address}The IP address of the server that the service was provisioned one.g. "127.0.0.1"
{module.port}The port number to connect on

Default is "8443"

{package.type}The package meta typeEither "standard" or "reseller"
{package.plan}The package meta service plan ID as used in Pleske.g. "1"
{package.reseller_plan}The package meta reseller plan ID as used in Pleske.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 domaine.g. "domain.com"
{service.plesk_webspace_id}The service field for the Plesk subscription (webspace) servicee.g. "1"

 

Common Issues

Note
titleRunning 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:

  1. Log in to the Plesk database:

    Code Block
    mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa
  2. Apply the following SQL query:

    Code Block
    mysql> INSERT INTO misc VALUES ('restart_apache_gracefully', 'true');