Well “typo-4 is out”:http://scottstuff.net/blog/articles/2006/07/22/typo-4-0-0. I had installed the typo-2.6-with-rails archive which had given me everthing in one big easy to install bundle. But can you believe it, the typo folks did not post any upgrade instructions! Yeah, there’s a great new installer, but that’s only great if you want sqlite and stuff like that.
Anyway, I’m running Fedora Core 5 (FC5), mysql, and lighttpd for typo. So here’s the upgrade story:
First upgrade your stock ruby & rails installs. I used the typo gem to get the dependencies:
gem install typo
And when it asked to install sqlite I said “no”. But by then I got everything else I needed. A hack, but it worked for me.
Download the new typo tgz archive and extract it to a new directory:
wget http://rubyforge.org/frs/download.php/12504/typo-4.0.3.tgz tar zxf typo-4.0.3.tgz cd typo-4.0.3
Now copy over your database.yml and edit /etc/lighttpd/lighttpd.conf to point to the new typo dir. For me that ended up being these two lines:
‘server.document-root = “/home/typo-4.0.3/public/”
“bin-path” => “/home/typo-4.0.3/public/dispatch.fcgi”,
Now back up your database:
And migrate the DB content:
-p –opt -A >dump-2006-08-25
rake environment RAILS_ENV=production migrate
Now copy any themes over from the old themes dir and finally restart lighttpd:
Done! (Well, if you’re lucky!)