Articles in this section

A WordPress domain is not accessible: Broken WordPress instance was found

Plesk for Linux

Applicable to:

  • Plesk for Linux

Symptoms

  • While browsing the WordPress domain a blank page is return.

  • The scan of subscription example.com for WordPress instances returns:

    PLESK_WARN: Scanning for WordPress instances was performed with errors:
    Subscription "example.com": Broken WordPress instance was found in '/var/www/vhost/example.com'

  • The following error could be found at /var/log/plesk/panel.log

    CONFIG_TEXT: ERR [extension/wp-toolkit] Unable to fetch WordPress database name and user: Error establishing a database connection. This means that the username or password information in the `wp-config.php` file is not correct or that the database server can not be contacted with` 192.0.2.2 `. This may mean that the hosting provider's database server is not active.
    {"err_code": true, "err_message": "Error establishing a database connection .This means that the username or password information in the` wp-config.php` file is incorrect or not \ You can contact the database server at `192.0.2.2 ` which may mean that the hosting provider's database server is not active."}

  • The following error could be found at the domain error log /var/www/vhost/example.com/logs/error_log:

    CONFIG_TEXT: [proxy_fcgi:error] (70007)The timeout specified has expired: [client 203.0.113.2:44488] AH01075: Error dispatching request to:

  • Upgrading of the WordPress instance fails with the next error:

    CONFIG_TEXT: Unable to export database. Error message: -- Connecting to localhost
    mariadb-dump: Got error: 1045: "Access denied for user 'exampledatabase'@'localhost' (using password: YES)" when trying to connect

Cause

Incorrect database connection information at the wp-config.php file.

Resolution

  1. Log into Plesk

  2. Go to Domains > example.com > File Manager and open the wp-config.php file.

  3. Correct the database user and/or password while verifying that the database connection is set as below:

    CONFIG_TEXT: define('DB_HOST', 'localhost:3306');

  4. Go to Domains > example.com > Wordpress and click Refresh to scan the instance again.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.