- Plesk Onyx for Linux
WordPress installation/plugins update fails with the warning:
PLESK_WARN: The WordPress installations were updated with errors: Installation "example": The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions. "wp-admin\/js\/tags-box.js, wp-admin\/js\/editor-expand.js, wp-admin\/js\/bookmarklet.min.js, wp-admin\/js\/customize-nav-menus.min.js, wp-admin\/js\/customize-nav-menus.js, wp-admin\/js\/tags-box.min.js, wp-admin\/css\/edit.min.css
Incorrect permissions/ownership on some files.
Connect to the server via SSH.
Set permissions to 644 on an affected folder. These files should be owned by a system user, not by apache.apache Set correct ownership:
# chown -R systemuser.psacln /var/www/vhosts/example.com/httpdocs/wp-admin
# chown -R systemuser.psacln /var/www/vhosts/example.com/httpdocs/wp-content
Run repair utility:
# plesk repair fs -y