Well, that could have gone better. Yesterday's upgrade to MovableType 3 ended in this:
**** WARNING: "my" variable $matched_string masks earlier declaration in same scope at Blacklist.pm line 1570.
Upgrading your databases:
Running 'alter table mt_author add author_type smallint'
Running 'alter table mt_author alter column author_type SET DEFAULT 1'
Running 'alter table mt_author drop constraint mt_author_author_name_key'
An error occurred while upgrading the schema:
ERROR: parser: parse error at or near "" on alter table mt_author drop constraint mt_author_author_name_key at mt-upgrade30.cgi line 354.
Upgrade was not successful, or you have no blogs.
Upgrade was not successful, or you have no authors.
Upgrade was not successful, or you have no entries.
Upgrade was not successful, or you have no comments.
Great.
Thankfully, I'd done an export of the existing blog data, so all was not lost. Except during the import, all the articles got new numbers. I was going to get upset about it - for example, the previous post had the permanent URL of http://www.andrewsavory.com/blog/archives/000301.html before the upgrade. But I've just noticed that the new URL is http://www.andrewsavory.com/blog/archives/2004/07/blog_spam.html - nice! Much more semantic.
Of course, Google will hate me. And I have broken the cardinal rule. But bugger it, at least the blog is working again. Now where did I put my bagel?
Posted by savs at July 17, 2004 1:52 AM