Updating Movable Type the Ai-No way

| | Comments (2) | TrackBacks (0)
Logo Movable Type 4A few days ago, Six Apart released version 4.01 of their Movable Type publishing platform. As with all software upgrades, you want to be careful implementing it, as existing sites might break. Today I present you the method I use for upgrading MT on the Ai-No platform, with the benefits of having a possibility to quickly roll back the update without modification of existing URI's.

  • Download the files from the Six Apart site;
  • Backup the database;
  • Upload the *.tar.gz file and extract the files;
  • Copy the following files from the old (current) directory to the directory of the new version:
    • mt-config.cgi
    • plugins/ (only the files not present in the new directory)
    • mt-static/support/*
    • mt-static/plugins/ (only the files not present in the new directory)
    • extlib/ (only the files not present in the new directory)
    • addons/*
  • Create a symbolic link to the new directory: ln -s MT-4.01-en mt

The trick is of course the symbolic link, making that Movable Type is always available under the /mt directory. Simply by changing the symlink I can quickly change from one version to another.

[Update 2007.10.4] I added some dirs based on Su's feedback.

Categories:

2 Comments

Su Author Profile Page said:

Hey, there.
Your "copy over" list is missing a couple things:

* mt-static/plugins/(not * since the bundled code has stuff in here that might've been changed, but anything added by user-installed plugins)
* extlib/(same as above)
* addons/ (if they've had to create this dir for something)

Maybe one or two others, but that's what's come up immediately.

Jeroen Sangers Author Profile Page said:

Thanks a lot Su! I did indeed copy over the /plugins and /mt-static/plugins directories, but forget to mention that.
What is the addons directory used for?

Leave a comment

0 TrackBacks

Listed below are links to blogs that reference this entry: Updating Movable Type the Ai-No way.

TrackBack URL for this entry: http://mt.ai-no.com/mt-tb.cgi/979