Skip to content

Instantly share code, notes, and snippets.

@stantona
Last active December 15, 2015 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stantona/0ab842f53fdab0f9d7ae to your computer and use it in GitHub Desktop.
Save stantona/0ab842f53fdab0f9d7ae to your computer and use it in GitHub Desktop.
* 2013-03-26 14:17:45 executing `staging'
triggering start callbacks for `deploy:rollback'
* 2013-03-26 14:17:45 executing `multistage:ensure'
* 2013-03-26 14:17:45 executing `deploy:rollback'
* 2013-03-26 14:17:45 executing `deploy:rollback:revision'
* executing "ls -x /mnt/data/api.perch.co/releases"
servers: ["*.*.*.*"]
[*.*.*.*] executing command
command finished in 807ms
* executing "rm /mnt/data/api.perch.co/current; ln -s /mnt/data/api.perch.co/releases/20130325234815 /mnt/data/api.perch.co/current"
servers: ["*.*.*.*"]
[*.*.*.*] executing command
command finished in 916ms
* 2013-03-26 14:17:49 executing `deploy:restart'
triggering after callbacks for `deploy:restart'
* 2013-03-26 14:17:49 executing `sidekiq:restart'
* 2013-03-26 14:17:49 executing `sidekiq:stop'
* executing "if [ -d /mnt/data/api.perch.co/current ] && [ -f /mnt/data/api.perch.co/current/tmp/pids/sidekiq.pid ]; then cd /mnt/data/api.perch.co/current && bundle exec sidekiqctl stop /mnt/data/api.perch.co/current/tmp/pids/sidekiq.pid 10 ; fi"
servers: ["*.*.*.*"]
[*.*.*.*] executing command
command finished in 830ms
* 2013-03-26 14:17:50 executing `sidekiq:start'
* executing "cd /mnt/data/api.perch.co/current ; nohup bundle exec sidekiq -e staging -C /mnt/data/api.perch.co/current/config/sidekiq.yml -P /mnt/data/api.perch.co/current/tmp/pids/sidekiq.pid >> /mnt/data/api.perch.co/current/log/sidekiq.log 2>&1 &"
servers: ["*.*.*.*"]
[*.*.*.*] executing command
command finished in 828ms
* 2013-03-26 14:17:50 executing `deploy:rollback:cleanup'
* executing "if [ `readlink /mnt/data/api.perch.co/current` != /mnt/data/api.perch.co/releases/20130325235122 ]; then rm -rf /mnt/data/api.perch.co/releases/20130325235122; fi"
servers: ["*.*.*.*"]
[*.*.*.*] executing command
command finished in 1536ms
triggering after callbacks for `deploy:rollback'
* 2013-03-26 14:17:52 executing `whenever:update_crontab'
* executing "cd /mnt/data/api.perch.co/releases/20130325235122 && bundle exec whenever --update-crontab perch-api --set environment=staging --roles db"
servers: ["*.*.*.*"]
[*.*.*.*] executing command
** [out :: *.*.*.*] bash: line 0: cd: /mnt/data/api.perch.co/releases/20130325235122: No such file or directory
command finished in 1024ms
failed: "rvm_path=/usr/local/rvm /usr/local/rvm/bin/rvm-shell 'ruby-1.9.3-p327' -c 'cd /mnt/data/api.perch.co/releases/20130325235122 && bundle exec whenever --update-crontab perch-api --set environment=staging --roles db'" on *.*.*.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment