Created
July 18, 2012 15:05
-
-
Save michaelengland/3136738 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16:50 ~/Documents/wimdu/rails/wimdu (master *+)$ cap staging_dublin deploy:migrations REVISION=a6c90569f672a8ecb0e71783ab5317f677747c51 | |
* 16:51:48 == Currently executing `staging_dublin' | |
triggering start callbacks for `deploy:migrations' | |
* 16:51:48 == Currently executing `multistage:ensure' | |
* 16:51:48 == Currently executing `deploy:migrations' | |
* 16:51:48 == Currently executing `deploy:update_code' | |
triggering before callbacks for `deploy:update_code' | |
=> No depth available for a6c90569f672a8ecb0e71783ab5317f677747c51 | |
=> Using full clone | |
=> Set revision to a6c90569f672a8ecb0e71783ab5317f677747c51 | |
* executing "cat /home/flats/app/current/REVISION" | |
servers: ["dublin.staging.wimdu.com"] | |
[dublin.staging.wimdu.com] executing command | |
command finished in 341ms | |
fatal: Invalid revision range 1078cf0f74e41b6972192e79291ff86d84e62ad6..a6c90569f672a8ecb0e71783ab5317f677747c51 | |
executing locally: mkdir -p /Users/michaelengland/Documents/wimdu/rails/wimdu/.rsync_cache && git clone -q git@github.com:dynport/wimdu.git /Users/michaelengland/Documents/wimdu/rails/wimdu/.rsync_cache && cd /Users/michaelengland/Documents/wimdu/rails/wimdu/.rsync_cache && git checkout -q -b deploy a6c90569f672a8ecb0e71783ab5317f677747c51 | |
command finished in 607771ms | |
executing locally: rsync -az --delete --exclude=.git --exclude=certs/ --delete-excluded --rsh='ssh -p 22' /Users/michaelengland/Documents/wimdu/rails/wimdu/.rsync_cache/ flats@dublin.staging.wimdu.com:/home/flats/app/shared/cached-copy/ | |
command finished in 21156ms | |
* executing "rsync -a --delete /home/flats/app/shared/cached-copy/ /home/flats/app/releases/20120718150217/" | |
servers: ["dublin.staging.wimdu.com"] | |
[dublin.staging.wimdu.com] executing command | |
command finished in 3338ms | |
* 17:02:21 == Currently executing `deploy:finalize_update' | |
triggering before callbacks for `deploy:finalize_update' | |
* 17:02:21 == Currently executing `bundle:install' | |
* executing "cd /home/flats/app/releases/20120718150217 && bundle install --gemfile /home/flats/app/releases/20120718150217/Gemfile --quiet --system --without development test" | |
servers: ["dublin.staging.wimdu.com"] | |
[dublin.staging.wimdu.com] executing command | |
command finished in 23357ms | |
* executing "chmod -R g+w /home/flats/app/releases/20120718150217" | |
servers: ["dublin.staging.wimdu.com"] | |
[dublin.staging.wimdu.com] executing command | |
command finished in 516ms | |
* executing "rm -rf /home/flats/app/releases/20120718150217/log /home/flats/app/releases/20120718150217/public/system /home/flats/app/releases/20120718150217/tmp/pids &&\\\n mkdir -p /home/flats/app/releases/20120718150217/public &&\\\n mkdir -p /home/flats/app/releases/20120718150217/tmp &&\\\n ln -s /home/flats/app/shared/log /home/flats/app/releases/20120718150217/log &&\\\n ln -s /home/flats/app/shared/system /home/flats/app/releases/20120718150217/public/system &&\\\n ln -s /home/flats/app/shared/pids /home/flats/app/releases/20120718150217/tmp/pids" | |
servers: ["dublin.staging.wimdu.com"] | |
[dublin.staging.wimdu.com] executing command | |
command finished in 482ms | |
* executing "find /home/flats/app/releases/20120718150217/public/images /home/flats/app/releases/20120718150217/public/stylesheets /home/flats/app/releases/20120718150217/public/javascripts -exec touch -t 201207181502.45 {} ';'; true" | |
servers: ["dublin.staging.wimdu.com"] | |
[dublin.staging.wimdu.com] executing command | |
command finished in 2104ms | |
* 17:02:47 == Currently executing `deploy:migrate' | |
* executing "cd /home/flats/app/releases/20120718150217 && bundle exec rake RAILS_ENV=staging db:migrate" | |
servers: ["dublin.staging.wimdu.com"] | |
[dublin.staging.wimdu.com] executing command | |
** [out :: dublin.staging.wimdu.com] using phrase locales | |
*** [err :: dublin.staging.wimdu.com] [DEPRECATION WARNING] Nested I18n namespace lookup under "activerecord.attributes.booking" is no longer supported | |
*** [err :: dublin.staging.wimdu.com] [DEPRECATION WARNING] Nested I18n namespace lookup under "activerecord.attributes.message" is no longer supported | |
*** [err :: dublin.staging.wimdu.com] [DEPRECATION WARNING] Nested I18n namespace lookup under "activerecord.attributes.offer" is no longer supported | |
*** [err :: dublin.staging.wimdu.com] [DEPRECATION WARNING] Nested I18n namespace lookup under "activerecord.models.plurals" is no longer supported | |
command finished in 29064ms | |
* 17:03:16 == Currently executing `deploy:symlink' | |
triggering before callbacks for `deploy:symlink' | |
* 17:03:16 == Currently executing `wimdu:set_old_revision' | |
* executing "rm -f /home/flats/app/current && ln -s /home/flats/app/releases/20120718150217 /home/flats/app/current" | |
servers: ["dublin.staging.wimdu.com"] | |
[dublin.staging.wimdu.com] executing command | |
command finished in 491ms | |
triggering after callbacks for `deploy:symlink' | |
* 17:03:17 == Currently executing `wimdu:symlink_uploads' | |
* executing "ln -nfs /home/flats/app/shared/uploads /home/flats/app/releases/20120718150217/public/uploads" | |
servers: ["dublin.staging.wimdu.com"] | |
[dublin.staging.wimdu.com] executing command | |
command finished in 479ms | |
* 17:03:17 == Currently executing `deploy:cleanup' | |
* executing "ls -x /home/flats/app/releases" | |
servers: ["dublin.staging.wimdu.com"] | |
[dublin.staging.wimdu.com] executing command | |
command finished in 480ms | |
** keeping 5 of 6 deployed releases | |
* executing "rm -rf /home/flats/app/releases/20120717130845" | |
servers: ["dublin.staging.wimdu.com"] | |
[dublin.staging.wimdu.com] executing command | |
command finished in 1020ms | |
* 17:03:19 == Currently executing `wimdu:uploads_is_smylink' | |
* executing "[ -h /home/flats/app/releases/20120718150217/public/uploads ]" | |
servers: ["dublin.staging.wimdu.com"] | |
[dublin.staging.wimdu.com] executing command | |
command finished in 465ms | |
* 17:03:19 == Currently executing `newrelic:notice_deployment' | |
* Getting log of changes for New Relic Deployment details | |
* executing "cat /home/flats/app/releases/20120718104419/REVISION" | |
servers: ["dublin.staging.wimdu.com"] | |
[dublin.staging.wimdu.com] executing command | |
command finished in 466ms | |
fatal: Invalid revision range 1078cf0f74e41b6972192e79291ff86d84e62ad6..a6c90569f672a8ecb0e71783ab5317f677747c51 | |
* Uploading deployment to New Relic | |
** Deployment not recorded: Application Wimdu (Staging) does not exist. | |
* 17:03:20 == Currently executing `deploy:restart' | |
* 17:03:20 == Currently executing `unicorn:restart' | |
* executing "cd /home/flats/app/current && if [ -f tmp/pids/unicorn.pid ]; then kill -USR2 `cat tmp/pids/unicorn.pid` || if [ -e /home/flats/app/disabled.txt ]; then echo \"not starting because unicorn seems to be disabled\"; else cd /home/flats/app/current; bash ./script/unicorn-start production; fi ; else if [ -e /home/flats/app/disabled.txt ]; then echo \"not starting because unicorn seems to be disabled\"; else cd /home/flats/app/current; bash ./script/unicorn-start production; fi ; fi" | |
servers: ["dublin.staging.wimdu.com"] | |
[dublin.staging.wimdu.com] executing command | |
command finished in 435ms | |
triggering after callbacks for `deploy:restart' | |
* 17:03:21 == Currently executing `resque:generate_monit_config' | |
Updating monit templates for resque workers and scheduler | |
triggering after callbacks for `resque:generate_monit_config' | |
* 17:03:21 == Currently executing `resque:generate_monit_config_for_workers' | |
* executing "cd /home/flats/app/current && RAILS_ENV=staging bundle exec rake resque:monit_config_for_workers" | |
servers: ["dublin.staging.wimdu.com"] | |
[dublin.staging.wimdu.com] executing command | |
** [out :: dublin.staging.wimdu.com] using phrase locales | |
*** [err :: dublin.staging.wimdu.com] [DEPRECATION WARNING] Nested I18n namespace lookup under "activerecord.attributes.booking" is no longer supported | |
*** [err :: dublin.staging.wimdu.com] [DEPRECATION WARNING] Nested I18n namespace lookup under "activerecord.attributes.message" is no longer supported | |
*** [err :: dublin.staging.wimdu.com] [DEPRECATION WARNING] Nested I18n namespace lookup under "activerecord.attributes.offer" is no longer supported | |
*** [err :: dublin.staging.wimdu.com] [DEPRECATION WARNING] Nested I18n namespace lookup under "activerecord.models.plurals" is no longer supported | |
** [out :: dublin.staging.wimdu.com] | |
** [out :: dublin.staging.wimdu.com] Creating /home/flats/app/releases/20120718150217/config/monit/resque-worker_resqueweb.monit ... | |
** [out :: dublin.staging.wimdu.com] Creating /home/flats/app/releases/20120718150217/config/monit/resque-worker_common.monit ... | |
** [out :: dublin.staging.wimdu.com] Creating /home/flats/app/releases/20120718150217/config/monit/resque-worker_webcalendars.monit ... | |
** [out :: dublin.staging.wimdu.com] Creating /home/flats/app/releases/20120718150217/config/monit/resque-worker_carrierwave.monit ... | |
** [out :: dublin.staging.wimdu.com] Creating /home/flats/app/releases/20120718150217/config/monit/resque-worker_mailer.monit ... | |
command finished in 19795ms | |
triggering after callbacks for `resque:generate_monit_config_for_workers' | |
* 17:03:41 == Currently executing `resque:generate_monit_config_for_scheduler' | |
* executing "cd /home/flats/app/current && RAILS_ENV=staging bundle exec rake resque:monit_config_for_scheduler" | |
servers: ["dublin.staging.wimdu.com"] | |
[dublin.staging.wimdu.com] executing command | |
** [out :: dublin.staging.wimdu.com] using phrase locales | |
*** [err :: dublin.staging.wimdu.com] [DEPRECATION WARNING] Nested I18n namespace lookup under "activerecord.attributes.booking" is no longer supported | |
*** [err :: dublin.staging.wimdu.com] [DEPRECATION WARNING] Nested I18n namespace lookup under "activerecord.attributes.message" is no longer supported | |
*** [err :: dublin.staging.wimdu.com] [DEPRECATION WARNING] Nested I18n namespace lookup under "activerecord.attributes.offer" is no longer supported | |
*** [err :: dublin.staging.wimdu.com] [DEPRECATION WARNING] Nested I18n namespace lookup under "activerecord.models.plurals" is no longer supported | |
** [out :: dublin.staging.wimdu.com] | |
** [out :: dublin.staging.wimdu.com] Creating /home/flats/app/releases/20120718150217/config/monit/resque-worker_scheduler.monit ... | |
command finished in 19716ms | |
triggering after callbacks for `resque:generate_monit_config_for_scheduler' | |
* 17:04:00 == Currently executing `resque:monit_reload' | |
* executing "sudo monit reload; sleep 1;" | |
servers: ["dublin.staging.wimdu.com"] | |
[dublin.staging.wimdu.com] executing command | |
*** [err :: dublin.staging.wimdu.com] sudo | |
*** [err :: dublin.staging.wimdu.com] : | |
*** [err :: dublin.staging.wimdu.com] no tty present and no askpass program specified | |
command finished in 1513ms | |
* executing "kill -QUIT `ps ax | grep resque-1 | grep -v grep | awk '{print $1}'` || true" | |
servers: ["dublin.staging.wimdu.com"] | |
[dublin.staging.wimdu.com] executing command | |
*** [err :: dublin.staging.wimdu.com] kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] | |
command finished in 523ms | |
* executing "sudo monit -g resque_workers monitor" | |
servers: ["dublin.staging.wimdu.com"] | |
[dublin.staging.wimdu.com] executing command | |
*** [err :: dublin.staging.wimdu.com] sudo: no tty present and no askpass program specified | |
command finished in 483ms | |
failed: "rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell 'ruby-1.9.3-p194@flats' -c 'sudo monit -g resque_workers monitor'" on dublin.staging.wimdu.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment