[browse entry tags]

latest entries
>I just saw the fucking Watchmen trailer.
07.18.08 / Joe
>Animal Crossing: City Folk trailer
07.17.08 / Joe
>Did anything cool happen today?
07.15.08 / Joe
>The Madness of WALL-E's Blood Curse.
07.14.08 / Joe
>Clark and the Summer of Three.
07.14.08 / Joe
>Things We Learned This Week
07.14.08 / Joe
>The Week in Links
07.12.08 / Joe
>Year None Cover Gallery, part 1
07.10.08 / Joe
>I beat the internet, dood.
07.09.08 / Joe
>The Post-Game
07.08.08 / Joe

Upgrading Movable Type in One Easy Step
Wednesday / 03.28.07 / 12:20AM / Joe

As I discussed a month ago, I'm working to initiate some under-the-hood upgrades here at fourhman.com. I have a new main page template already cobbled together; it will not be much of a design change (still khaki-and-red!), mostly some key layout moves and some fun interactive bits. Before I go much further, I wanted to upgrade Movable Type.

Although the party line is how easy it is to upgrade, my initial experience was not as successful. First of all, I'm still on version 2.661, which dates from 2003. (And my Movable Type forum account is from 2002, which just shows how old I am in weblog years.) The upgrade path from 2.661 to 3.34 is not as simplistic. Particularly when you factor in that I'm still running a Berkeley database, which I now understand to be terribly gauche and a highly questionable practice. The suggested database solution these days is MySQL, which you might as well mambo dogface in the banana patch for all the sense this makes to me.

But I tried it tonight. I downloaded the free 3.34 system and correctly uploaded it to fourhman.com (you need to make sure your FTP knows what stuff to send as ASCII and what to send Binary and no, setting it Automatic is not good enough; shouldn't this shit be figured out by now?)

The only clever thing I can say I did was to spirit away my [working] 2.661 install by changing the folder name, rather than deleting all the old system. This was either highly clever or highly stupid, given that nothing worked anyway, as you'll soon see.

After uploading, I tried the new Movable Type and got a big failure. This was because I had not set the chmods of all the cgi files to 755. Duh.

After I did that, it still failed, because I had not modified the config.cgi to reflect my local site path. Duh again, but at least I could follow along and adjust as necessary.

After I did that, I got a Welcome To Movable Type! screen with a request to set up a user account. And the ominous message "after this, we'll initialize your database!"

That scared the everloving shit out of me. Two things: I wanted to upgrade my database from Berkeley to MySQL, and MY FUCK PLEASE DO NOT ERASE FUCK MY WEBLOG SHIT BALLS. So, and this was probably the key error of the night, I backed out of the friendly Let's Make A Username And Erase Your World! screen and went to see about upgrading my database.

There is a supplied cgi that is supposed to convert that, but I had a question: How do you "make" a MySQL database in the first place? The reason why MySQL is the way to go is because the resultant database is more stable, less prone to getting "corrupted," and easily backed up. If your hosting service supports MySQL (mine does), you can even do it all yourself without having to bother tech support, should there be a catastrophic failure. It took me some searching, but I finally discovered that you have to create a MySQL database via your hosting service. This is probably really obvious to some people.

Once that is done - and you have to create user access accounts and everything - you slap that in a config file and then Movable Type's db2sql cgi can do the deed. So I ran that, and I don't think it worked. If you think of a MySQL database as one of those old hotel front desk cubbyhole systems full of room keys, I had the cubbyholes but no keys. No data.

But the worst part is that, now, when I tried to get into my new MT, it declared my login invalid. Probably because I bailed out of it before it finished setting itself up.

None of this bothered or altered my existing Movable Type install and its hopelessly old fashioned Berkeley database, by the way, as evidenced by the fact that I'm able to post this mess for you to skim on your way to another whimsical Animal Crossing / Gangsta pastiche.

I tried deleting and re-uploading the entire 3.34 system again. No dice. I burned through tons of support forum posts, many of which described my exact problem without any kind of offered resolution. So, seeing as my old MT was still working, I gave up. I don't need this kind of stress.

So I bought Movable Type, which entitles me to tech support (the free download does not.) I've been using it for five years now, so they definitely have earned some compensation. I also went a step further and paid for them to install 3.34. Once we exchange information, they should be able to upgrade my MT, get my existing weblog(s) into a MySQL format, transfer all of my current authors and templates and categories and entries and everything, plus save me the cost of a new desk chair to replace the one I surely would have crapped in had I blown up fourhman.com again.

Although the cost made me choke a little ($150 total, and my Google ads will cover it - why don't you click one to make sure!), it's worth it to know that the shit will be taken care of without any chance of me screwing it up. And I'll be able to move forward with my redesign plans. I feel so much better now.

 

comments

fourhman.com allows registered commenting from TypeKey, VOX, OpenID, LiveJournal and AIM.

    previous entry   next entry      
prev   Flashes of brilliance in Baten Kaitos
03.26.07
  The Week in Links
04.01.07
  next

This entry is tagged: fourhman.com Movable Type [browse all tags on fourhman.com]

weblog features
>AC Wild World Diary / 28 entries
>Animal Crossing Log / 31 entries
>Farewell to the GameCube / 18 entries
>Farewell to the PS2 / 23 entries
>Gumby Book of Letters / 7 entries
>Our Trip to Korea / 7 entries
>Pokemon LeafNotes / 17 entries
>Pokemon Pearl Journal / 18 entries
>Pokemon Sapphire Diary / 23 entries
>Sam and Max Hit the Road / 26 entries
>Slashdot Comment History / 7 entries
>Smash Brawl Photos / 15 entries

weblog archive
>July 2008
>June 2008
>May 2008
>April 2008
>March 2008
>February 2008
>January 2008
>December 2007
>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
>January 2002
>September 2001
>August 2001
>July 2001
>June 2001
>May 2001
>April 2001
>March 2001
>February 2001
>January 2001
>December 2000
>November 2000
>October 2000
>September 2000
>August 2000
>May 2000
>April 2000
>February 2000
>November 1999
>June 1999
>February 1999
>December 1998
>November 1998
>March 1998
>February 1998
 
Play-Asia.com - Buy Video Games for Consoles and PC - From Japan, Korea and other Regions!

[fourhman.com home] jump to top