September 25, 2008

Blog Operations Department

How Joel Rosenberg Cost Me $99

I just upgraded the Movable Type blogging software that powers Windpundit from version 4.01 to version 4.21. I did it for all the usual reasons---better, faster, stronger...

No, maybe not stronger.

Movable Type is supposed to be easy to upgrade. Just download the gzipped archive of the latest version and dump it right on top of the existing MT installation. Then I just login to the control panel and it kicks off the automatic upgrade process which integrates the new data files, updates the database, and so on.

Everything seemed to go pretty smoothly. I did the upgrade early this morning and Windypundit was back up in a few minutes.

Then I tried to log in and post something, and all I got was a missing-file error. No menus, no posting interface, nothing.

I poked around and couldn't find anything, so I logged a support ticket at Six Apart, who make the Movable Type blogging engine. I also logged a support ticket with my web hosting provider, Downtown Host, in case they saw anything unusual on the server.

The Downtown Host people got back to me pretty quickly, and we exchanged a few ideas, but they couldn't find anything. An hour later, Six Apart sent me a message back asking for information and pointing out that my support agreement had expired.

The Six Apart support agreement costs $99 per year, but I decided to renew it because last year they helped me with a problem that I never would have found myself. After renewing, I answered their questions and told them I had renewed my support agreement.

Two hours later, they asked a couple more questions.

After another hour, they suggested the problem might be in the ImageMagick toolkit used by MovableType. I had found dozens of 25MB core dumps from the perl interpreter on the web site, indicating that perl had crashed while trying to build the main user interface dashboard.

I asked Downtown Host to reinstall ImageMagick for me, and they did, but that didn't help.

After this, I tried something on my own. I dumped the fresh Movable Type 4.21 install into a separate folder and renamed the folders so that the fresh install would run Windypundit. Then I tried to login to the publishing back end again.

This time it worked. Of course, without all the custom templates and plugins I use, the main Windypundit front page was totally hosed up. But I had proven that the problem was with something in the Movable Type software folder---as opposed to a database problem or a server configuration problem---and it was some file that my old folder had in it that was different or missing in the fresh install.

So I put my upgraded MT folder back and downloaded both it and the fresh install to my PC, ran a comparison between the directories, and spent started poking about temporarily deleting or changing files on the live website until I finally found the change that made it start working again.

Movable Type is indeed mysterious. I don't know how, and I don't know why, but all it took to get Movable Type working again was to delete one small image file sitting in the mt-static/upport/uploads folder.

Here. Take a look at the culprit:

2008-09-25-JoelRosenberg.jpg

That's Joel Rosenberg of Twin Cities Carry. I guess he tried to upload a profile picture of himself when he was leaving comments on my blog, and somehow that one file made everything blow up.

12 Comments

Well, I'm sorry, honest. I didn't know I was trying to upload a picture of myself, even, and I didn't mean to break your blog.

From Joel Rosenberg | September 25, 2008 6:27 AM

Huh. It looks like you signed in via LiveJournal authentication. I guess the protocol must pass your avatar image. And then something deep inside Movable Type barfed on it. Fascinating.

As long as there's no hard feelings, I'm fine with it. Never signing in, again, though, if I can comment quasi-anonymously.

From Joel Rosenberg | September 25, 2008 8:25 AM

Eh, do whatever you want. Not your fault that Movable Type is a little flaky.

Glad to see you got this figured out.

That's why you should use WordPress. :D

As I understand it, Movable Type is the more capable platorm at the high end (e.g. Huffington Post sized blogging), but if I was starting now, I'd probably blog with Wordpress. I don't think it's worth the trouble to change, however.

I don't know - WPMu does really well - CNN uses it, NYT does, Harvard does.

It isn't worth the trouble, to be honest. I agree with you there. I was just giving you a hard time :)

I will say that Wordpress is much better than typepad and that if you were on typepad I'd recommend putting up with the hassle to make the switch.

I'm a programmer at heart, so the advantage of Movable Type---and non-hosted Wordpress---over TypePad or Blogger is that I can tinker with the code if I want to. I don't do it as often as I'd like, but there's always something I want to add to the site.

Interesting comments....I'm sitting here debating "TypePad" vs. "WordPress"......

Each time I think I've chosen the one I want to use, someone recommends the other platform. Arrghhh..

From Lil Spicy | September 26, 2008 11:44 AM

I've been playing around with WordPress a bit lately -- http://60sec.twincitiescarry.com -- and found the installation via Dreamhost's one-click install very easy.

Thinking of moving my Open Sites LJ to there; it's got features that I like. That said, while I started programming on an IBM 1620 (no, that wasn't the year it was built), I've never thought of myself as much of a programmer, and if I can break Movable Type with my friggin' picture I probably should count on keeping my fingers away from code.

From Joel Rosenberg | September 26, 2008 12:09 PM

To be fair to the Movable Type people, they claim that the broken part is the ImageMagick toolkit on the server I'm using. That's the freeware image manipulation software that MT uses.

FWIW, that Beau Smith person who posted a comment at 11:17 yesterday also broke MT with a picture.

Leave a comment


Important note: Due to a flood of spam, I've set the comment filter to mercilessly delete comments that mention the names of certain high-end designer fashion items. So don't mention anything like that if you want your comment to survive.


About this Entry

This page contains a single entry by Mark Draughn published on September 25, 2008 1:39 AM.

