Wordpress Automatic Upgrade plugin
Welcome! to Techie Buzz, it seems that you are new to this site. If you want to get regular updates you can signup to get email alerts or subscribe to the RSS feed.
Do check out our About page to know more about our blog. We also apprecaite your views and comments on this blogs. Thanks for visiting!!.
What is Wordpress Automatic Upgrade?
Wordpress Automatic Upgrade is a plugin that automatically upgrades your wordpress version to the latest files provided by wordpress.org using the 5 steps provided in the wordpress upgrade instructions.
WPAU as I call it helps you easily upgrading you to easily upgrade your wordpress installation to the latest version provided by wordpress, without having to download or upload any files.
In addition to this it automatically backups your current file and database and provides you with a link to download those. De-activates your plugins and remembers them so that after upgrading files it will re-activate those without you having to make any notes for which plugins you de-activated and the biggest saves you headaches of upgrading your wordpress installation.
Here is what WPAU does;
1. Backs up the files and makes available a link to download it.
2. Backs up the database and makes available a link to download it.
3. Downloads the latest files from http://wordpress.org/latest.zip and unzips it.
4. Puts the site in maintenance mode.
5. De-activates all active plugins and remembers it.
6. Upgrades wordpress files.
7. Gives you a link that will open in a new window to upgrade installation.
8. Re-activates the plugins.
The plugin can also can be run in a automated mode where in you do not have to click on any links to go to the next step.
FAQ
What is Wordpress Automatic Upgrade?
Wordpress Automatic Upgrade is a plugin that automatically upgrades your wordpress version to the latest files provided by wordpress.org.
Why use this plugin?
Wordpress releases regular updates and security fixes to the software and after sometime makes it mandatory. Every time you have to manually upgrade your wordpress installation. This plugin helps you to upgrade your installation without any efforts. We also ensure you will always download the latest version.
Which version of the wordpress does it upgrade to?
It upgrades to the latest version that wordpress has made available for download.
What is the lowest version from which I can upgrade?
The lowest version of Wordpress I have tested this to work is with Wordpress 1.5.
Why don’t you provide a option for me to upload the version I want?
Couple of things here. a. You should always upgrade to the latest version provided by Wordpress. b. I do not want users to upload files that requires me to do multiple validations. The wordpress files that this plugin downloads is the best one I could use.
Will it remember the plugins that were active?
Yes it will remember the plugins that were active before upgradation and only activate those plugins.
How much bandwidth does the plugin use?
The plugin using about 2-3MB of your bandwidth to download files. You will use more than that in a regular upgrade process.
How long will my files and db backups be available?
This plugin is to be used for a continious process till completion, it provides you with backups which you should download before moving to the next step. If you do not download the backups, at the end of the process you will be given an option to download it. Clicking clean up will delete those backup files.
Where are the files and db backup stored?
The files are db backups are stored in a folder called wpau-backup in the root folder of your site.
Does wordpress automatic upgrade provide a rollback?
No it does not, the function of WPAU is to seamlessly upgrade your versions. Rollback features will be added in future versions.
Installation Instructions
1. Download the wordpress-automatic-upgrade.zip file to your local machine.
2. Unzip the file
3. Upload `wordpress-automatic-upgrade` folder to the `/wp-content/plugins/` directory
4. Activate the plugin through the ‘Plugins’ menu in WordPress
Usage Instructions
Go to Manage -> Automatic Upgrade and either click on the link provided to run or use the automated version link to let the plugin run in a automated way.
ChangeLog
- Version 0.1 released Tuesday, July 17th 2007
License
All files and their contents are licensed under the General Public License(GPL).
Support
If you feel this plugin has helped you can leave a small donation towards further plugin development.
Download
Download Wordpress Automatic Upgrade v0.1 downloaded 51293 times
Please note this plugin is still in beta state and may have bugs. If you find any bugs or want to report any problems you have faced please feel free to leave your comments or you can send me a email at wpplugins@techie-buzz.com
This plugin is a part of the Weblog Tools Collection plugin competition too.
Popularity: 100% [?]
Post written by
on
July 17, 2007 . Permalink
| Jump to Comments
Tags: WordPress Plugins, WordPress Tips and Tricks, WPAU
Read more articles from
WordPress Plugins


















