Symptoms
-
In an attempt to press the Reinstall WordPress Core button in Plesk > WordPress > example.com > Check WordPress Integrity, the process fails with the following error message:
PLESK_ERROR: Failed to reinstall WordPress core files
Warning: Unable to copy 'index.php' to current directory.
Error: Couldn't extract WordPress archive. There was an error overwriting existing files.
Downloading WordPress 6.8.1 (en_US)...
md5 hash verified: be423b1a01430e674e361e7a4d96f19e
Cause
Incorrect permissions for the index.php file of the WordPress site at example.com
Resolution
In order to resolve the issue, set the correct permissions for the index.php file through the following steps:
- Connect to the server via SSH.
-
Execute the command below to set the correct permissions:
# chmod 644 /var/www/vhosts/example.com/httpdocs/index.php
Comments
Please sign in to leave a comment.