WordPress Automatic Upgrade. A New WordPress plugin

I just recently upgraded to the latest security release of WordPress which took the usual 20 minutes by FTP. Once I was done I checked the blog as usual looking for any problems and I found a comment on my previous post from Ronald Huereca, author of the great WP AJAX Edit Comments plugin I use on my blog about a new plugin by Keith Dsouza called WordPress Automatic Upgrade that completely automates the upgrade process. And you can do it right from your WordPress Admin. Ronald also had a hand in the automation feature for this plugin.

Now is that enough links for one paragraph or what?

of course this came after I had done my usual manual upgrade but whose complaining? I downloaded the plugin, put it through it’s paces and with one small exception it worked right out of the box. This is what it 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.

And that’s exactly what it did on both this blog and a series blog that I’m (slowly) writing. What a breeze.

Now here’s the small exception:

It does not reactivate the DoFollow plugin by Kimmo Suominen or any plugin after said DoFollow in your plugin list. I haven’t figured out why yet but I have emailed Ron and Keith about the problem. The work around is simple enough though. Before you run the automatic upgrade just deactivate the “DoFollow” plugin beforehand and then go ahead and run the automatic upgrade (Manage/Automatic Upgrade) and everything works correctly. And it’s quick!

Looks like our respective WordPress installs just got a heck of a lot easier to upgrade.

Personal note: For the upgrades that involve major revisions such as the next major version of WordPress (2.3), I’ll probably still do the upgrade manually just so I have a hands-on control of every step especially since the next version of WordPress includes tagging as a core feature and I have to import my tags from my tagging plugin and all that happy horse manure. But for the several security releases that come between major revisions, this plugin will be an absolute “must have”.

Technorati Tags: , , , ,

Powered by ScribeFire.

Comments

WordPress Automatic Upgrade. A New WordPress plugin — 9 Comments

  1. Hi Kirk,

    Found the bug, it’s apparently no one’s fault but there is some code in the DoFollow plugin that breaks the entire operation.

    In there on line 44

    if (is_plugin_page()):
    $wppDoFollow->options_page();

    is causing the problem since the plugin was not activated alreaydy the method throws a fatal error and the plugin fails, the reason you may have seen a blank page is because your server settings are not set to show you errors or something. But I am fixing the errors right away and will release patched version which will continue without activating the plugin and show the user a message about it.

    Thanks for pointing this out will help me solve this bug so that other users will not face it again.

    Thanks
    Keith

  2. Oh I can’t wait to try this!! Finally an easier way to update. Have appointments this afternoon but if I get stuck on this tonight I’ll be back with “HELP”. Thanks Kirk and Keith!

  3. Hi Keith,

    No problem. I’m glad I caught it right off since a lot of folks use the DoFollow plugin. I personally know a couple-three WordPress type bloggers that will be anxious to use your plugin (Hi Elaine). :D

    Great job Keith!

  4. Hi Elaine,

    Yup…Just what you’ve been waiting for and just what the doctor ordered for all the WordPress do-it-yourself-ers out there…including this one.

    Just keep in mind that if you’re using the DoFollow plugin you need to disable it before you run the upgrade. Keith is working on a fix for this. I think I remember that you were running a different one for the do-follow function though.

    Let me know how it works out.

  5. Pingback: Just Thinkin’ » Wordpress Automatic Upgrade Plugin: Update

  6. Grrr………why doesn’t this stuff work on the first time for me? I think I’m updated but I had to activate all my plugins. I hope everything is back to normal :-)

  7. Pingback: WPAU Bugfixes and Updates « Techie Buzz

  8. Pingback: Just Thinkin’ » Just when you thought it was safe to post…