Wow it has to be the best plugin ever made for wordpress!!
Thanks for the compliments.
wordpress-automatic-upgrade/wpau_upgrade.class.php on line 361
We could not complete the upgrade please try again later, click here to check the logs.
Any ideas?
Thanks
John
This is the best plugin i have ever seen
glad you liked it Uzair.
Impressive. I’m sure a lot of people will be upgrading now that they can use this plugin. Great work buddy.
Stumbled.
Hey thanks for appreciating Baron.
Great plugin to prevent any loss of data. Thanks mate.
I’ve not tried it but I thought I should alert you that WordPress is spelt “WordPress”, not “Wordpress” or “wordpress”. It may mean just a typo for you, but people will question your credibility if you can’t even get the platforn name straight..
Hey pelf,
Pardon my spelling mistake but how does it question my credibility on not naming a platform. FYI wordpress is not in the dictionary so however you spell it it’s always wrong may it be WordPress, Wordpress or wordpress. This is not a spelling competition.
Keith
Hi Keith
Yeah, I understand this isn’t a spelling competition, and I hope you don’t take my comment personally. To quote an article Lorelle wrote on Blog Herald:
WordPress is the correct trademark… funny however, that the WordPress program itself natively installs itself in a /wordpress/ directory and not /WordPress/ which it could have easily done.
WP, wordpress, Wordpress, are fine. Yes, they may run a foul by the more persnickety types, but they’re all pretty common usage.
For example, it’s called a “BlackBerry”, technically. However, most people commonly use “Blackberry” and even there, if you’re referring to the platform, you should probably be using “Research In Motion”, but if you use that, you’re likely to lose most non-tech types (most business users of their beloved “BBs”) because they mostly think of them as simply, Blackberries (or is it BlackBerrys? #^@$). But I digress…
Let us not forget that these funky trademarks like WordPress are not exactly proper nouns.. anyway. So if someone’s “mistakenly” uses Wordpress instead of the trademark, you have to give some leeway. And most certainly, I’m not fan of being influenced by anyone’s marketing department… with the exception of WordPress, because they’re the greatest blogging software in the world and I don’t think they have a marketing department. WordPress it is.
Lol! URLs are case insensitive. So it does not matter if its WoRdPrEsS or wordpress!
Oh my.. This is funny.. Spelling.. LOL…lol…
If you have a Yahoo! web hosting package, the URLs are case-sensitive though. So thanks to WordPress for *not* capitalizing the installation directory! =)
Seriously, I thought this was meant to be a joke but after reading a bit further I’ve realised it wasn’t…. Bet the spelling police will arrest my sorrow Swedish bum too?! ;P
I choosy the plugin not the spelling… Lol
LOL I’m not a good writer myself, so I don’t mind much about spelling and grammar as long as it’s understandable. Don’t get too serious with this issue unless you are publishing a paper.
Love this plugin. I’m going to try now and give you a feedback. It’s very useful for newbies like me. That’s awesome! I’m going to recommend this to my friends too. Thanks again.
oh pallllllllllllllleeeez… That that is the most ridiculous comment ever… You don’t have a lot of friends do you?
Keith,
This is a great plugin for wordpress.
I have downloaded and tried the plugin to upgrade from version 2.1.3 but it doesn’t work..
Didn’t work for me either. Failed at the last point I think. I sent in the log file. Guess I’ll go back and try to repeat what I did last week to upgrade. Can’t wait for the one-click upgrade to work.
WordPress, wordpress, Wordpress, wp, wordPress, WP…
All the same to me personally, but I still spell it WordPress.
pelf,
I’ve had issues with one of my hosts and the issue seems to be folder permissions. What step is yours failing at and are you using the automated version or the step-by-step version?
Thats a great plugin and saves a lot of time…
Awesome Job, Keith. Will surely help people like me.
Keith,
What an awesome WP plugin release. I am sure once this plugin goes through iterations and refinements, it could be a part of Wordpress itself. Imagine the amount of time you are going to save for thousands of bloggers. Not only that, the updation process will become so simple and the update to WP’s will be so much faster.
I can’t thank you enough for providing this plugin to WordPress Community. Well done and keep up the good work !
One of the major reasons for success of WordPress paltform is due to the quality releases you guys provide, without asking back much in return !
Hey Trakin,
Thank you. Yes when its open source you get lot of quality enhancements and refinements done and that’s what the worpdress community is about.
The plugin won’t get past stage 1 with my WordPress weblog.
I get some errors:
I couldn’t find any documentation about file permissions, settings or restrictions… Is there any available?
Hi Stefan,
Thanks for the error. I will definitely work on this and fix this error and release with the next version.
Thanks
Keith
Keith, you have got a great plugin but i didn’t have a chance it try it though. Once this plugin becomes stable won’t it be a better idea to integrate with WordPress release itself?
Hi Benedict yes once the plugin becomes stable I will definitely push for integration.
Wow, I was wondering where you were. This is a good excuse
I wonder how FFS nobody has registered the fact, that this plugin doesn’t put the site back from maintenance mode to production mode.
Now I have my test site (thanks God I was cautious enough not to put it on my production site!) displaying some nice:
“The Site is currently undergoing maintenance, Sorry for the inconvinience
Wordpress Automatic Upgrade Plugin provided by Techie Buzz.”
Any way to get rid of this?
Hi Wojtek,
This message should go away when you complete the entire process. Did you complete the entire process?
To do away with this message simply delete the index.php in your root directory and rename index.php.wpau.bak to index.php.
Thanks
Keith
Hi Keith,
glad you’ve been so quick, even though we’re in totally different timezones.
Yes, I’ve run the process from the very beginning to the end. However there were some issues I’d try to pinpoint:
a) when I settled down for the ‘automatic’ process (it’s a test site after all), the automatic procedure failed on step #1. But it was all OK when I ran it step-by-step manually.
b) the pre-final screen provides a bit of disambiguation - there’s a link “final step here!” leading to DB upgrade, and another one, a bit below, leading to the “final step” (display of changed files, additional links for DB backup download etc).
c) I’ve tried to run this script on a site that doesn’t allow ZIP unpacking by PHP - I believe a quick preflight check of site capabilities would be nice.
Finally, a “manual override of maintenance mode” (actually a solution for my case
) would also be quite helpful in troubleshooting.
Thanks again for the tip, I didn’t thought of taking a peek into the root dir
Hi Wojtek,
First of all the quick reply is possible using another plugin I had created earlier called Better Comments Manager :).
For your queries.
a. The issue with a has been fixed I am releasing a new version probably today or tomm that should take care of it.
b. I understand that issue but I am trying a way to fix it.
c. I am running a pre check now in the latest version. I would absolutely fix all issue you report and will definitely take this into the fix process when I release the next version.
Yes this plugin is young and so the FAQ’s are not up to the mark. I will definitely add this to the FAQ too.
Failed at first step with a lengthy (full page) error message beginning with :
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' task_log = '<br /><br /><br /><strong>Creating</strong> files backup archive at' at line 1]UPDATE wpau_upgrade_log set task_status = , task_log =’ (…)
I looked at the source code and it looks like something might be failing in wpau_backup_files(), though I’m not sure yet. I think I found a different mistake though - in wpauPersist(), line 786 says
$wpdb->query('UPDATE '.WPAU_LOG_TABLE.' set task_status = '.$funcComplete.', (…)When $funcComplete is false (as in my case when wpau_backup_files() apparently fails) this line will evaluate to … task_status = , … -> incorrect MySQL syntax. If I were you I’d use
intval($funcComplete)here (there might be a better way, I don’t know :P)Hi Janis,
Thanks for the information. I have already fixed the bug and also others which this plugin had. I am doing some testing right now and should release a newer version this weekend.
Help me!!!! after i upgrade using this plugin……My blog is not working
Faster reply me………
Hi John,
Can you please tell me the issue you are facing I would be glad to help you out and fix the problem.
Keith
I LOVE YOU
i have 6 sites and is a pain in the a** update all them but now i can take vacations you are the best , i hope yoo can make the same with the templates
Like always, Keith’s plugins are always the best. Thanks for reliving the upgrade pain
Hello,
I wanted to try this, but after it asks for my ftp account I get these errors:
Warning: ftp_mkdir() [function.ftp-mkdir]: No directory name in /home/mysite/public_html/wp-content/plugins/wordpress-automatic-upgrade/wpau_prelimcheck.class.php on line 393
Warning: ftp_site() [function.ftp-site]: No file name in /home/mysite/public_html/wp-content/plugins/wordpress-automatic-upgrade/wpau_prelimcheck.class.php on line 399
I does say “done WPAU is ready to roll”, but in view of the above errors I didnt know if it would be safe, so I didnt proceed.
I have no idea what to do, what can be done?
Thanks.
Thanks for such a great list of plugins, this list are so helpful for the new guy.
Thanks
Vic
Awesome plug in. Thank you!
The plugin worked wonderfully updating 2.2.1 to 2.2.2 but it doesn’t reactivate the plugins after the upgrade. Please fix this problem. This problem is also faced by one more user I know in updgrading from 2.2.1 to 2.2.2
Read about it at http://www.johnchow.com/wordpress-222-and-2011-security-update/#comment-93026
Hi Nspeaks,
I have found out this bug and this issue should be fixed and a patched version released shortly.
Thanks for developing the plug in. Very useful.
thanks for the appreciation dave.
Thanks!
Wow, this iasawesome.
I’ve just succefully upgraded my wordpress blog.
Just found this plugin and decided to give it a try. But upon trying to just activate it, I get this:
“Plugin could not be activated because it triggered a fatal error.”
Just read the blog entry and saw the link here, so here you go.
Great job. As we say in spanish, “funciona como un reloj” (it works like clockwork).
Hi, Thanks for the wonderful plugin. I am not able to go beyond backing up the files and the database. When the plugin tries to download the latest version it fails with the following message
Task Name: getlatestfiles
Task Description: Downloads / Uploads the latest files for wordpress
Task Status: Failed
Task Start Date: 2007-08-28 09:56:21
Task End Date: 2007-08-28 09:57:21
Task Log: Starting to download the file from http://wordpress.org/latest.zip
Downloading the file using FOPEN methodERROR -> Remote File Error -> Could not read remote file. Please specify a proper path
Can you please help with the error, so that I can upgrade my two blogs without any problems.
Thanks once again for the wonderful plugin.
I keep getting error messages:
Warning: ftp_chdir() [function.ftp-chdir]: /-public_html: No such file or directory in /home/cfl/public_html/wordpress/wp-content/plugins/Automatic Update/wpau_prelimcheck.class.php on line 203
Warning: ftp_site() [function.ftp-site]: -public_html: No such file or directory in /home/cfl/public_html/wordpress/wp-content/plugins/Automatic Update/wpau_prelimcheck.class.php on line 166
Warning: ftp_chdir() [function.ftp-chdir]: -public_html: No such file or directory in /home/cfl/public_html/wordpress/wp-content/plugins/Automatic Update/wpau_prelimcheck.class.php on line 395
Works like a charm. Installed plug-in, clicked the auto upgrade feature and away it went. No problems. What a great plug-in… much appreciated.
Hey Robert,
Glad you liked it.
Keith
Tested it on three Wordpress installations.
If running from a www domain, the manual process will time out after the backup, when it’s doing the upgrade. Nothing happens on the server side, the site is left alone.
On subdomains, I get the following 404 error:
/wp-admin/page=wordpress-automatic-upgrade/wordpress-automatic-upgrade.php&task=files&_wpnonce=9ae31c0183 was not found on this server.
I’ve tried this on two subdomain installs, and one www domain install.
Hope this helps the debugging process. I’m looking forward to see this working 100%. Updating multiple wordpress installs is a pain.
Hey Uber,
Thanks for the information, I will fix the above errors and release a patched version soon.
Keith
It would be nice to have a list of all the files that need to be writable. Or, better yet, a shell script that asks for the username of your web server user and then sets the permissions correctly. I don’t run FTP for security and memory reasons (SFTP only).
A great plugin, one of the best really!
But there is a little error:
wpau_prelimcheck.class.php:90
if($thePerms[2]
How long should it take to upgrade? I seem to be stuck at step one… I see a wpau-backup folder is created, it has to files in it, both 0 k. This for about an hour and a half. Should I wait? should I cancel (if possible?)
thnx for you help.
in my case take only 1 min and a i try in 6 diferent sites
all the users can update and is not ok only admin can do that , will be great to fix this.
But in general work great.
I’m getting the 404 as well. First of all I see this “Great the preliminiary checks of your server is complete and WPAU is ready to roll. Click here so that we can start the upgrade.”
So I click there, and it 404s immediately. I don’t have WordPress installed in the root of my domain, but in /wp/ - could this be causing the problem? My installation is v2.2 and I was hoping to upgrade to v2.2.3, but I’m having no joy.
–c.
Upgrade worked fine, apart from not being able to reactivate the plugins at the end.
Hi Keith, Thanks a lot for the great plugin. It works like a charm.
I only had an issue with a blog with ver large database >100MB. Is there a way you can make the backup step optional.
Thanks
I couldn’t wait to try it but when I did today, I got error at Stage 3. Anyone have any idea what that means?
I get the following error when trying to use auto run:
Could not successfully get the latest WordPress installation. Failed at Step 3.
Anyone know how to fix this?
Hey Kieth,
Thanks for the plug in, I know it will be a good thing. Whenever I activate it though I get:
WordPress database error: [Lost connection to MySQL server during query]…
and
WordPress database error: [MySQL server has gone away]…
and
Warning: Cannot modify header information - headers already sent by (output started at…
I hope this helps - I cant activate at this point.
Hi,
why always stating this “Database files could not be backed up. Failed at Step 2.”
how to fix it ? thanks
I had the same issue. Probably because of exec() being disabled in PHP prefs (at least it comes up in non-automated version). Haven’t found a solution so far.
how do we delete the wpau-backup folder? i am unable to do so via ftp