March 17, 2009
Web Server CatashropheOn March 5th, the server that has faithfully run the Brianstorms blog (as well as all my other personal sites) crashed big-time. Power supply basically gave out, as did the motherboard. And neither of those were any help for the ancient 8.4GB IDE drive, which is now corrupted.
The good news, sorta, is I had backups. The bad news, for sure, is that this machine was so old, that the operating system and even the database format used by the MovableType blog software have for all intents and purposes become obsolete. Specifically, FreeBSD -- who uses that anymore? Well, in 2001, it was a pretty hot, well-regsrded-as-secure, operating system alternative to Linux. So I went with it. And this machine worked like a champ for all these years.
Mistakes were made, however. I never upgraded the blog software. I was just starting to, actually, beginning last month. It's actually pretty difficult to upgrade from super-ancient MovableType version 2.661 to version 3.0 and then version 3.1, and then version 3.2, which is the path you have to go through before you can upgrade to the current 4.x version supported by SixApart today.
But the big problem is the underlying data for the blog. In all those years I never installed mysql and so relied on MovableType's support for the primitive Berkeley DB flat-file data system to store the blog data. That turns out to have been a REALLY BAD THING.
See, somewhere along the lines, someone got the bright idea to update the internal file format of the Berkeley DB files. And that meant that new programs could not read old data unless the old data got converted. Well, that seems to have been a reasonable chore for a few years, but the problem here is that, face it, MORE THAN A FEW YEARS HAVE PASSED. Which means, in terms of a website, it is in DEEP VOODOO.
The good news is, you see that Brianstorms is up again. Well, the hardware running it is brand-new, super insanely fast, and should run for years reliably. However, I couldn't get FreeBSD to run on this new server, so I switched to Ubuntu Server, a very popular Linux alternative that lots of people seem to like these days. It installed on the machine flawlessly and I was up within 10 minutes. BUT . . . Ubuntu is 2009, and sure, it has support for Berkeley DB, at least the NEWER version. So, MovableTYpe when installed on Ubuntu, inherits the support for the newer version of Berkeley DB. And when I installed the backups of Brianstorms, complete with old-style DB format, MovableType couldn't read it.
I've been troubleshooting this mess for several days now and STILL cannot get MovableType to read the data. Yes, I've installed all sorts of Berkeley DB packages like the one on the Oracle site. Yes, I know about the MovableType Knowledge Base support page that talks about this very problem and what to do to solve it (I've followed those instructions to the letter and still, epic fail).
So, things are going to look strange on this blog for a while still. This post is not even a blog post -- I am manually typing in the index.html file using the VI editor, rather than using MovableType since that DOESN'T WORK ahem *grumble*. Indeed, I even manually hacked the RSS feed so that it would appear that this story is a new blog post.
If things don't work out in the next day or two, I'm going to just say screw it, and not restore the database at all. Instead, I'll create a brand-new Brianstorms from scratch, and link to all the archived pages from 2002 thru early 2009. But they'll be HTML only, non-searchable, and not part of the new MovableType. That's Plan Z, which may seem pretty drastic, but I've already tried PLan A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, and T. I'm running out of plans, and the last one is gonna be Z.
Read More in the Archives:
September 2008 | August 2008 | July 2008 | June 2008 | May 2008 | April 2008 | March 2008 | February 2008 | January 2008 | November 2007 | October 2007 | September 2007 | August 2007 | July 2007 | June 2007 | May 2007 | April 2007 | March 2007 | February 2007 | January 2007 | December 2006 | November 2006 | October 2006 | September 2006 | August 2006 | July 2006 | June 2006 | May 2006 | April 2006 | March 2006 | February 2006 | January 2006 | December 2005 | November 2005 | October 2005 | September 2005 | August 2005 | July 2005 | June 2005 | May 2005 | April 2005 | March 2005 | February 2005 | January 2005 | December 2004 | November 2004 | October 2004 | September 2004 | August 2004 | July 2004 | June 2004 | May 2004 | April 2004 | March 2004 | February 2004 | January 2004 | December 2003 | November 2003 | October 2003 | September 2003 | August 2003 | July 2003 | June 2003 | May 2003 | April 2003 | March 2003 | February 2003 | January 2003 | December 2002 | November 2002 | October 2002 | September 2002 | August 2002 | July 2002 | June 2002 | May 2002 | April 2002 | March 2002 | February 2002 |
Be sure to take a look at these other fine websites:
Copyright 2002-2004 Birdrock Ventures. brianstorms is a trademark of Birdrock Ventures.