Skip to content

Instantly share code, notes, and snippets.

@peteonrails
Created January 14, 2012 20:23
Show Gist options
  • Save peteonrails/1612762 to your computer and use it in GitHub Desktop.
Save peteonrails/1612762 to your computer and use it in GitHub Desktop.
Cap deploy for Studyhall
Pete@Templar /Volumes/Templar SATA/workspace/web/studyhall (master) ⚡
→ cap production deploy
* executing `production'
triggering start callbacks for `deploy'
* executing `multistage:ensure'
* executing `deploy'
triggering before callbacks for `deploy'
* executing `deploy:setup_ssh'
Enter passphrase for /Users/Pete/.ssh/id_rsa:
Identity added: /Users/Pete/.ssh/id_rsa (/Users/Pete/.ssh/id_rsa)
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote [email protected]:intridea/studyhall.git HEAD"
command finished in 1628ms
* executing "if [ -d /home/deploy/rails_apps/StudyHall/shared/cached-copy ]; then cd /home/deploy/rails_apps/StudyHall/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 7c1f40bd26f636371ce3a56fd850ac2494f97a76 && git clean -q -d -x -f; else git clone -q [email protected]:intridea/studyhall.git /home/deploy/rails_apps/StudyHall/shared/cached-copy && cd /home/deploy/rails_apps/StudyHall/shared/cached-copy && git checkout -q -b deploy 7c1f40bd26f636371ce3a56fd850ac2494f97a76; fi"
servers: ["app01.c45577.blueboxgrid.com"]
[app01.c45577.blueboxgrid.com] executing command
command finished in 8583ms
copying the cached version to /home/deploy/rails_apps/StudyHall/releases/20120114202201
* executing "cp -RPp /home/deploy/rails_apps/StudyHall/shared/cached-copy /home/deploy/rails_apps/StudyHall/releases/20120114202201 && (echo 7c1f40bd26f636371ce3a56fd850ac2494f97a76 > /home/deploy/rails_apps/StudyHall/releases/20120114202201/REVISION)"
servers: ["app01.c45577.blueboxgrid.com"]
[app01.c45577.blueboxgrid.com] executing command
command finished in 2456ms
* executing `deploy:finalize_update'
* executing "chmod -R g+w /home/deploy/rails_apps/StudyHall/releases/20120114202201"
servers: ["app01.c45577.blueboxgrid.com"]
[app01.c45577.blueboxgrid.com] executing command
command finished in 443ms
* executing "rm -rf /home/deploy/rails_apps/StudyHall/releases/20120114202201/log /home/deploy/rails_apps/StudyHall/releases/20120114202201/public/system /home/deploy/rails_apps/StudyHall/releases/20120114202201/tmp/pids &&\\\n mkdir -p /home/deploy/rails_apps/StudyHall/releases/20120114202201/public &&\\\n mkdir -p /home/deploy/rails_apps/StudyHall/releases/20120114202201/tmp &&\\\n ln -s /home/deploy/rails_apps/StudyHall/shared/log /home/deploy/rails_apps/StudyHall/releases/20120114202201/log &&\\\n ln -s /home/deploy/rails_apps/StudyHall/shared/system /home/deploy/rails_apps/StudyHall/releases/20120114202201/public/system &&\\\n ln -s /home/deploy/rails_apps/StudyHall/shared/pids /home/deploy/rails_apps/StudyHall/releases/20120114202201/tmp/pids"
servers: ["app01.c45577.blueboxgrid.com"]
[app01.c45577.blueboxgrid.com] executing command
command finished in 441ms
* executing "find /home/deploy/rails_apps/StudyHall/releases/20120114202201/public/images /home/deploy/rails_apps/StudyHall/releases/20120114202201/public/stylesheets /home/deploy/rails_apps/StudyHall/releases/20120114202201/public/javascripts -exec touch -t 201201142022.04 {} ';'; true"
servers: ["app01.c45577.blueboxgrid.com"]
[app01.c45577.blueboxgrid.com] executing command
command finished in 443ms
triggering after callbacks for `deploy:finalize_update'
* executing `bundle:install'
* executing "ls -x /home/deploy/rails_apps/StudyHall/releases"
servers: ["app01.c45577.blueboxgrid.com"]
[app01.c45577.blueboxgrid.com] executing command
command finished in 430ms
* executing "cd /home/deploy/rails_apps/StudyHall/releases/20120114202201 && bundle install --gemfile /home/deploy/rails_apps/StudyHall/releases/20120114202201/Gemfile --path /home/deploy/rails_apps/StudyHall/shared/bundle --deployment --quiet --without development test"
servers: ["app01.c45577.blueboxgrid.com"]
[app01.c45577.blueboxgrid.com] executing command
command finished in 5920ms
triggering after callbacks for `deploy:update_code'
* executing `whenever:clear_crontab'
* executing "cd /home/deploy/rails_apps/StudyHall/releases/20120114202201 && whenever --clear-crontab StudyHall"
servers: ["app01.c45577.blueboxgrid.com"]
[app01.c45577.blueboxgrid.com] executing command
** [out :: app01.c45577.blueboxgrid.com] [write] crontab file
command finished in 1229ms
* executing `deploy:symlink'
* executing "rm -f /home/deploy/rails_apps/StudyHall/current && ln -s /home/deploy/rails_apps/StudyHall/releases/20120114202201 /home/deploy/rails_apps/StudyHall/current"
servers: ["app01.c45577.blueboxgrid.com"]
[app01.c45577.blueboxgrid.com] executing command
command finished in 440ms
triggering after callbacks for `deploy:symlink'
* executing `whenever:update_crontab'
* executing `production'
*** [whenever:update_crontab] rolling back
* executing `production'
** [whenever:update_crontab] exception while rolling back: ThreadError, deadlock; recursive locking
*** [deploy:symlink] rolling back
* executing "rm -f /home/deploy/rails_apps/StudyHall/current; ln -s /home/deploy/rails_apps/StudyHall/releases/20120113215032 /home/deploy/rails_apps/StudyHall/current; true"
servers: ["app01.c45577.blueboxgrid.com"]
[app01.c45577.blueboxgrid.com] executing command
command finished in 395ms
*** [deploy:update_code] rolling back
* executing "rm -rf /home/deploy/rails_apps/StudyHall/releases/20120114202201; true"
servers: ["app01.c45577.blueboxgrid.com"]
[app01.c45577.blueboxgrid.com] executing command
command finished in 1005ms
<internal:prelude>:8:in `lock': deadlock; recursive locking (ThreadError)
from <internal:prelude>:8:in `synchronize'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/variables.rb:110:in `protect'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/variables.rb:35:in `set'
from ./config/deploy/production.rb:1:in `load'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:93:in `instance_eval'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:93:in `load'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:172:in `load_from_file'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:89:in `load'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:86:in `block in load'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:86:in `each'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:86:in `load'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-ext-1.2.1/lib/capistrano/ext/multistage.rb:16:in `block (3 levels) in <top (required)>'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:139:in `instance_eval'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:139:in `invoke_task_directly'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/callbacks.rb:27:in `invoke_task_directly_with_callbacks'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:89:in `execute_task'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/namespaces.rb:104:in `block in task'
from ./config/deploy/production.rb:1:in `block in load'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/variables.rb:87:in `call'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/variables.rb:87:in `block in fetch'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/variables.rb:110:in `block in protect'
from <internal:prelude>:10:in `synchronize'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/variables.rb:110:in `protect'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/variables.rb:78:in `fetch'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/whenever-0.7.2/lib/whenever/capistrano.rb:7:in `block (2 levels) in <top (required)>'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/variables.rb:87:in `call'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/variables.rb:87:in `block in fetch'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/variables.rb:110:in `block in protect'
from <internal:prelude>:10:in `synchronize'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/variables.rb:110:in `protect'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/variables.rb:78:in `fetch'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/whenever-0.7.2/lib/whenever/capistrano.rb:8:in `block (2 levels) in <top (required)>'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/variables.rb:87:in `call'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/variables.rb:87:in `block in fetch'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/variables.rb:110:in `block in protect'
from <internal:prelude>:10:in `synchronize'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/variables.rb:110:in `protect'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/variables.rb:78:in `fetch'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/namespaces.rb:186:in `method_missing'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/whenever-0.7.2/lib/whenever/capistrano.rb:44:in `block (3 levels) in <top (required)>'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:139:in `instance_eval'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:139:in `invoke_task_directly'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/callbacks.rb:27:in `invoke_task_directly_with_callbacks'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:89:in `execute_task'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:101:in `find_and_execute_task'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/callback.rb:38:in `call'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/callbacks.rb:128:in `block in trigger'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/callbacks.rb:128:in `each'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/callbacks.rb:128:in `trigger'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/callbacks.rb:29:in `invoke_task_directly_with_callbacks'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:89:in `execute_task'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/namespaces.rb:186:in `method_missing'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/namespaces.rb:104:in `block in task'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/recipes/deploy.rb:203:in `block (3 levels) in load'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:56:in `transaction'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/namespaces.rb:186:in `method_missing'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/recipes/deploy.rb:201:in `block (2 levels) in load'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:139:in `instance_eval'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:139:in `invoke_task_directly'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/callbacks.rb:27:in `invoke_task_directly_with_callbacks'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:89:in `execute_task'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/namespaces.rb:186:in `method_missing'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/namespaces.rb:104:in `block in task'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/recipes/deploy.rb:169:in `block (2 levels) in load'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:139:in `instance_eval'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:139:in `invoke_task_directly'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/callbacks.rb:27:in `invoke_task_directly_with_callbacks'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:89:in `execute_task'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/configuration/execution.rb:101:in `find_and_execute_task'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/cli/execute.rb:46:in `block in execute_requested_actions'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/cli/execute.rb:45:in `each'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/cli/execute.rb:45:in `execute_requested_actions'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/cli/help.rb:19:in `execute_requested_actions_with_help'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/cli/execute.rb:34:in `execute!'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/lib/capistrano/cli/execute.rb:14:in `execute'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/gems/capistrano-2.9.0/bin/cap:4:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/bin/cap:19:in `load'
from /usr/local/rvm/gems/ruby-1.9.2-p290@studyhall/bin/cap:19:in `<main>'
Pete@Templar /Volumes/Templar SATA/workspace/web/studyhall (master) ⚡
Pete@Templar /Volumes/Templar SATA/workspace/web/studyhall (master) ⚡
→ cap staging deploy
* executing `staging'
triggering start callbacks for `deploy'
* executing `multistage:ensure'
* executing `deploy'
triggering before callbacks for `deploy'
* executing `deploy:setup_ssh'
Enter passphrase for /Users/Pete/.ssh/id_rsa:
Identity added: /Users/Pete/.ssh/id_rsa (/Users/Pete/.ssh/id_rsa)
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote [email protected]:intridea/studyhall.git HEAD"
command finished in 2254ms
* executing "if [ -d /home/deploy/rails_apps/StudyHall/shared/cached-copy ]; then cd /home/deploy/rails_apps/StudyHall/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 7c1f40bd26f636371ce3a56fd850ac2494f97a76 && git clean -q -d -x -f; else git clone -q [email protected]:intridea/studyhall.git /home/deploy/rails_apps/StudyHall/shared/cached-copy && cd /home/deploy/rails_apps/StudyHall/shared/cached-copy && git checkout -q -b deploy 7c1f40bd26f636371ce3a56fd850ac2494f97a76; fi"
servers: ["stage01.45469.blueboxgrid.com"]
[stage01.45469.blueboxgrid.com] executing command
command finished in 6144ms
copying the cached version to /home/deploy/rails_apps/StudyHall/releases/20120114202114
* executing "cp -RPp /home/deploy/rails_apps/StudyHall/shared/cached-copy /home/deploy/rails_apps/StudyHall/releases/20120114202114 && (echo 7c1f40bd26f636371ce3a56fd850ac2494f97a76 > /home/deploy/rails_apps/StudyHall/releases/20120114202114/REVISION)"
servers: ["stage01.45469.blueboxgrid.com"]
[stage01.45469.blueboxgrid.com] executing command
command finished in 1228ms
* executing `deploy:finalize_update'
* executing "chmod -R g+w /home/deploy/rails_apps/StudyHall/releases/20120114202114"
servers: ["stage01.45469.blueboxgrid.com"]
[stage01.45469.blueboxgrid.com] executing command
command finished in 387ms
* executing "rm -rf /home/deploy/rails_apps/StudyHall/releases/20120114202114/log /home/deploy/rails_apps/StudyHall/releases/20120114202114/public/system /home/deploy/rails_apps/StudyHall/releases/20120114202114/tmp/pids &&\\\n mkdir -p /home/deploy/rails_apps/StudyHall/releases/20120114202114/public &&\\\n mkdir -p /home/deploy/rails_apps/StudyHall/releases/20120114202114/tmp &&\\\n ln -s /home/deploy/rails_apps/StudyHall/shared/log /home/deploy/rails_apps/StudyHall/releases/20120114202114/log &&\\\n ln -s /home/deploy/rails_apps/StudyHall/shared/system /home/deploy/rails_apps/StudyHall/releases/20120114202114/public/system &&\\\n ln -s /home/deploy/rails_apps/StudyHall/shared/pids /home/deploy/rails_apps/StudyHall/releases/20120114202114/tmp/pids"
servers: ["stage01.45469.blueboxgrid.com"]
[stage01.45469.blueboxgrid.com] executing command
command finished in 393ms
* executing "find /home/deploy/rails_apps/StudyHall/releases/20120114202114/public/images /home/deploy/rails_apps/StudyHall/releases/20120114202114/public/stylesheets /home/deploy/rails_apps/StudyHall/releases/20120114202114/public/javascripts -exec touch -t 201201142021.16 {} ';'; true"
servers: ["stage01.45469.blueboxgrid.com"]
[stage01.45469.blueboxgrid.com] executing command
command finished in 390ms
triggering after callbacks for `deploy:finalize_update'
* executing `bundle:install'
* executing "ls -x /home/deploy/rails_apps/StudyHall/releases"
servers: ["stage01.45469.blueboxgrid.com"]
[stage01.45469.blueboxgrid.com] executing command
command finished in 749ms
* executing "cd /home/deploy/rails_apps/StudyHall/releases/20120114202114 && bundle install --gemfile /home/deploy/rails_apps/StudyHall/releases/20120114202114/Gemfile --path /home/deploy/rails_apps/StudyHall/shared/bundle --deployment --quiet --without development test"
servers: ["stage01.45469.blueboxgrid.com"]
[stage01.45469.blueboxgrid.com] executing command
command finished in 5578ms
triggering after callbacks for `deploy:update_code'
* executing `whenever:clear_crontab'
* executing "cd /home/deploy/rails_apps/StudyHall/releases/20120114202114 && whenever --clear-crontab StudyHall"
servers: ["stage01.45469.blueboxgrid.com"]
[stage01.45469.blueboxgrid.com] executing command
** [out :: stage01.45469.blueboxgrid.com] [write] crontab file
command finished in 3381ms
* executing `deploy:symlink'
* executing "rm -f /home/deploy/rails_apps/StudyHall/current && ln -s /home/deploy/rails_apps/StudyHall/releases/20120114202114 /home/deploy/rails_apps/StudyHall/current"
servers: ["stage01.45469.blueboxgrid.com"]
[stage01.45469.blueboxgrid.com] executing command
command finished in 395ms
triggering after callbacks for `deploy:symlink'
* executing `whenever:update_crontab'
* executing "cd /home/deploy/rails_apps/StudyHall/current && whenever --update-crontab StudyHall --set environment=staging"
servers: ["stage01.45469.blueboxgrid.com"]
[stage01.45469.blueboxgrid.com] executing command
** [out :: stage01.45469.blueboxgrid.com] [write] crontab file updated
command finished in 4517ms
* executing `deploy:symlinkconfigs'
* executing "ln -s /home/deploy/rails_apps/StudyHall/shared/system/database.yml /home/deploy/rails_apps/StudyHall/releases/20120114202114/config/database.yml"
servers: ["stage01.45469.blueboxgrid.com"]
[stage01.45469.blueboxgrid.com] executing command
command finished in 395ms
* executing "ln -s /home/deploy/rails_apps/StudyHall/shared/system/s3.yml /home/deploy/rails_apps/StudyHall/releases/20120114202114/config/s3.yml"
servers: ["stage01.45469.blueboxgrid.com"]
[stage01.45469.blueboxgrid.com] executing command
command finished in 389ms
* executing "rm -rf /home/deploy/rails_apps/StudyHall/releases/20120114202114/solr && ln -s /home/deploy/rails_apps/StudyHall/shared/system/solr /home/deploy/rails_apps/StudyHall/releases/20120114202114/solr"
servers: ["stage01.45469.blueboxgrid.com"]
[stage01.45469.blueboxgrid.com] executing command
command finished in 389ms
** transaction: commit
* executing `deploy:restart'
triggering after callbacks for `deploy:restart'
* executing `memcache:restart'
Restarting the memcache server
* executing `memcache:stop'
Stopping the memcache server
* executing "sudo -p 'sudo password: ' killall -s TERM memcached; true"
servers: ["stage01.45469.blueboxgrid.com"]
[stage01.45469.blueboxgrid.com] executing command
command finished in 418ms
* executing `memcache:start'
Starting the memcache server
* executing "sudo -p 'sudo password: ' nohup /etc/init.d/memcached start"
servers: ["stage01.45469.blueboxgrid.com"]
[stage01.45469.blueboxgrid.com] executing command
** [out :: stage01.45469.blueboxgrid.com] Starting memcached:
** [out :: stage01.45469.blueboxgrid.com] [ OK
** [out :: stage01.45469.blueboxgrid.com] ]
** [out :: stage01.45469.blueboxgrid.com]
command finished in 558ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment