Search Engine: Elastic

Article ID: 114807, created on Sep 21, 2012, last review on Jul 14, 2018

  • Applies to:
  • Operations Automation
  • Business Automation


A customer cannot properly manage his VPS with Plesk subscription in OA due to various problems described below.

  1. The customer added domain in OA Customer CP and assigned Plesk Panel hosting on it. All provisioning tasks completed in OA, however the domain was not added to Plesk and its status in OA CCP is 'Not in sync/Adding':

    Your text to link here...

  2. Plesk license cannot be installed in the VPS through the BA Control Panel with the following error appearing in the corresponding OA background task execution output:

    PleskAPIInvalidSecretKeyException : key is not found

    The same error message is displayed in OA Customer Control Panel like on the screenshot:


Secret key is missing in Plesk database, while it is present in OA database.

OA database:

plesk=> SELECT key FROM psa WHERE sub_id=<SUB_ID>;
host_id |               key
      28 | 666fec857fec542304c943bf11069bc2

(1 row)

(on OA >= 6.0 this is replaced by akey field)

Plesk database:

mysql> SELECT * FROM secret_keys;
Empty set (0.00 sec)

Secret key is used for authorization between OA and Plesk Panel. If the secret key is lost in Plesk then OA cannot perform provisioning operations in Plesk.


Perform the following actions to resolve the problem:

  • Remove data about secret key from OA database for the particular subscription in question:

    plesk=> UPDATE psa SET key = NULL WHERE sub_id = <SUB_ID>;

    Replace the <SUB_ID> in the SQL query above with the ID of the subscription in question.

    Note: OA >=6.0 uses akey column.

  • Reinitialize Plesk in OA Customer Control Panel

  • Wait until all re-configuration tasks are completed in OA Task Manager for the problem VPS with Plesk. As a result secret key will be regenerated and problem must be solved.

  • Resubmit domain to the Plesk Panel server in OA Customer CP, try to install Plesk license once again in PBA.

caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae e12cea1d47a3125d335d68e6d4e15e07 198398b282069eaf2d94a6af87dcb3ff

Email subscription for changes to this article
Save as PDF