• Resolved ericmesa

    (@ericmesa)


    All files/folders are owned by apache and I have the define(‘FS_METHOD’,’direct’); in my config. I was able to update plugins and themes, but got this error when trying to update core:

    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

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • @ericmesa – I’d suggest just doing a manual update and overwrite all of the core files. New updates should then be able to use the automated methods.

    ~Cais.

    Moderator t-p

    (@t-p)

    Error indicates some issue with file permissions.

    It is often hard to diagnose the failure due to specific configurations present on each server running the update. we can only recommend what to do if one does occur.

    Try MANUALLY updating. Download WordPress again and unzip it, and use that to copy up. Access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server EXCEPT the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. (NOTE: do not delete the?wp-content?directory or your?wp-config.php?file). Please read the Manual Update directions first.

    Backup: If you haven’t already done, always backup everything (including your database) before doing any actions, just in case something really goes wrong. You can never have enough backups!

    Thread Starter ericmesa

    (@ericmesa)

    Hey guys,

    Kept at it while waiting for replies. Turns out that it was an SELINUX issue. When I turned it off I was able to update. Just need to figure out if there’s a way to keep SELINUX enforcing while also making it know that WordPress should be able to work on this directory.

    Moderator t-p

    (@t-p)

    Glad you got it sorted ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I’m able to upgrade plugins and themes, but not WP-core’ is closed to new replies.