I've been running my blog for a long time using typo. It's been running on typo 4.1. 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 path/where/typo/isinstalled 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 fails with: ➜ ~ $ sudo typo install typo Installing typo 5.2.98 Stopping Typo !!! 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 help. 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 Checking database Database exists, preparing for upgrade Migrating Typo's database to newest release rake aborted! RubyGem version error: actionpack(1.13.3 not = 1.13.6) (See full trace by running task with --trace) /opt/local/lib/ruby/gems/1.8/gems/typo-5.2.98/bin/typo:59:in `migrate': Migration failed (RailsInstaller::InstallFailed) from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:689:in `in_directory' from /opt/local/lib/ruby/gems/1.8/gems/typo-5.2.98/bin/typo:57:in `migrate' from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:217:in `install_sequence' from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:192:in `install' from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer/commands.rb:95:in `command' from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:646:in `execute_command' from /opt/local/lib/ruby/gems/1.8/gems/typo-5.2.98/bin/typo:93 from /opt/local/bin/typo:19:in `load' from /opt/local/bin/typo:19 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 *** actionpack (2.3.2) ➜ ~ $ gem source *** CURRENT SOURCES *** http://gems.rubyforge.org/ http://gems.github.com ➜ ~ $ It would seem that since typo is installing rails 2.2, that a 2.2.x version of actionpack should be the target anyway. Any ideas? -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale
on 2009-03-24 05:31
on 2009-03-24 05:39
I believe that it is most likely the actionwebservice gem (which typo depends on) you have installed that is making the call to actionpack 1.13.3 Try this: sudo gem install datanoise-actionwebservice --source http://gems.github.com That you will you the latest maintained version of actionwebservice that doesn't depend on legacy gems. Ben
on 2009-03-24 10:40
Le 24 mars 09 à 05:38, Ben Burdick a écrit : > I believe that it is most likely the actionwebservice gem (which > typo depends on) you have installed that is making the call to > actionpack 1.13.3 > > Try this: sudo gem install datanoise-actionwebservice --source http://gems.github.com > > That you will you the latest maintained version of actionwebservice > that doesn't depend on legacy gems. > > Ben Hello, We've been awared of that, and of a looping conflict with AWS when you don't have it and want to run rake gems:install. So we've vendored AWS 2.2.2 in the current branch with will_paginate (and every github hosted gems since gem deps doesn't handle non rubyforged hosted dependencies). This will be in the next release due by the end of the week. Cheers, Frédéric
on 2009-03-24 17:47
On Tue, Mar 24, 2009 at 12:38 AM, Ben Burdick <bburdick@gmail.com> wrote: > Thanks, that got me past that. Are you the Ben Burdick I know? I've now gotten Typo 5.2 running under passenger on my macbook, and thanks to a friend who'd saved my RSS feeds managed to re-enter the articles which hadn't gotten backed up before the crash. My next goal is to set this up to deploy to my Ubuntu server using capistrano, passenger, and git for the code repository. Does anyone know of a good how-to, to save me struggling though myself? Besides the deployment questions, I'm a little confused by the new article editing UI. The old UI had separate labeled areas for the section of the article to be shown on the main page, and for extended content (if any). Now there's an unlabeled text area with a section below for an excerpt. I tried using the excerpt for what goes on the main page, but it still shows the whole article there. How is this supposed to work now. My preferences are to be able to excerpt articles on the main page, but put the whole article in RSS feeds. I feel a little bit like Rip Van WInkle (or maybe Woody Allen's character in Sleeper) having fallen asleep in Typo 4.1, and waken up in 5.2 -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale
on 2009-03-24 19:12
> I feel a little bit like Rip Van WInkle (or maybe Woody Allen's > character in Sleeper) having fallen asleep in Typo 4.1, and waken up > in 5.2 > Hi Rick, Thank you for your feedback, which is the first of the kind since I changed the editing UI to something more compact (and still subject to changes after the nex release, I'm sketching something in this way) The following is true if you're using 5.2.98 / git master code. When I redesigned the editing UI, I wanted something more easy and straightforward to use for both people starting with Typo and people migrating from Wordpress / Movable Type / Whatever. The body / extended contents have been merged into one editor, with a "more" button to separate them, actually like on most CMS. Excerpt is a content that will appear on the "list" pages (home, category, tags), but not on the post itself. It is currently a bit brocken, and there is a ticket open for this issue. Next release is due this week-end according our roadmap. This is the last known bug we have to fix before this, so expect things to work when we release. Expect also some more documented UI where it makes sense at that time. Cheers, Frédéric / neuro` on #typo -- Frédéric de Villamil "What's mine is mine. What's yours is still unsetteled" – Go player proverb frederic@de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org
on 2009-03-24 20:18
Merci Frédéric! It took me a while to find the more button, but I get it now. C'e n'etait pas grave! 2009/3/24 de Villamil Frédéric <frederic@de-villamil.com> >> in Sleeper) having fallen asleep in Typo 4.1, and waken up in 5.2 > > expect things to work when we release. Expect also some more documented UI > http://typosphere.org > > _______________________________________________ > Typo-list mailing list > Typo-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale
on 2009-03-24 21:25
Hey Rick, Is there any other Ben Burdick? ;) Glad to hear that you got your server trouble squared away. There is a great article over at Slicehost on how to get passenger rocking on Ubuntu, here http://articles.slicehost.com/2009/2/2/ubuntu-intr... - although, that article has you installing "apache2-mpm-prefork" and I would suggest installing "apache2-mpm-worker" instead, as that seems to be preferred by passenger and uses less memory. Ben
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.