Created
April 19, 2011 23:40
-
-
Save marcusleemitchell/929997 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
[506] $ cap production deploy | |
* executing `production' | |
!!! YOU ARE DEPLOYING TO PRODUCTION SERVERS (lacey, mocha) !!! | |
continue? (yes/[no]) yes | |
triggering start callbacks for `deploy' | |
* executing `multistage:ensure' | |
* executing `deploy' | |
triggering before callbacks for `deploy' | |
* executing `deploy:check' | |
* executing "test -d /opt/railsapps/applications/compwinner/releases" | |
servers: ["lacey", "mocha"] | |
* establishing connection to gateway `jet.migapps.com' | |
* Creating gateway using jet.migapps.com | |
* establishing connection to `lacey' via gateway | |
* establishing connection to `mocha' via gateway | |
[lacey] executing command | |
[mocha] executing command | |
command finished | |
* executing "test -w /opt/railsapps/applications/compwinner" | |
servers: ["lacey", "mocha"] | |
[lacey] executing command | |
[mocha] executing command | |
command finished | |
* executing "test -w /opt/railsapps/applications/compwinner/releases" | |
servers: ["lacey", "mocha"] | |
[lacey] executing command | |
[mocha] executing command | |
command finished | |
* executing "which tar" | |
servers: ["lacey", "mocha"] | |
[lacey] executing command | |
[mocha] executing command | |
command finished | |
You appear to have all necessary dependencies installed | |
* executing `deploy:display_servers' | |
Deploying to lacey, mocha | |
* executing `deploy:update' | |
** transaction: start | |
* executing `deploy:update_code' | |
executing locally: "git ls-remote [email protected]:mitadmin/comp_winner_gui.git HEAD" | |
* getting (via checkout) revision ef6f0d8e7af3a9ef0b90bb6d0cb528e4d4509b3d to /var/folders/aF/aFiZ4hmLE4moFiqpSW24eU+++TI/-Tmp-/20110419233402 | |
executing locally: git clone -q [email protected]:mitadmin/comp_winner_gui.git /var/folders/aF/aFiZ4hmLE4moFiqpSW24eU+++TI/-Tmp-/20110419233402 && cd /var/folders/aF/aFiZ4hmLE4moFiqpSW24eU+++TI/-Tmp-/20110419233402 && git checkout -q -b deploy ef6f0d8e7af3a9ef0b90bb6d0cb528e4d4509b3d | |
compressing /var/folders/aF/aFiZ4hmLE4moFiqpSW24eU+++TI/-Tmp-/20110419233402 to /var/folders/aF/aFiZ4hmLE4moFiqpSW24eU+++TI/-Tmp-/20110419233402.tar.gz | |
executing locally: tar czf 20110419233402.tar.gz 20110419233402 | |
servers: ["lacey", "mocha"] | |
** sftp upload /var/folders/aF/aFiZ4hmLE4moFiqpSW24eU+++TI/-Tmp-/20110419233402.tar.gz -> /tmp/20110419233402.tar.gz | |
[lacey] /tmp/20110419233402.tar.gz | |
[mocha] /tmp/20110419233402.tar.gz | |
^@^@^@^@ [lacey] done | |
[mocha] done | |
* sftp upload complete | |
* executing "cd /opt/railsapps/applications/compwinner/releases && tar xzf /tmp/20110419233402.tar.gz && rm /tmp/20110419233402.tar.gz" | |
servers: ["lacey", "mocha"] | |
[lacey] executing command | |
[mocha] executing command | |
command finished | |
* executing `deploy:finalize_update' | |
* executing "chmod -R g+w /opt/railsapps/applications/compwinner/releases/20110419233402" | |
servers: ["lacey", "mocha"] | |
[lacey] executing command | |
[mocha] executing command | |
command finished | |
* executing "rm -rf /opt/railsapps/applications/compwinner/releases/20110419233402/log /opt/railsapps/applications/compwinner/releases/20110419233402/public/system /opt/railsapps/applications/compwinner/releases/20110419233402/tmp/pids &&\\\n mkdir -p /opt/railsapps/applications/compwinner/releases/20110419233402/public &&\\\n mkdir -p /opt/railsapps/applications/compwinner/releases/20110419233402/tmp &&\\\n ln -s /opt/railsapps/applications/compwinner/shared/log /opt/railsapps/applications/compwinner/releases/20110419233402/log &&\\\n ln -s /opt/railsapps/applications/compwinner/shared/system /opt/railsapps/applications/compwinner/releases/20110419233402/public/system &&\\\n ln -s /opt/railsapps/applications/compwinner/shared/pids /opt/railsapps/applications/compwinner/releases/20110419233402/tmp/pids" | |
servers: ["lacey", "mocha"] | |
[lacey] executing command | |
[mocha] executing command | |
command finished | |
* executing "find /opt/railsapps/applications/compwinner/releases/20110419233402/public/images /opt/railsapps/applications/compwinner/releases/20110419233402/public/stylesheets /opt/railsapps/applications/compwinner/releases/20110419233402/public/javascripts -exec touch -t 201104192338.32 {} ';'; true" | |
servers: ["lacey", "mocha"] | |
[lacey] executing command | |
[mocha] executing command | |
command finished | |
* executing `deploy:symlink' | |
triggering before callbacks for `deploy:symlink' | |
* executing `deploy:cleanup_ajax_scaffold' | |
* executing "sudo -p 'sudo password: ' -u appserver ruby -i -p -e '$_.gsub!(\"/images\", \"images\")' /opt/railsapps/applications/compwinner/releases/20110419233402/lib/ajax_scaffold.rb /opt/railsapps/applications/compwinner/releases/20110419233402/public/stylesheets/ajax_scaffold.css" | |
servers: ["lacey", "mocha"] | |
[lacey] executing command | |
[mocha] executing command | |
Password: | |
*** [err :: lacey] | |
*** [err :: mocha] | |
command finished | |
*** [deploy:update_code] rolling back | |
* executing "rm -rf /opt/railsapps/applications/compwinner/releases/20110419233402; true" | |
servers: ["lacey", "mocha"] | |
[lacey] executing command | |
[mocha] executing command | |
command finished | |
failed: "sh -c 'sudo -p '\\''sudo password: '\\'' -u appserver ruby -i -p -e '\\''$_.gsub!(\"/images\", \"images\")'\\'' /opt/railsapps/applications/compwinner/releases/20110419233402/lib/ajax_scaffold.rb /opt/railsapps/applications/compwinner/releases/20110419233402/public/stylesheets/ajax_scaffold.css'" on lacey,mocha |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment