Upgrading Movable Type from 3.2 to 3.3
I periodically check to see if movable type has updated their blog software. Today I checked and noticed they had version 3.3. out. Cool, upgrading should be a snap, right? I had to sign in to TypePad to download the latest software. I downloaded the tarball, and uploaded to to my server. Unpacking revealed no readme file. Version 3.2 had a README.txt, though it just pointed you to their website. I like the idea of having the latest installation instructions, but a simple text file with quick and dirty "./configure, make, make test, make install" type of instructions (ahh, the good old days) should still be included.
I poked around on their site and found http://www.sixapart.com/movabletype/docs/Movable_Type_Installation-Upgrade_Guide.pdf. Awfully wordy and geared towards first time install, though there is a section about upgrading. My biggest gripe about open source software for linux is the upgrade process. You always end up running around, copying, moving chmod'ing, logging into your database and executing scripts, etc... I'm afraid Windows has a great thing going with setup.exe. Even a simple perl script with some simple text prompts would be nice. How about just uploading the new tarball, logging into the web admin, and it unpacks itself, makes backups for rollback and so on? I'll give Movable Type credit for the database part, which is done automatically for you via the admin console. This was nice. I could use that when upgrading HORDE applications like IMP (webmail). What a pain upgrades are for horde apps.
Anyway, here are the quick and dirty instructions to get you upgraded on linux/unix in a hurry:
Unpack tarball, backup existing executables
tar -xvf MT3.3.tar
mv /web/mt /web/mt.save
mv /home/brian/MT3.3 /web/mt
cp mt.save/mt-config.cgi mt/
chmod 755 *.cgi
I have to admit, I skipped this step, but I already had a relevant backup. I use mysql so the quickest way is to just tar up your /var/lib/mysql/[blogdbname] folder.
Copy Static files
Log in to the Blog Admin
Log in to the admin and you will see an Upgrade button. Click it and the database is updated. Rebuild the site files and you are done.