An Arrest That Doesn't Pass the Sniff Test was the previous entry in this blog.

Hang On Tight is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Find us on Facebook

Unless you request otherwise, we will assume all messages are for publication and attribution.

Red links are Not Safe For Work NSFW.

Mark

About Mark

PGP key

Visit Mark on MySpace

Ken

About Ken

Gary

About Gary

Joel

Article Syndication

Libertarian-ish

Hit & Run
Cataloguing every inch of our daily slide down the slippery slope towards a more totalitarian state.
Virgina Postrel
Author, columnist, and famous kidney doner.
The Agitator
Radley Balko, libertarian at large.
Nobody's Business
A blog about negative liberty.
Ravings of a Feral Genius
The one, the only, Jennifer.
Honest Courtesan
Notes from a retired call girl.

Bloggy Goodness

Duly Noted
Yet another Lindsay Beyerstein blog.
InstaPundit
Law professor, author, columnist, music engineer, the founding father of the blogosphere.
StrategyPage
News and commentary on all things military.
Last One Speaks
A complicated woman with simple tastes.
Ethics Alarms
Jack Marshall at large.

War on Drugs

StoptheDrugWar.org
Taking the drug war debate to the blogosphere
DrugWar Rant
More reasons every week for hating the War on Drugs.
DUI Blog
The road to hell is paved with good intentions and patrolled by Mothers Against Drunk Driving.
The D'Alliance
The Drug Policy Alliance blog.
Vigil for Lost Promise
A counterweight to the DEA's exploitive site.

Blawgs

a Public Defender
Rants, explanations, and complaints from a public defender.
Simple Justice
Rants, explanations, and complaints from a private lawyer.
Defending People
The art and science of criminal defense trial lawyering
Probable Cause
The legal blog with the really low standard of review.
Unwashed Advocate
Former Military Underdog
Indefensible
David Feige, creator of Raising the Bar and former public defender.
Koehler Law Blog
Don't be fooled by how pretty it is
Not Guilty
A lawyer in search of a clue.
Norm Pattis
Norm will fight for you!
The Legal Satyricon
Entertainment and First Amendment Law
Gamso - For the Defense
An Ohio criminal defense lawyer
Criminal Defense
It's like a criminal defense blog, but from Florida
ECILCrime
East Central Illinois criminal defense.
Underdog Blog
Criminal defense, politics, and God only knows what else.
CrimLaw
A big, goofy, ballcap-wearing prosecutor who even likes dogs. [review]
Blonde Justice
Funny stories about criminal defense.
Crime & Federalism
Legal analysis and bitching. [review]
Seeking Justice
Tom McKenna, Virginia prosecutor on a mission from God.
The Volokh Conspiracy
Smart legal experts.
D.A. Confidential
Making prosecutors seem just like normal lawyers
Crime and Consequences Blog
Because we're just not punishing people enough
Graham Lawyer Blog
Interesting writing about the law.
New York Personal Injury Law Blog
Better than you'd think from the SEO-friendly name
West Virginia Criminal Law Blog
Also better than you'd think from the SEO-friendly name
South Carolina Criminal Defense Blog
And one more that's better than you'd think from the SEO-friendly name

Geek Stuff

Schneier on Security
Smart thinking about computers and other security problems.
The Daily WTF
Crazy stories about bad things inside computer software and how they got there.
xkcd
Extremely geeky comics.
Google Blogoscoped
Smart writing about search engine technology.
The Altruist
Agony Unleashed in EVE Online.

Economics

Steven Landsburg
The Armchair Economist
Greg Mankiw's Blog
Aurhor of the most popular macroeconomics textbook
Marginal Revolution
Everything happens in the margins
Megan McArdle
Business and economics

Photography

Strobist
How to light everything in the world with speedlights
iN-PUBLiC.com
Very cool modern street photography.
Digital Photography Review
Detailed reviews of digital cameras and vicious forum debates too.
Ken Rockwell
Strong opinions about photography.
Dan Heller
Photographs and the business of photography.
Bert P. Krages II
Photography and the law.

Chicagoland

Leslie's Omnibus
I have no idea what this blog is about.
Marathon Pundit
John Ruberry runs, drives, and blogs.

Media

Eric Zorn
Possibly the Chicago Tribune's first blogger.
Miss Manners
A marvelous writer and deeper than you think.
Roger Ebert's Journal
A great writer and a useful film critic.

Resources

WolframAlpha
Data + Computation = Fun Knowledge.
Institute for Justice
A merry band of libertarian litigators.
EFF: Bloggers
The Electronic Frontier Foundation's page for bloggers.
CIA World Factbook
A brief summary about every nation.
Wikipedia
The mostly-useful encyclopedia of everything.
Current Impact Risks
It has to happen some day.

Gone But Not Forgotten

Peter McWilliams
Ain't Nobody's Business If You Do

Web Rings

Credits

Copyright  ©  2002-2011 Mark Draughn. All rights reserved.

Site developed by
Draughn Software Corporation

Powered by Movable Type 4.261
Version 4.261

Downtown Host

Social networking tags courtesy of the Sociotags for Movable Type plugin by Ole Wolf.

Chicago lakefront image by Ken Gibson.

Admin

Valid XHTML 1.0 Transitional

Valid CSS

ICRA

Statistics

Claim Your Avvo Profile