[typo] Having problems upgrading
rick.denatale at gmail.com
Tue Mar 24 00:08:00 EDT 2009
I've been running my blog for a long time using typo. It's been running on
My server recently crashed and I decided that it might be a good thing to
upgrade the blog in the process of restoring everything.
I've gotten the old installation directory and a dump of the database onto
my macbook, and it's running under passenger there.
So I've tried to upgrade it to typo 5.2.
The first problem is that when I ran typo install
It hung endlessly backing up the database. Now since I already had a mysql
dump, and the install process never seems to use the backup, I bravely
commented out the call to back up in the rails-installer-gem.
Now it gets to the point where it's trying to run the migrations, and it
➜ ~ $ sudo typo install typo
Installing typo 5.2.98
!!! PID file /Users/rick/typo/tmp/pid.txt does not exist. Not running?
mongrel::stop reported an error. Use mongrel_rails mongrel::stop -h to get
Checking for existing Typo install in /Users/rick/typo
Reading files from /opt/local/lib/ruby/gems/1.8/gems/typo-5.2.98
copying rails 2.2.2 to /Users/rick/typo/vendor/rails/railties
copying activesupport 2.2.2 to /Users/rick/typo/vendor/rails/activesupport
copying activerecord 2.2.2 to /Users/rick/typo/vendor/rails/activerecord
copying actionpack 2.2.2 to /Users/rick/typo/vendor/rails/actionpack
copying actionmailer 2.2.2 to /Users/rick/typo/vendor/rails/actionmailer
Making scripts executable
Database exists, preparing for upgrade
Migrating Typo's database to newest release
RubyGem version error: actionpack(1.13.3 not = 1.13.6)
(See full trace by running task with --trace)
Migration failed (RailsInstaller::InstallFailed)
from /opt/local/lib/ruby/gems/1.8/gems/typo-5.2.98/bin/typo:57:in `migrate'
from /opt/local/bin/typo:19:in `load'
The fact that mongrel stop is failing is unsurprising, since it's not
running, and it doesn't seem to hurt.
But I'm at a loss to figure out why rake is failing. It's not just rake
db:migrate but any use of rake inside the install directory. It seems to be
associated with that RubyGem version error. But I can't seem to find where
it's calling for 1.13.6. And 1.13.6 doesn't seem to be available either on
rubyforge or github
$ gem list --both actionpack
*** LOCAL GEMS ***
actionpack (2.3.2, 2.3.1, 2.2.2, 2.1.0, 2.0.2, 1.13.5, 1.13.3)
*** REMOTE GEMS ***
➜ ~ $ gem source
*** CURRENT SOURCES ***
➜ ~ $
It would seem that since typo is installing rails 2.2, that a 2.2.x version
of actionpack should be the target anyway.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Typo-list