public
Last active — forked from redstamp/gist:977582

RS deploy error

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
~/dev/redstamp/redstamp.com-app[master]$ cap production deploy
<snip>
triggering start callbacks for `production'
* executing `require_recipes'
triggering before callbacks for `require_recipes'
* executing `validate_required_variables'
* executing `production'
triggering start callbacks for `deploy'
* executing `multistage:ensure'
* executing `require_recipes'
triggering before callbacks for `require_recipes'
* executing `validate_required_variables'
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
triggering before callbacks for `deploy:update_code'
* executing `app:symlinks:setup'
executing locally: "git ls-remote git@github.com:redstamp/redstamp.com-app.git master"
command finished in 1256ms
* executing "git clone -q git@github.com:redstamp/redstamp.com-app.git /home/deploy/apps/redstamp/releases/20110517223632 && cd /home/deploy/apps/redstamp/releases/20110517223632 && git checkout -q -b deploy d5d3357bba44ddb907e858eeebb764aadf9e4a25 && rm -Rf /home/deploy/apps/redstamp/releases/20110517223632/.git && (echo d5d3357bba44ddb907e858eeebb764aadf9e4a25 > /home/deploy/apps/redstamp/releases/20110517223632/REVISION)"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [live.bbx.redstamp.com :: out] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [live.bbx.redstamp.com :: out] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [live.bbx.redstamp.com :: out] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [live.bbx.redstamp.com :: out] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 10969ms
* executing `deploy:finalize_update'
* executing "chmod -R g+w /home/deploy/apps/redstamp/releases/20110517223632"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 570ms
* executing "rm -rf /home/deploy/apps/redstamp/releases/20110517223632/log /home/deploy/apps/redstamp/releases/20110517223632/public/system /home/deploy/apps/redstamp/releases/20110517223632/tmp/pids &&\\\n mkdir -p /home/deploy/apps/redstamp/releases/20110517223632/public &&\\\n mkdir -p /home/deploy/apps/redstamp/releases/20110517223632/tmp &&\\\n ln -s /home/deploy/apps/redstamp/shared/log /home/deploy/apps/redstamp/releases/20110517223632/log &&\\\n ln -s /home/deploy/apps/redstamp/shared/system /home/deploy/apps/redstamp/releases/20110517223632/public/system &&\\\n ln -s /home/deploy/apps/redstamp/shared/pids /home/deploy/apps/redstamp/releases/20110517223632/tmp/pids"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 512ms
* executing "find /home/deploy/apps/redstamp/releases/20110517223632/public/images /home/deploy/apps/redstamp/releases/20110517223632/public/stylesheets /home/deploy/apps/redstamp/releases/20110517223632/public/javascripts -exec touch -t 201105172236.45 {} ';'; true"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 2701ms
* executing `after_update_code'
* executing "echo \"<html><head><title>Version</title><head><body><span style='font-size:24px'> <br/> Release Path: /home/deploy/apps/redstamp/releases/20110517223632 <br/> Last Deploy: Tue May 17 17:36:48 -0500 2011 <br/> </span></body></html>\" > /home/deploy/apps/redstamp/releases/20110517223632/public/version.html"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 495ms
* executing `deploy:symlink'
* executing "rm -f /home/deploy/apps/redstamp/current && ln -s /home/deploy/apps/redstamp/releases/20110517223632 /home/deploy/apps/redstamp/current"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 501ms
triggering after callbacks for `deploy:symlink'
* executing `app:symlinks:update'
* executing `deploy:after_symlink'
* executing "ln -nfs /home/deploy/apps/redstamp/current/REVISION /home/deploy/apps/redstamp/current/public/REV.txt"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 534ms
* executing "chmod 755 /home/deploy/apps/redstamp/current/script/*"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 511ms
* executing "chmod 750 /home/deploy/apps/redstamp/current/tmp"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 486ms
* executing "cp /home/deploy/apps/redstamp/current/config/database.example /home/deploy/apps/redstamp/current/config/database.yml"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 496ms
* executing "cp /home/deploy/apps/redstamp/shared/rvmrc /home/deploy/apps/redstamp/current/.rvmrc"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
command finished in 506ms
** transaction: commit
* executing `deploy:restart'
* executing "cd /home/deploy/apps/redstamp/current && thin -C /etc/thin.yml restart"
servers: ["live.bbx.redstamp.com"]
[live.bbx.redstamp.com] executing command
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/base', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/version', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/selector', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cd', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/cli', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] WARNING: Could not source script '/scripts/override_gem', file does not exist. RVM will likely not work as expected.
** [out :: live.bbx.redstamp.com] /usr/local/rvm/scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
** [out :: live.bbx.redstamp.com] bash: thin: command not found
command finished in 552ms
failed: "env LD_LIBRARY_PATH=/usr/local/lib PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin /usr/local/bin/rvm-shell 'ruby@live-site' -c 'cd /home/deploy/apps/redstamp/current && thin -C /etc/thin.yml restart'" on live.bbx.redstamp.com

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.