Automatically Upgrade Your Wordpress
Today I upgraded my Wordpress from 2.2.1 to 2.2.2. They didn’t change many things, it was only a security update. So, being not a major update, it is possible to copy the new wordpress files overwriting the old files from your installation, without being necessary to update your database. This worked well, but here I want to point the other method to update your wordpress blog, using a plugin that will upgrade your blog automatically to the latest version. The plugin can be downloaded here and the detailed instructions to using it are here.
The steps which the plugin does;
1. Backs up the files and database and makes them available for download.
2. Downloads the latest files from http://wordpress.org/latest.zip and unpack it.
3. Puts the site in maintenance mode, deactivates all active plugins and will enable them at the end.
4. Upgrades wordpress files and give you the possibility to upgrade the database.
5. Re-activates the plugins.
If you don’t want to see/use the intermediate steps let the plugin to be run in an automated mode, and you don’t have to carry about, you will see only the final page and you are invited to check your blog.
That’s all .
Minor problems in my case:
1. the plugin had no rights to write in wordpress install directory, so I had to fix this first, and rerun the update
2. all plugins were activated but only the sidebar plugin was not activated at the end, so, it was necessary to activate it manually
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.
Comments
I have no idea why this article is dugg. WordPress itself has already provided the most detailed and simplest way of upgrading WP 2.2.1 to WP 2.2.2. Your instruction is merely a copied version of theirs. Furthermore, I do not see the use of the plugin, especially when you already deactivated all the plugins.
@SaveVideos, the plugin does not need cron, or other stuff, all you need is to enable it and follow the steps.
@Keith, this can be an alternative option to upgrade wordpress. Maybe some users like it maybe other doesn’t like it, so, it is your option if you want to use it or not. And, finally, all the plugins which I use, are activated.
A quick alternative is to just use the SVN version of wordpress. Then it’s just a matter of SSHing to your webserver and typing svn up. You can track either the main trunk to get the latest code (potentially with bugs), or the 2.2 branch like I do to get the latest 2.2.x fixes.
I produced a similar BASH script last year:
http://matthall.wordpress.com/2006/08/01/script-to-automate-wordpress-update/
[...] just came across a pretty handy Wordpress plugin thanks to Digg. This plugin automatically upgrades your Wordpress installation to the latest release. It is extremely helpful and a timesaver for those of us who don’t take [...]
[...] Auto-upgrade WP Filed under: Administrivia, Technology — 0ddn1x @ 2007-09-10 22:10:02 +0000 http://www.vioan.ro/wp/2007/09/02/automatically-upgrade-your-wordpress/ [...]
[...] Automatically Upgrade Your Wordpress | Ionut’s WebSpace (tags: wordpress upgrade plugin blogs blog tutorials howto) Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages. [...]














[...] hier vorgeschlagende Wordpress Plugin aktualisiert deine Wordpressinstallation auf die aktuelle Version [...]