Upgraded

Okay, I think things are finally (more-or-less) back in shape around here. Sorry about the problems you might encountered here over the past few days. I finally upgraded this site to WordPress 2.1, but I encountered some problems along the way. The problems were really indirectly related to the upgrade, and turned out to be my own dumb fault.

On Friday, I decided to use my lunch hour to perform the upgrade. I backed up my database and my wp-content directory, deleted all the old WP files (I traditionally haven’t bothered with that step, but I knew that several files were renamed/outdated, and I wanted to do some general housecleaning anyhow), installed the new ones, and upgraded the database schema via wp-admin/upgrade.php. Everything looked fine. I switched the theme over to Sandbox and activated the ‘Rockem Sockem’ skin that I had created previously. Then I began activating my sidebar widgets to get my sidebar set up the way I wanted. It was around this time that I started noticing problems…

I started seeing really slow page loads and blank pages, and most of the time when I tried to access an admin page, the browser would time out, or think that it needed to download the page instead of display it. The load on the server was higher than usual, so I figured it was spammers hammering my site at a bad time. Except that when I watched my logs, I really didn’t see much suspicious activity. I wrestled with this for a while, still thinking that high server load was causing the site to have problems. I figured that perhaps upgrading from PHP4 to PHP5 might gain some improvements, and spent a few hours compiling PHP 5.2.0 and recompiling all the associated extensions that I needed. Nope, that didn’t seem to help.

Then at some point, on a whim, I brought up my wife’s web site, which runs on the same server. And what do you know — it came up just fine. I could also login and navigate the admin pages without any problems. Sooooo, the problem was just in my site. Probably a malfunctioning plugin. I disabled all the plugins by renaming the plugin directory temporarily and reloading the page (WP will automatically disable any plugins that it can’t load up, in case you weren’t aware of that trick). Voila, the pages loaded fine. I began re-enabling plugins one-by-one, starting with the ones I was most sure were okay, gradually working down to the likely culprits. Until I finally found it. It was my Now Playing widget, which I had recently (and hastily) refactored. Arg! It was my own fault that I had been having so many problems!

I haven’t narrowed down the exact nature of the problem yet, so that widget remains off. I suspect that the root of the problem is in the old Amazon search library that I’ve been using. I had meant to write my own, updated, stripped-down functions for that, but hadn’t gotten around to it, yet. I suppose I’ll be doing that soon(ish).

So, with that said, welcome to the new improved geek ramblings, powered by WordPress 2.1!

Other Posts of Interest

6 Comments

  1. Posted 2/5/2007 at 6:04 pm | Permalink

    Thanks for sharing your experience. I am planning to upgrade my WP to 2.1 and will first look at plugins in case I encounter any issues. I am currently looking at the list of compatible plugins before I finally upgrade the site.

  2. Posted 2/5/2007 at 8:45 pm | Permalink

    You should’ve checked the wifey’s site right away. They can’t be wrong. :P Hahaha.

    Seriously, I’ve been holding out on upgrading from the 1.5 series though I thought 2.1 will be the version I’m finally migrating to. I’m having second thoughts now, mostly because my site is running with so much hacks they just might break in 2.1. I gotta start testing them on a dev server.

  3. Posted 2/5/2007 at 11:18 pm | Permalink

    Haha, I’ve run into a few incidents like that where I completely screw something up and spend hours trying to figure out “what it did to go wrong” only to find that I was the flawed link.

  4. Jai
    Posted 2/6/2007 at 7:28 am | Permalink

    Here is another illuminating experience with Wordpress 2.1 upgrade.

  5. Posted 2/7/2007 at 9:20 pm | Permalink

    Hi,

    Congrats on upgrading to WordPress 2.1. If anybody interested, check [b]my post[/b] for WordPress 2.1 compatible plugins.

    DG…
    http://www.ditii.com

  6. Posted 5/18/2007 at 11:01 am | Permalink

    Are you going to upgrade to WordPress 2.2 ?
    I will wait till they fix all the bugs :)

2 Trackbacks

  1. [...] just picked up a very useful tip on Dougal Campbells blog that I thought I should note down for posterity, especially with so many [...]

  2. [...] todos los plugins de WordPress con un solo movimiento de mouse. Andy Beard lo hizo gracias a un tip de Dougal Campbells. El truco es este: Cambiar de nombre a la carpeta de plugins dentro de nuestra instalación de [...]

Post a Comment

Your email is never published nor shared. Comments or website URLs deemed to be off-topic or inappropriate may be deleted at the site owner's discretion.