Scanning for WordPress installations finished with errors: Resource with UID '' not found

Created:

2016-11-16 13:23:42 UTC

Modified:

2017-08-08 13:08:37 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Scanning for WordPress installations finished with errors: Resource with UID '' not found

Applicable to:

  • Plesk 12.0 for Linux
  • Plesk 12.5 for Windows

Symptoms

Wordpress Toolkit scanning fails with below error :

Scanning for WordPress installations finished with errors. Resource with UID '' not found

Cause

Database inconsistency.

Resolution

  1. Create databases backup according to article: #213904125 How to backup/restore a Plesk database dump?
  1. Find records with NULL value for registryResourceId in psa.smb_apsInstances table. For example:

    mysql> SELECT id,contextId,metaId,registryResourceId FROM psa.smb_apsInstances WHERE registryResourceId IS NULL;
    +----+-----------+--------+--------------------------------------+
    | id | contextId | metaId | registryResourceId |
    +----+-----------+--------+--------------------------------------+
    | 3 | 106 | 101 | NULL |
    | 4 | 107 | 103 | NULL |
    +----+-----------+--------+--------------------------------------+
    2 rows in set (0.00 sec)
  2. Delete NULL records:

    mysql> DELETE FROM psa.smb_apsInstances WHERE id IN (3,4);
    Query OK, 2 rows affected (0.01 sec)
  3. Perform scan again.

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