WP Core Update - Issue

4 replies
I get this error when updating my sites to latest WP version

"Downloading update from
http://wordpress.org/wordpress-3.7.1-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"

I deactivated all plugins and still get the error.

What does "inconsistent file permissions.: " mean

and how can we fix the issue without causing other problems?

thank you

Codrut.
#core #issue #update #wordpress
  • Profile picture of the author wordpressguru
    Originally Posted by CodrutTurcanu View Post

    I get this error when updating my sites to latest WP version

    "Downloading update from
    http://wordpress.org/wordpress-3.7.1-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"

    I deactivated all plugins and still get the error.

    What does "inconsistent file permissions.: " mean

    and how can we fix the issue without causing other problems?

    thank you

    Codrut.
    Log in with FTP to your webserver. Go to wp-admin/includes and right-click on update-core.php. Select Permissions and if permission is set to 000, set it to 644.
    Hope it helps.
    {{ DiscussionBoard.errors[8688152].message }}
    • Profile picture of the author CodrutTurcanu
      hi

      that file is already showing 0644.

      Is there anything else I can do?

      thank you!
      {{ DiscussionBoard.errors[8688160].message }}
      • Profile picture of the author wordpressguru
        Originally Posted by CodrutTurcanu View Post

        hi

        that file is already showing 0644.

        Is there anything else I can do?

        thank you!
        1. Download a fresh copy of wordpress on your computer.
        2. Create a backup file of your existent installation (you can use duplicator for this task).
        3. Download the backup file on your computer. Also, download wp-config.php
        4. Unzip the file downloaded from wordpress.org.
        5. Upload wp-admin, wp-includes and all single files (from unzipped archive) to your FTP. DO NOT UPLOAD wp-content directory
        6. Upload wp-config.php back to his place (the file downloaded from FTP).
        7. Browse your website and on the first page click on Update Database.
        Hope this help.
        {{ DiscussionBoard.errors[8688259].message }}
  • Profile picture of the author surreal
    The above should work. It wasnt mentioned though that you must connect through FTP using the correct user account. This will ensure that ownership is also correct.

    In addition to this, ensure you are using SuPHP and not DSO or some other php handler.
    {{ DiscussionBoard.errors[8727267].message }}

Trending Topics