December 11, 2020 | Tech
Downloading update from https://downloads.wordpress.org/release/wordpress-5.1-new-bundled.zip…
Unpacking the update…
The update cannot be installed because we will be unable to copy some files.
This is usually due to inconsistent file permissions.: wp-admin/includes/update-core.php Installation Failed
error?
sudo usermod -aG www-data $USER
*remember to replace the path with your wordpress directory path*
sudo chown -R www-data:www-data /*your wordpress directory here*
*remember to replace path here with your wordpress directroy*
sudo chmod -R 774 /*your wordpress directory here*
That's it, this should fix the error. If you don't have access to sudo, please contact your hosting provider regarding this