All pastes #277665 Raw Edit

Stuff

public text v1 · immutable
#277665 ·published 2006-12-13 13:47 UTC
rendered paste body
rsp@hollerith:/tmp/capi/petsonrails$ cap cold_deploy
    loading configuration /usr/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/recipes/standard.rb
    loading configuration ./config/deploy.rb
    loading configuration /usr/lib/ruby/gems/1.8/gems/mongrel_cluster-0.2.1/lib/mongrel_cluster/recipes.rb
  * executing task cold_deploy
  * executing task deploy
  * executing task update
 ** transaction: start
  * executing task update_code
  * querying latest revision...
  * executing "if [[ ! -d /tmp/mongrelpets/releases/20061213134549 ]]; then\n svn co  -q -r6361 svn+ssh://[...] /tmp/mongrelpets/releases/20061213134549 &&\n              (test -e /tmp/mongrelpets/revisions.log || (touch /tmp/mongrelpets/revisions.log && chmod 666 /tmp/mongrelpets/revisions.log)) && echo `date +\"%Y-%m-%d %H:%M:%S\"` $USER 6361 20061213134549 >> /tmp/mongrelpets/revisions.log;\n            fi"
*** [update_code] transaction: rollback
  * [update_code] rolling back
  * executing "rm -rf /tmp/mongrelpets/releases/20061213134549"
 ** [update_code] exception while rolling back: RuntimeError, The update_code task is only run for servers matching {:desc=>"Update all servers with the latest release of the source code. All this does\nis do a checkout (as defined by the selected scm module).\n", :except=>{:no_release=>true}}, but no servers matched
/usr/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/actor.rb:503:in `execute_on_servers': The update_code task is only run for servers matching {:desc=>"Update all servers with the latest release of the source code. All this does\nis do a checkout (as defined by the selected scm module).\n", :except=>{:no_relea
se=>true}}, but no servers matched (RuntimeError)
        from /usr/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/actor.rb:207:in `run'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/scm/base.rb:40:in `run_checkout'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/scm/subversion.rb:65:in `checkout'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/recipes/standard.rb:71:in `load'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/actor.rb:159:in `update_code'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/recipes/standard.rb:128:in `load'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/actor.rb:388:in `transaction'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/recipes/standard.rb:127:in `load'
         ... 7 levels...
        from /usr/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/cli.rb:233:in `execute!'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/cli.rb:12:in `execute!'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-1.2.0/bin/cap:11
        from /usr/bin/cap:18