Support » Localhost Installs » Updating WP Core Fails On Local Install

  • We have a local WP install on a server, the install was done through Microsoft’s IIS. All of the WP files reside within its own partition. This has been running smooth for many years.

    Recently we needed to move this partition, but it is still located on the SAME server as it was originally. The partiton’s access rights and security remain the same, even the partition’s drive letter is the same.

    The WP site can be accessed on the front and back end and all users can still login. When I attempt to update the WP core, I receive this error:

    “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”

    I had done some searching for a fix, but most results seem to be Linux based. Again, we are using Windows Server and IIS and WP was originally installed through Microsoft’s Web Platform.

    Any help is appreciated!

Viewing 1 replies (of 1 total)
  • Moderator t-p

    (@t-p)

    Updates can fail for a large number of reasons and it is often hard to diagnose the failure due to specific configurations present on each server running the update. So there’s no good way to track down why a partial update occurred, 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!

Viewing 1 replies (of 1 total)
  • The topic ‘Updating WP Core Fails On Local Install’ is closed to new replies.