Upgrading from 2.2.3 to the 2.3 release had two effects:
- The cat2email plugin, which we rely on to power Missing Link, breaks.
- The upgrade borked our categories. Every category is gone, every post is now uncategorised. Why? So Wordpress developers can feel good at how cleverly they tied together tags and categories.
It doesn’t help that this time I was lazy and didn’t back up the database. Oh, there was the usual “you should back up your database, files and kittens” boilerplate in the release notes. But what I would have liked is “warning, will completely bork your carefully chosen categories system”.
I am so po’d I could choke. At myself. At the Wordpress mob. At the amount of work this means for yours truly.
Update: They say the bad workman blames his tools. It’s simple: if I’d backed up the database like the last three times, this wouldn’t have happened. Now I guess I’ll need to fix the uncategorised posts manually.
Some good news though. A lot of posts and associations seem to have come through unscathed on unloading and reloading the database.
Update 2: About 300-400 posts had some categories missing. About 6 hours ago I decided it would be a doddle to recategorise them manually. The devil made sure to ensure that “Economics” was a category that went walk about, including as it does almost every post from the prodigious keyboard of Nicholas Gruen. Anyway, it’s done now, and it let me revisit a few gems from the archive. This really is a great site.
Update 3: Oh, and as those of you who subscribe to Missing Link via email discovered, the cat2email plugin works just fine. It just doesn’t seem to.
Jacques Chester:
Welcome back …. and so swiftly too.
You said
Sometimes that’s because the tools, and the training in the use of them, are faulty or inappropriate.
*hugz!*
It’s always to best to wait a few weeks after a WP release before upgrading and during that time keep a close eye on the WP support forums for reports of all the bugs, plugin incompatibility etc.
That’s a fine theory for projects with more sophisticated release management, but Wordpress always bundle a bunch of security fixes into their major point releases. Tracking the subversion repository is too much hassle, but to keep the place as secure as possible I follow the point releases pretty closely.
This all ignores the fact that the single biggest danger to the integrity of our database was in fact the upgrade script from Wordpress. Goody.
Speaking of releases, the Wordpress.org developer list is currently blazing with ideas about what to do in the next release. How about fixing bugs, fortheloveoftapdancingf*ck. Such as my pet peeve – that Wordpress is not UTF8 from end to end, causing corrupted characters when databases are dumped and reloaded – it has been pushed back again.
You’re good man, Jacques – well done.
What Sinclair said!!!
Well, at least, what Sinclair said in comment 6 on this thread!!! I don’t know where you find the time for all this Jacques!!!
What Sinclair said too.
I think you’ll find the correct quote is “A poor workman pulls his tool.”
Star effort, Jacques – very much appreciated.
Gimme back that $0.00 I gave you.
is ‘borked’ a word? If not, I’d be putting it up on Urban Dictionary, Jacques.
Wup! Just checked and it is. “To have totally fucked something up. Usually by doing something stupid. Specifically used to describe technology that is broken.”
Appropriate even.
oi, Damien. So little faith. Who told you how whatisname, Captain Jack, got back to the present in Torchwood? Ha. I’m wounded.
Jacques:
“Contact Club Troppo” does not seem to be working. I get “Error 404″.
Pingback: The State of WordPress’s Upgrade Cycle :: WPLover