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!

Stumble It!
Upgraded

Related posts:

  1. Upgraded
    " I’ve upgraded this site to WordPress 1.2. The process was quick and painless. It took me about 20 minutes, 15 of which was spent..."
  2. WordPress 2.5 RC1
    " The first release candidate for WordPress 2.5 was announced last night. The adventurous among you can download it for testing. New features include: Faster..."
  3. Upgraded
    " I went ahead and took the plunge: this site is now running WordPress 2.0 RC3. Everything seems to be working fine so far, despite..."
  4. WordPress 2.1 Released
    " Hot off the presses is the latest feature release of our favorite blogware: WordPress 2.1 “Ella”. You can find a bore-you-to-tears detailed list of..."
  5. WordPress 1.5 “Strayhorn” released
    " The latest and greatest version of WordPress is out. WordPress 1.5 (the “Strayhorn” release*) has more new features than you can shake a stick..."
This entry was posted in Announcements, Blogs, Personal, Plugins, Themes, WordPress and tagged , , , , , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

6 Comments

  1. Raj bloghash.com
    Posted February 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. markku rebelpixel.com
    Posted February 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. Cody Sortore codysortore.com
    Posted February 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 February 6, 2007 at 7:28 am | Permalink

    Here is another illuminating experience with Wordpress 2.1 upgrade.

  5. DG ditii.com
    Posted February 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. Ken oplei.com
    Posted May 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.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting

  • Subscribe

  • Follow Me

    Twitter  Facebook  Flickr  Last.fm  LinkedIn  StumbleUpon  Technorati  Delicious  
  • Referrals

    Sign up for Text Link Ads and earn money from your blog.
  • Lifestream

    • Anybody know where I can get an apt for PHP > 5.2.6 for Ubuntu Jaunty (without upgrading to Karmic?) [dougal]
      1h ago via Twitter
    • Crap. A bug in the Unbuntu 9.04 version of PHP has caused me to waste several hours. I hate when that happens. [dougal]
      1h ago via Twitter
    • Every time the @BaskinRobbins "Ice Cream and Cake" commercial comes on, our kids all break into spontaneous song and dance. Hilarious! [dougal]
      19h ago via Twitter
    • Today for me will be all about XML. I'm trying to maintain a positive attitude about that :) [dougal]
      1d ago via Twitter
    • @ryanolson I'll be working on a new version of the Fancybox Gallery plugin soon, with user-configurable options. [dougal]
      1d ago via Twitter