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.
Related posts
- Tutorial: Howto Increase the Number of Comments Visible in WordPress EditorFolks, I get a lot of comments here on One Man’s Blog (nearly 7,000 at this point). Often there are...
- Tutorial: How To Put Ads on WordPress Home Page OnlyFolks, since my site has gotten fairly popular I have people who want to advertise on the home page. The...
- Customize the Wordpress Login Screen in 10 StepsTo my normal readers… sorry, but this post is not for you. I’ve been asked technical questions by several people...
- Clean Up Your WordPress 2.3+ Database after Ultimate Tag WarriorThis post is for a very select group of people. Namely, bloggers who have been using WordPress since before version...
- Fixing Image Alignment in WordPress 2.5 +If you are using WordPress with the built in image uploader, and the image align characteristics are not working for...
- MASSIVE OMB Update Complete!This evening I embarked on a major journey to upgrade the WordPress installation that One Man’s Blog was running on...
- Tutorial: Add 3 Centered Columns to Wordpress FooterThis post describes how to add variable width, centered columns of stuff to the Worpress footer. Not sure what I...
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.
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.
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
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.
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
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…
It didn’t work for me… :(
I have all permisions OK (777) and the update process works fine until last step…
Take a look…
“Downloading update from http://downloads.wordpress.org/plugin/PLUGIN_NAME.
Unpacking the update.
Installing the latest version.
Removing the old version of the plugin.
Could not create directory. /usr/home/BLOG_NAME.com/web/wp-content/plugins/PLUGIN_NAME/
Plugin upgrade Failed.”
My Blog works with WP 2.8.3 and these plugins (5) works fine in another blog i manage (but in other host).
Current hosting works with PHP5 (5.1.6_3)… maybe plugin updates crashes because of this…
Please help!!! thanks in advance! :-)
That is strange Dave. Especially with permissions set so liberally. So, out of curiosity, did you try and manually install that plugin via FTP? I believe I would try that next and see if it still causes problems. It might lead to more information for troubleshooting purposes.
John
Hi John, thanks for your answer :-)
Yes, i’ve installed the plugins via FTP successfully but i want to enjoy automatic updates… that will make my work easier.
I fear this will cause me trouble when i’ll have to upgrade wordpress to a future new version (2.8.4 or high). It could be a hell!
Wow, thanks alot for this; it worked like a charm! Nice Search Engine placement too; found this on the first page of Google’s Search.
[...] spent quite some time googling before I found the answer over at One Man’s Blog. It was really simple too. Just delete the upgrade folder under [...]
Thank you! I have been changing EVERYTHING – owners, permissions, you name it. This was too simple!