• Resolved jkilbride

    (@jkilbride)


    I’m getting the following error when trying to upgrade to 7.1.4:

    Update Failed: The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.

    Screenshot:

    View post on imgur.com

    Are there any logs I can check for which files would be causing this error?

    WordPress 4.9.5
    PHP 7.1.16
    nginx 1.12.2
    Ubuntu 16.04.04

Viewing 8 replies - 1 through 8 (of 8 total)
  • I have the same error message. Never had a problem with Wordfence before and all other plugins are updating fine.

    Checked that CHMOD 755 for folders & 644 for files is set.
    I also checked the .htaccess file:
    # Wordfence WAF
    <Files “.user.ini”>
    <IfModule mod_authz_core.c>
    Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    Require all denied
    </IfModule>
    </Files>

    # END Wordfence WAF

    Should it be this one with Order deny,allow first?

    <IfModule !mod_authz_core.c>
    Order deny,allow
    Deny from all
    </IfModule>
    </Files>

    # END Wordfence WAF

    Thread Starter jkilbride

    (@jkilbride)

    Just to follow up…

    While my attempts to manually upgrade failed, it looks like the automated upgrade succeeded. So, go figure. I have no idea why there would be a difference between manual and automated upgrades, but my system is running v7.1.4 now.

    Thanks.

    @jkilbride did you delete wordfence first and then reinstall/upload via ftp?

    sorry, mis-read. My auto upgrade isn’t working.

    does your htaccess file look like this with Order deny,allow?

    <IfModule !mod_authz_core.c>
    Order deny,allow
    Deny from all
    </IfModule>

    Thread Starter jkilbride

    (@jkilbride)

    @mross55 Sorry, I use nginx, so htaccess files have no effect on my config.

    Hi @jkilbride
    That’s a little bit strange, I have no idea why the automated upgrade succeeded while the manual one resulted in a permission error, it might be a temporary issue from the WordPress servers that was inaccurately reported as a permission error.

    @mross55 Yes, please try deleting the plugin from WordPress Dashboard and reinstalling it again through the dashboard and let me know how it goes.

    Thanks.

    I had to make the change the attributes in cpanel.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Error upgrading to v7.1.4 – unable to copy files’ is closed to new replies.