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.








didnt work for me. it is saying “Cant find root directory”
Wow, that really worked like a charm. I am using WordPress 3.0.
I had a similar problem to some of you here where the automatic update would stall or error out in some way. I found that the upgrade worked fine on all but one of our customers sites (all on same server with same permissions).
The site in question had used 37mb of its 50mb quota. I increased this to 70mb and hey presto, the upgrade worked fine.
I am assuming that the upgrade process requires a certain amount of disk space to upload the upgrade file and if its not there it will just fail.
Hope this helps someone!
My problem was also that there was not enough room within my storage quota. Deleted some files, then upgrade worked perfectly.
Yes, I had to expand the disk quota for my ftp and everything worked then.
I am in the same boat as a number of these folks. I have no trouble updating any of my plugins. It’s just when I do the Core update that it stalls at “Unpacking the update.”
I have deleted the upgrade folder, but that did not fix the problem. I try a new update and go to th new upgrade folder it made and I can see all the files, seemingly unpacked.
Any ideas?
This hasn’t fixed a failed auto update to version 3.0 from 2.9.2. I deleted the upgrade folder and the wordpress-3[x].tmp files that were in wp-content and it still stalls at ‘Unpacking the update’.
I’ve never had problems upgrading anything before.
Wow, this totally saved me from a sleepless night. Thanks
Thanks alot. I was beating my head against the wall furiously trying to figure this out. Nothing was working. It never occurred to me that the problem would have been old data in the “upgrade” folder.
After deleting this folder and re-installing 2.9.2 I was able to reinstall all of my plugins and my site is running fine now.
Thanks again.
Oh thank you, thank you, thank you!!! Not only was my WP failing to update but it was running super slow. That worked like a charm and now all is back to normal…. Phew!!
Wonderful! Upgrading my plugins was a pain before, now it is simple.
Thanks so much!
thank you.. the annoying failed was killing me, but your easy fix worked :)
thanks John !!!! worked like a charm !!!!!
amazing… tried everything…..
i have the same problem exactly, thanks :) i can upgrade my wp now
Very cool I have this exact problem. While deleting the upgrade folder allows me to auto update my plugin. I have to delete the upgrade folder every time I upgrade the plugins.
Thanks for the tip very helpful!
Larry
Hi All,
I had the same problem and this tips did not for me as well, but after disabling all plugins WordPress Update accomplished eventually. Try that i hope it will for you, too.
Jules, is is possible that your webhost has a firewall blocking the outward connection to wordpress.org? It might be worth asking them.
Yesss! I’ve never been able to auto-update but this has fixed the problem :D Such a simple solution.. Thanks!
This didn’t work for me. My auto update hangs at
Downloading update from http://wordpress.org/wordpress-2.9.2.zip
every time and always has. I’ve tried every fix I can find. =/
Tnx for your tip. Didn’t work for me (although the upgrade dir was there).
What helped me (2.9 -> 2.9.2 DE version hosted on 1+1) was adding
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
to the htaccess.
Cheers
JD
Glad I was able to save you some frustration there Boon! ;-)
John P.
Dude you just saved my life… I did backup my entire site before trying to upgrade in case the upgrade was going to fail (because it has before on me without a backup!)… But i didn’t realize it was going to be so easy to repair it!
I got the whole “Down for scheduled maintenance error” and thought I was going to have to FTP my backup which would take like 30 minutes at least!…. But your solution fixed it in less than 30 seconds. Thanks! Your site was really easy to find too, first search result.