Articles in this section

Scan fails in WP Toolkit: Failed to reset cache for the instance #34: Error: This does not seem to be a WordPress installation.

Plesk for Linux kb: technical

Applicable to:

  • Plesk for Linux

Symptoms

  • Scan fails in WP Toolkit with the error:

    PLESK_ERROR: Scanning for WordPress websites was performed with errors:
    Subscription "example.com": Failed to reset cache for the instance #34: Error: This does not seem to be a WordPress installation. Pass --path=`path/to/wordpress` or run `wp core download`.

    PLESK_ERROR: Scanning for WordPress websites was performed with errors:
    Subscription "example.com": Failed to reset cache for the instance #34: filemng: Failed to change directory to /var/www/vhosts/example.com.com/somefolder: No such file or directory

  • The following error show up in Plesk when accessing domain's card in WordPress tab

    CONFIG_TEXT: Invalid argument not valid semver (" received)

Cause

Information about the WordPress instance exists in WP Toolkit database.

Resolution

  1. Connect to the Plesk server via SSH.
  2. Create a backup file of the wp-toolkit.sqlite3 database:

    # cp /usr/local/psa/var/modules/wp-toolkit/wp-toolkit.sqlite3 /usr/local/psa/var/modules/wp-toolkit/wp-toolkit.sqlite3.bak

  3. Open WP Toolkit database

    # sqlite3 /usr/local/psa/var/modules/wp-toolkit/wp-toolkit.sqlite3

  4. Remove the orphaned records using the instance ID from the error message:

    MYSQL_LIN: sqlite> .headers on

    MYSQL_LIN: sqlite> delete from instanceProperties where instanceId = 34;

    MYSQL_LIN: sqlite> delete from instances where instances.id = 34;

    MYSQL_LIN: sqlite> .quit

 

 

 

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.