Subscription: Absolutely free!

To Be Read

June 21, 2007

Migration Is Dirty

Okay, Everomp is settling into its new home. Wasn’t that bad. Stubbed a few toes moving boxes in. Hit my head on the mantle above the fireplace once. Ouch. Other than that, I think any major issues are passed us.

The only real setback I had was moving Movable Type in one piece to its new home. I knew settings would be off and I’d have to re-jigger a few toggles. Mainly I was vaguely fearful of permissions, databases, things I haven’t much clue about. After a quick email from Dreamhost’s support staff, I made quick headway.

Unfortunately I couldn’t find much information on moving MT to a new server. So, to you struggling with the same problem, hopefully you’ve found this.

I got the dreaded Internal Server Error. I’m sure this means clear roadblocks to some, but all I could see was fog. However the problems were easily solved.

  1. Make sure the directory containing your mt.cgi files is set to 777. I used a regular FTP program to accomplish this.
  2. Do the same for the directory containing your database. I did this without testing step 1, but I’m assuming this is necessary.
  3. Run mt-check.cgi. You want to make sure your new server has all the right pieces in working order.
  4. Open up mt.cfg with your text editor of choice (I used BBEdit) and check your home directory settings. Mine still contained the root path of my old server. I only changed the first three lines, but read through and make appropriate changes: CGIPath http://www.mydomain.com/movabletype/ DataSource /home/root/to/your/db/
  5. These steps should get mt.cgi to work properly. Once logged in, go to your Settings page, and then Publishing. Make the appropriate changes to the following: Site Root: /home/root/ (where root has your index page)
    Archive Root: /home/root/archive

Only reason I cover the last step is I scratched my head a couple minutes wondering why I still couldn’t publish anything new. My scripts worked. My database was live. Yet nothing was getting through. Sometimes the simplest answers are the hardest to find.

Fortunately, these steps are pretty basic and painless. Everything is in working order now. Hopefully you can say the same.

Now get back to work.

Clamoring






    
Body:

Preview