MainDoctor WhoMusicSoftware
Main Page

Alden Bates' Weblog

Feigning normality since 1973

February 13, 2010

Upgrading a server to Movable Type 5.1

Filed in: Movable Type.

As I'm informed by a user that Paged Archives isn't working under the new Movable Type 5.1, I'm going to have to install the new MT on a test server so I can fix my plugin. Because I know from experience that upgrading a Movable Type install is hideously tortuous, I'm going to document the process here in the hopes it may help someone who is going through the same process.

Step one, obviously, is to download MT51. I note as I do that the zip file containing MT5.1 is listed as 8.5MB 50% bigger than that for the previous version. Although that appears to be inaccurate, as the zip file I download is only 6.8MB.

Step two is to unzip the thing and rearrange the directories into a more sensible order. The contents of a Movable Type zip always seem to be in a strange order which never makes any sense to me and never configured how I'd expect a live server to look. Maybe this is why it doesn't have an inbuilt update system like Wordpress. Once I've shifted everything around, deleted the useless empty directories, the php directory (since I don't use dynamic publishing) and the plugins I don't use, I zip everything back up and upload it to my test site.

While I'm waiting for it to upload, I notice a box on the download page saying "Easy to use, easy to install - Movable Type is easier to use than ever before, with a redesign user interface and a brand new installation wizard." A "redesign user interface"?

The upload done, I log into my site's control panel and use the File Manager they provide to unzip the file. Of course, because I'm using zip instead of gz, it means all the scripts have to have their execute bit manually set, but at least unlike gz it doesn't default the file owner to something Apache can't access, as it seemed to do last time I tried that.

Step three, run the upgrade script. This gives me a screen with "Upgrading database...", an empty box and a spinning blue barber pole. I go do something else for ten minutes, and come back to find it in exactly the same state. I hit back and click the button again and go an play a game for ten minutes. The same thing happens. Uh, maybe the update was successful? I go to the main mt script, and it kicks me back into the updater which doesn't work. Because I'm insane, I humour it by clicking on the button again and getting the same result.

OK, maybe there's strange incompatibility between Chrome and MT's upgrader. I load up FireFox and do step three again. While that's running, I check the Upgrade Guide to see if it has any relevant info. And ten minutes on, Firefox is having the same results.

After catching up on Lost, I decide to try the "fresh installation" mentioned on the Upgrade guide, so I delete/rename the existing files, and extract the zip file again. This time, it works! Well, as far as things actually appearing on the screen goes, that is. Partway through it crashes to a halt with "Error during upgrade: Can't call method "site_path" on an undefined value at lib/MT/Upgrade/v5.pm line 417."

Luckily this page has information about the problem and suggests moving the "themes" directory into the directory where MT is. Even though I'm not using themes. Finally the upgrade script successfully completes and I can get to the MT back end.

Running the upgrade script three times seems to have the consequence that MT thinks I have three websites or something. There's probably a way to delete the extra ones, but since it's only a test server, I don't particularly care. It's installed, and I can test the Paged Archives plugin with it.

Now everything's ready, I go to the blog's plugin page and get the error "Can't call method "label" on unblessed reference". What? Assuming that there's some major incompatibility in PA which is hosing the plugins page, I delete PA. Same result. I delete the only other plugin I have there. No change. Another Google gives me this post from January, which describes the same problem, but is unanswered.

Aha, apparently it was related to the themes directory (again). I'd ended up with both of the themes directories from the zip in the same place. One was meant to be in the directory with my static files, the other was meant to be in the MT directory. Once I separated them into the right places, it worked again.

Now to get PagedArchives working with it. It looks like some of the functions I was relying on have moved. I suspect it may require a separate version of the plugin for MT 5.

Posted at 12:58 PM | Comments (1)

January 14, 2010

Why does...

Filed in: Internet.

Google has this awesome search suggest feature, which shows you what the most popular searches are for the query you're starting to type in.

"Why does..." search

Hmm, lotta hygiene conscious women out there.

