• I have WordPress installed on a couple of my sites. I self-host on my own hardware. Lately, the automatic updates have been failing every time. My guess is that the update file folder hierarchy is not in sync with the actual folder hierarchy on the web server. How can I ensure that the updates are saved in such a way that they will be in proper sync with the actual folder hierarchy when the automatic update runs?

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

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

    (@t-p)

    Automatic 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. 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 ehbowen

    (@ehbowen)

    Yes, that’s what I have to do any time I want to update. I’m trying to fix the automatic updates so that they work properly. I suspect the file hierarchy because one time I found a file in the wp-content/upgrades folder saved with what looked to be a file hierarchy which was out of sync with the web user folder. But I’m not seeing that any more; it seems that the folder gets wiped each time an auto upgrade fails (every night). It’s probably an innocuous line in my wp-config file which is either wrong or missing. Trying to find out what it could be.

    • This reply was modified 5 years, 9 months ago by ehbowen.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Automatic Updates Always Fail’ is closed to new replies.