I don’t know about the rest of you, but I’ve experienced many instances where the Auto-update feature in WordPress fails to update either a plugin or WordPress itself.
The solution to this problem is remarkably simple, and hopefully will be fixed soon by the WP core developers in an upcoming release. The problem seems to be caused by a messy previous upgrade in which files are left in a temporary “upgrade” directory with the wp-content directory.
In order to solve the problem, you simply need to delete the “upgrade” directory in it’s entirety and then try the upgrade again. I’ve yet to find an instance on several blogs across multiple machines where this didn’t solve the problem.








Oh this is really cool, I really did not know it would be that simple. However hopefully it wont cause any problems or issues like loss of any data or file.
Unfortunately, this didn’t work for me. I still got a “could not copy files” error when attempting the upgrade.
Hello John, I have been finding not only wordpress update failing on me on a regular basis but also larger plugins like All In One SEO. I am not sure why do you have any ideas. At first i thought it was bad net connection or time of day that I am trying to do the updates, but I am really not sure if that is the case. Your guru incite would be greatly appreciated. jon
Very cool,,, this worked for me. My main blog got hacked a few weeks ago while I was traveling, so now I am playing catch up trying to get my post back, upgrade plugins etc. Thank you for you solution to this upgrading issue. lew
I don’t know what to tell you Jonalyn. I’ve seen the failure to update randomly with a number of plugins, both big and small, as well as with WordPress itself. It seems entirely random to me, and the main issue seems to simply be WordPress’ auto-update feature not cleaning up after itself by deleting the previous upgrade files.
I think the proof of this comes in the fact that you can manually remove them and try the upgrade again and it works every time. So, I wouldn’t worry too much about root cause diagnosis. We just need to wait till the developers get the process ironed out and in the meantime you now know the fix.
Cheers,
John P.
Jeff,
That sounds like it could be a permissions issue. Which is really hard to diagnose in the comments of a blog post. But you might try changing the permissions on your wp-content folder to 755 if they are not already like that.
John P.
ok this article really rocks in fact this is something amazing because something that it seems all this year for me really difficult now is just simple as taking a candy to a baby I really fell like an idiot because all this time with problems when wordPress auto-update fails and now I realize that is so easey…
Many times i’ve experienced problems to that auto update because of the file permissions. But before playing around with those, get rid off that “upgrade” folder. It could save you a lot of time messing with the WP installation.
Perfect! It worked, thanks John! On a side note, some of my plugins caused the issue to happen again (not all) and even when doing the fix the upgrade did not happen as it was supposed to. I believe this is a plugin issue, but I could be wrong. For those ones I had to manually upgrade them. The two specific plugins I had issues with were “Subscribe2″ and “Lifestream”.
Thanks again!
Aaahh…Thanks.. I was updating flickr plugin when it failed…and as usual I search the internet and there was your blog..Thanks..the fix works great…