WordPress Update Failed

Attempting update to wordpress as we are not worthy. Got this error:

Update WordPress

Downloading update from https://downloads.wordpress.org/release/wordpress-4.9.2-no-content.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


THIS guy saved us…https://aaronjholbrook.com/wordpress-permissions-update-error-resolved/

Thanks Aaron!





WordPress install folder:



sudo find /var/www/html -type f -exec chmod 664 {} \;

sudo find /var/www/html -type d -exec chmod 775 {} \;

sudo chgrp -R www-data /var/www/html