And a lot of people with dogs that eat poop.

Posted at 4:26 PM | Comments (0)

January 6, 2010

The End of Time, Part 2

Filed in: Doctor Who.

Like part 1, I pretty much knew what to expect, as it was typical of just about every Davies finale thus far. Despite it having many good moments, it felt ultimately like a bit of a let down. This was Davies' last chance to write a finale, and instead he more or less repeats himself.

Continue reading "The End of Time, Part 2"

Posted at 8:48 AM | Comments (1)

December 29, 2009

The End of Time, Part 1

Filed in: Doctor Who.

To summarise in advance: The End of Time, Part 1 is an example of a typical first part of a Russell T Davies finale. If you're seen his previous finales, you'll know what to expect.

Right, from here on, spoiler warning apply.

Continue reading "The End of Time, Part 1"

Posted at 8:26 AM | Comments (0)

December 15, 2009

TFWiki.net passes 10,000 articles!

Filed in: Internet, Transformers.

Today the Transformers Wiki passed 10,000 articles. There are many Transformers Wikis on the web, but only one dares to have more than 10,000 articles!

Of course, to put this in perspective, Wookieepedia currently has 72,759 articles (Fair warning, they are hosted on Wikia, so you will probably see many pictures of almost-naked fat people if you go there) but TFWiki.net may catch up yet!

Posted at 3:50 PM | Comments (1)

November 26, 2009

Doctor Who: Waters of Mars, in a nutshell

Filed in: Doctor Who.

Helpfully under the cut, in case you're one of the few people left who hasn't seen it. Spoilers included, obviously.

Continue reading "Doctor Who: Waters of Mars, in a nutshell"

Posted at 6:15 PM | Comments (3)

November 12, 2009

Chrome beta release unbetter

Filed in: Internet.

Google rolled out a beta release of Chrome the other day, and unfortunately it's introduced a rendering problem when viewing the Transformers Wiki:

Rendering issue

The left-hand column is inexplicably pushed down under the content area, making it virtually useless. I've seen it happen on a few other sites as well, and I've submitted a bug report via the reporting mechanism built into Chrome, so hopefully it'll be fixed in the next release.

Posted at 7:51 PM | Comments (2)

October 28, 2009

And once again, Doctor Who as an anime

Filed in: Doctor Who.

This time, with UNIT fighting Cybermen. Seriously the BBC should give this guy a job!

previously: Doctor Who Anime - yes, I realise it's still halfway down my main page. I am so terribly slack of late.

Posted at 5:48 PM | Comments (1)

October 19, 2009

Hypothetical question

Filed in: Tetrap.Local.

So the NZ government has made a right hash of things supporting various bids for the screening rights for the rugby world cup. After toing and froing between various people, it's decided that TVNZ, TV3 and Maori TV will essentially share the rights and games will be broadcast on all three channels. After all this, hypothetically, the All Blacks are knocked out in a shock result in the first round by Tonga.

How funny would this be on a scale of 1 to 10?

Posted at 7:42 PM | Comments (3)

October 5, 2009

More webcomic links

Filed in: Links.

I discovered these links after the webcomics in question advertised on the Transformers Wiki:

The Dreamland Chronicles - Not a gag-a-day comic, but one ongoing story, all rendered in movie-quality CGI. The Dreamland Chronicles tells the story of Alex, who suddenly finds himself dreaming of the same fantasy world he dreamed of as a young child and has to deal with encountering the same characters he knew long ago, only grown up.

Weesh - and at the other end of the spectrum, Weesh, which is a gag-a-day strip (or at least every few days) and with a clean, simple drawing style. Three kids have a strange animal named Weesh, who has the power to grant wishes, so long as he gets enough licorice.

Both comics are family-friendly.

Posted at 9:21 PM | Comments (0)

Search


Plugins
Archives
Categories
Blog Roll
Links
Subscribe

Syndicate this site (XML)
Subscribe with Bloglines
Subscribe on LiveJournal
Add to Technorati Favorites

Powered by

Tetrap.com Site Map