The Manual WordPress Upgrade Fix, When Automatic Upgrades Fail

Technology is great – when it works. When it doesn’t, well…that’s when weHow to Manually Upgrade WordPress need virtual super glue, paper clips and duct tape to fix it ‘MacGuyver-style with quick and creative thinking outside the box (so to speak). ;)

Over the weekend, I had a lengthy discussion with a blog commenter about a situation she had after her own blog upgrade when her visual editor did not work after her upgrade to WordPress 2.8 and we discussed her attempt to apply a fix from my blog post. Ultimately she did get that resolved, but this is but one example of blog upgrading gone awry and how computer and browser settings, not to mention web host incompatibilities, could cause problems with an upgrade.

However, probably the biggest reason for a WordPress upgrade issue is with an incompatible plugin. One of the plugins that you’ve been using is no longer compatible with the new version of WordPress.

The other is when you use automated upgrade processes and they fail. Yes, my beloved automatic upgrade plugin is not perfect, and neither is the built-in WordPress auto upgrade. Anything where you just click a button and it’s supposed to happen ‘auto-magically’ has room for error and failure, so best be prepared with a backup Plan B “MacGuyver Style”. ;)

Ok, so that sounds a wee bit more dramatic than it really is, and in all honesty, everyone should know how to manually upgrade a WordPress blog regardless of how you routinely do your upgrades. But this manual upgrade process and thinking a bit outside the box to problem solve and fix things when something goes wrong will serve you well in blogging.

Manual Upgrading A WordPress Blog

1. Download the latest release of WordPress from WordPress.org

2. Backup all of your site files by logging into your site via FTP and downloading those files to your computer. I usually create a folder and name it by the date and called it backup (i.e. 7-20-09wpbackup)

3. Backup your WordPress database. If you have a WordPress database backup plugin, then use that and save the backup from that and save it to the backup folder you created and saved your site files. If not, then log into your hosting cpanel and go to your phpMyAdmin and backup the database from there and save it to your backup folder.

4. Deactivate all your plugins

5. Log into your site and delete all your WordPress files except DO NOT DELETE:

  • wp-config.php
  • wp-content folder
  • wp-images folder
  • wp-content/languages (if using a special languages file, otherwise delete)
  • .htaccess
  • robots.txt

6. Then upload the new WordPress files to your site, overwriting any existing files on the server.

7. Finish the upgrade process by going to http://yourdomain.com/wp-admin/upgrade.php to complete the upgrade process.

8. Update your plugins, if applicable

9. Reactivate your plugins

That’s it, your site is now upgraded. If you attempted to upgrade using an automated method that failed, following the above steps should fix the problem for you, even if the site was ‘broke’; just follow these steps to correct everything.

I’ve done the manual upgrade and my site is still broken, what should I do?

This is where thinking ‘MacGuyver-style’ and a bit out of the box comes into play. If you’re getting an error message, look at that message, it is most likely a plugin incompatibility causing the problems and the error message should give you a clue as to which plugin is causing the problem – deactivate that plugin and that should resolve the problem.

If the error message does not indicate which plugin; deactivate all plugins and then reactivate them one at a time – checking your site after each reactivation to find the offending plugin. Sometimes it’s a plugin that needs to be DEactivated that’s causing the problem, othertimes it’s a plugin that needs to be REactivated that’s causing the problem. Depends on the situation.

If the above does not solve the problem – put the error message into Google as a search and chances are someone else has had the same problem and you’ll most likely turn up a fix for your problem. If that does not help you – by all means, post here on the blog and I’ll be glad to help!

Like I said, it’s thinking a bit outside the box – almost like a detective and sometimes you need to be a bit creative in finding the fix; manually upgrading, looking at error codes, deactivating/reactivating pluging, Googling for answers and asking for help. Yes it’s all very technical – but the internet and computers are well… technical. Blogging certainly has a technical side to it, but I do my best to help make it easier.

----------------------------------------------------------------------
Your Website Needs Some Traffic F.U.E.L.!
Drop by today and discover website traffic strategies that are…
F=Free + U=Understandable + E=Effective + L = Lasting
http://genesisblogging.com/traffic-fuel



Share and Enjoy:
  • Ping.fm
  • Digg
  • StumbleUpon
  • Facebook
  • Technorati
  • del.icio.us
  • Twitter

Comments

  1. Sunglasses says:

    I was having problems even after manually updating my WordPress, so I decided to remove all of my plugins. I left it that way for a few days, then reinstalled my plugins and it started to work just fine. I don’t know if I did it wrong the first time, but it all worked out. Thanks for your instructions, they were helpful and I appreciate that they weren’t too technical.

    • Traci Knoppe says:

      You’re welcome! I’m glad my instructions helped. Upgrading, is necessary, but not always easy. :)

  2. Great article on a subject that more than a few will undoubtedly have problems due to the worm making the rounds and bringing down blogs due to not being up to date.

    Also helps greatly if your Web Host has something called “Mod Security” installed which provides protection against web attacks
    .-= Robert Nelson´s last blog ..Word Clouds made easy =-.

  3. Traci Knoppe says:

    I know that upgrading WordPress is a big fear for many folks, so my hope is that this article will help ease that fear; because keeping WordPress up to date is critically important.

  4. sb says:

    Always have a backup made before upgrading even if you have made it hundred of times before on the same blog. I had to start from scratch on one blog where I did a automated upgrade that I had done many times on other blogs. You’ll never know when you need backups.

    • Traci Knoppe says:

      Yes, excellent reminder sb. Regular backups are essential, even if you’re not upgrading – as you never know when your hosting server might have a hiccup. Never rely on them to have a current backup of your site. It’s your responsibility as site owner to do your own regular backups. I do daily database backups on all my blogs.

  5. What i coincidence :) Just today i was facing an issue with my automatic upgrade from WP 2.8.5 to 2.9… Mailed my webhosting support guys a couple of times and it turned out to be a space allocation issue and a permission issue with one of the folders :D
    .-= Computer Repairs´s last blog ..USB Troubleshooting =-.

  6. GMRHost says:

    Thank you, thank you, THANK YOU!
    When my internet stalled, mid-upgrade, I had no idea how far my “automatic upgrade” had gotten and where to pick up from. Of all the instructions I have looked at on how to fix the automatic upgrade fail, yours is the best! I pray blessings on you, in all you do!

    Tom
    .-= GMRHost´s last blog ..Gospel Music Roundup Christmas Eve 2009 =-.

  7. Peter says:

    Thanks so much for this clear and simple upgrade procedure.

    In my mind I’d built the manual upgrade up into a gargantuan task but in reality it was quite straight forward. My fear is always that the back-up files are so small whilst the blog content and images are so big. I’m never sure I’ve backed things up completely….so far I’ve never had to check!

    My ‘fail safe’ method is; in the FTP simply rename my existing blog ‘blogBACKUP’ and do a fresh install of wordpress named ‘blog’ and then move the relevant files across.

    That way it very easy to revert back if anything goes wrong.

    I’m not sure it’s a recommended method but it makes me feel safe!

    Cheers, Pete

Speak Your Mind

*

Comments links could be nofollow free.

Subscribe without commenting