Site icon Hip-Hop Website Design and Development

WordPress and plugins can’t update ("inconsistent file permissions" error)?

I have a problem – when I click on “WordPress update”, I receive this message:

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

I changed permissions: WP-admin and WP-includes to 755 WP-content to 777 All files in WP-admin are 755.

What can be the problem? I am trying to solve it, but I can’t do it.