Skip to content

Instantly share code, notes, and snippets.

@andrebautista
Last active August 29, 2015 14:03
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 andrebautista/f6be403504cf0c3a1731 to your computer and use it in GitHub Desktop.
Save andrebautista/f6be403504cf0c3a1731 to your computer and use it in GitHub Desktop.
AndreBautista ⮀ ~/client_work/gymsight ⮀ ⭠ master± ⮀ cap production deploy
DEBUG[b249c4e0] Running /usr/bin/env [ -d ~/.rvm ] on 198.199.103.189
DEBUG[b249c4e0] Command: [ -d ~/.rvm ]
DEBUG[e7c3d4b4] Running /usr/bin/env [ -d ~/.rvm ] on gymsight.com
DEBUG[e7c3d4b4] Command: [ -d ~/.rvm ]
DEBUG[b249c4e0] Finished in 2.796 seconds with exit status 0 (successful).
DEBUG[e7c3d4b4] Finished in 2.847 seconds with exit status 0 (successful).
DEBUG[6f57da62] Running ~/.rvm/bin/rvm version on 198.199.103.189
DEBUG[6f57da62] Command: ~/.rvm/bin/rvm version
DEBUG[1a7f203e] Running ~/.rvm/bin/rvm version on gymsight.com
DEBUG[1a7f203e] Command: ~/.rvm/bin/rvm version
DEBUG[6f57da62]
DEBUG[6f57da62] rvm 1.25.27 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
DEBUG[6f57da62]
DEBUG[1a7f203e]
DEBUG[1a7f203e] rvm 1.25.27 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
DEBUG[1a7f203e]
DEBUG[6f57da62] Finished in 0.681 seconds with exit status 0 (successful).
rvm 1.25.27 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
DEBUG[1a7f203e] Finished in 0.685 seconds with exit status 0 (successful).
rvm 1.25.27 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
DEBUG[6375a641] Running ~/.rvm/bin/rvm current on gymsight.com
DEBUG[6375a641] Command: ~/.rvm/bin/rvm current
DEBUG[996d756c] Running ~/.rvm/bin/rvm current on 198.199.103.189
DEBUG[996d756c] Command: ~/.rvm/bin/rvm current
DEBUG[6375a641] ruby-2.1.2
DEBUG[6375a641] Finished in 0.678 seconds with exit status 0 (successful).
ruby-2.1.2
DEBUG[307d7f25] Running ~/.rvm/bin/rvm default do ruby --version on gymsight.com
DEBUG[307d7f25] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG[996d756c] ruby-2.1.2
DEBUG[996d756c] Finished in 0.713 seconds with exit status 0 (successful).
ruby-2.1.2
DEBUG[48178df2] Running ~/.rvm/bin/rvm default do ruby --version on 198.199.103.189
DEBUG[48178df2] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG[48178df2] ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
DEBUG[48178df2] Finished in 1.006 seconds with exit status 0 (successful).
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
DEBUG[307d7f25] ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
DEBUG[307d7f25] Finished in 1.050 seconds with exit status 0 (successful).
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
INFO[b95ad784] Running /usr/bin/env mkdir -p /tmp/gymsight/ on 198.199.103.189
INFO[08ef7bc6] Running /usr/bin/env mkdir -p /tmp/gymsight/ on gymsight.com
DEBUG[b95ad784] Command: /usr/bin/env mkdir -p /tmp/gymsight/
DEBUG[08ef7bc6] Command: /usr/bin/env mkdir -p /tmp/gymsight/
INFO[b95ad784] Finished in 0.083 seconds with exit status 0 (successful).
INFO[08ef7bc6] Finished in 0.091 seconds with exit status 0 (successful).
DEBUGUploading /tmp/gymsight/git-ssh.sh 0.0%
DEBUGUploading /tmp/gymsight/git-ssh.sh 0.0%
INFOUploading /tmp/gymsight/git-ssh.sh 100.0%
INFOUploading /tmp/gymsight/git-ssh.sh 100.0%
INFO[cfc58dbc] Running /usr/bin/env chmod +x /tmp/gymsight/git-ssh.sh on gymsight.com
DEBUG[cfc58dbc] Command: /usr/bin/env chmod +x /tmp/gymsight/git-ssh.sh
INFO[9992972b] Running /usr/bin/env chmod +x /tmp/gymsight/git-ssh.sh on 198.199.103.189
DEBUG[9992972b] Command: /usr/bin/env chmod +x /tmp/gymsight/git-ssh.sh
INFO[cfc58dbc] Finished in 0.079 seconds with exit status 0 (successful).
INFO[9992972b] Finished in 0.089 seconds with exit status 0 (successful).
DEBUG[4d6b1983] Running /usr/bin/env git ls-remote git@github.com:andrebautista/gymsight.git on gymsight.com
DEBUG[48ead5dc] Running /usr/bin/env git ls-remote git@github.com:andrebautista/gymsight.git on 198.199.103.189
DEBUG[48ead5dc] Command: ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/gymsight/git-ssh.sh /usr/bin/env git ls-remote git@github.com:andrebautista/gymsight.git )
DEBUG[4d6b1983] Command: ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/gymsight/git-ssh.sh /usr/bin/env git ls-remote git@github.com:andrebautista/gymsight.git )
DEBUG[4d6b1983] 99fc605369d11ea11ea6f43d1822a92496600b71 HEAD
DEBUG[4d6b1983] 2301cc2ae185393c762602be2d5961c4e7e58f52 refs/heads/contact_form
DEBUG[4d6b1983] bbe5a2d9fe581598eb7b9155ec0bfc7aa6e78373 refs/heads/devise
DEBUG[4d6b1983] 63256272f74f01623e0531e4b98c5f4dbe3fd7d5 refs/heads/fixed_size_images
DEBUG[4d6b1983] 29816115ccdb17a29cf1d3a057df03eca298cef7 refs/heads/fixing_contact_form
DEBUG[4d6b1983] 321e24d411a7604653ecbe00e625bad1871b8c4e refs/heads/gallery
DEBUG[4d6b1983] fd6d7d4c4198b02d85766dc4c1fe78e033a7343a refs/heads/layout
DEBUG[4d6b1983] 99fc605369d11ea11ea6f43d1822a92496600b71 refs/heads/master
DEBUG[4d6b1983] 23d6fefccf289c77f290970bfcbd38ed4f70b391 refs/heads/optimization
DEBUG[4d6b1983] Finished in 1.054 seconds with exit status 0 (successful).
DEBUG[48ead5dc] 99fc605369d11ea11ea6f43d1822a92496600b71 HEAD
DEBUG[48ead5dc] 2301cc2ae185393c762602be2d5961c4e7e58f52 refs/heads/contact_form
DEBUG[48ead5dc] bbe5a2d9fe581598eb7b9155ec0bfc7aa6e78373 refs/heads/devise
DEBUG[48ead5dc] 63256272f74f01623e0531e4b98c5f4dbe3fd7d5 refs/heads/fixed_size_images
DEBUG[48ead5dc] 29816115ccdb17a29cf1d3a057df03eca298cef7 refs/heads/fixing_contact_form
DEBUG[48ead5dc] 321e24d411a7604653ecbe00e625bad1871b8c4e refs/heads/gallery
DEBUG[48ead5dc] fd6d7d4c4198b02d85766dc4c1fe78e033a7343a refs/heads/layout
DEBUG[48ead5dc] 99fc605369d11ea11ea6f43d1822a92496600b71 refs/heads/master
DEBUG[48ead5dc] 23d6fefccf289c77f290970bfcbd38ed4f70b391 refs/heads/optimization
DEBUG[48ead5dc] Finished in 1.128 seconds with exit status 0 (successful).
INFO[78582abf] Running /usr/bin/env mkdir -pv /home/deploy/gymsight/shared /home/deploy/gymsight/releases on gymsight.com
DEBUG[78582abf] Command: /usr/bin/env mkdir -pv /home/deploy/gymsight/shared /home/deploy/gymsight/releases
INFO[932d3e5a] Running /usr/bin/env mkdir -pv /home/deploy/gymsight/shared /home/deploy/gymsight/releases on 198.199.103.189
DEBUG[932d3e5a] Command: /usr/bin/env mkdir -pv /home/deploy/gymsight/shared /home/deploy/gymsight/releases
INFO[932d3e5a] Finished in 0.084 seconds with exit status 0 (successful).
INFO[78582abf] Finished in 0.088 seconds with exit status 0 (successful).
INFO[bebb9965] Running /usr/bin/env mkdir -pv /home/deploy/gymsight/shared/bin /home/deploy/gymsight/shared/log /home/deploy/gymsight/shared/tmp/pids /home/deploy/gymsight/shared/tmp/cache /home/deploy/gymsight/shared/tmp/sockets /home/deploy/gymsight/shared/vendor/bundle /home/deploy/gymsight/shared/public/system on gymsight.com
DEBUG[bebb9965] Command: /usr/bin/env mkdir -pv /home/deploy/gymsight/shared/bin /home/deploy/gymsight/shared/log /home/deploy/gymsight/shared/tmp/pids /home/deploy/gymsight/shared/tmp/cache /home/deploy/gymsight/shared/tmp/sockets /home/deploy/gymsight/shared/vendor/bundle /home/deploy/gymsight/shared/public/system
INFO[5e43be19] Running /usr/bin/env mkdir -pv /home/deploy/gymsight/shared/bin /home/deploy/gymsight/shared/log /home/deploy/gymsight/shared/tmp/pids /home/deploy/gymsight/shared/tmp/cache /home/deploy/gymsight/shared/tmp/sockets /home/deploy/gymsight/shared/vendor/bundle /home/deploy/gymsight/shared/public/system on 198.199.103.189
DEBUG[5e43be19] Command: /usr/bin/env mkdir -pv /home/deploy/gymsight/shared/bin /home/deploy/gymsight/shared/log /home/deploy/gymsight/shared/tmp/pids /home/deploy/gymsight/shared/tmp/cache /home/deploy/gymsight/shared/tmp/sockets /home/deploy/gymsight/shared/vendor/bundle /home/deploy/gymsight/shared/public/system
INFO[bebb9965] Finished in 0.073 seconds with exit status 0 (successful).
INFO[5e43be19] Finished in 0.082 seconds with exit status 0 (successful).
INFO[91d11194] Running /usr/bin/env mkdir -pv /home/deploy/gymsight/shared/config on gymsight.com
DEBUG[91d11194] Command: /usr/bin/env mkdir -pv /home/deploy/gymsight/shared/config
INFO[5b983501] Running /usr/bin/env mkdir -pv /home/deploy/gymsight/shared/config on 198.199.103.189
DEBUG[5b983501] Command: /usr/bin/env mkdir -pv /home/deploy/gymsight/shared/config
INFO[5b983501] Finished in 0.074 seconds with exit status 0 (successful).
INFO[91d11194] Finished in 0.094 seconds with exit status 0 (successful).
DEBUG[7d78ecd4] Running /usr/bin/env [ -f /home/deploy/gymsight/shared/config/database.yml ] on gymsight.com
DEBUG[7d78ecd4] Command: [ -f /home/deploy/gymsight/shared/config/database.yml ]
DEBUG[4ce099c8] Running /usr/bin/env [ -f /home/deploy/gymsight/shared/config/database.yml ] on 198.199.103.189
DEBUG[4ce099c8] Command: [ -f /home/deploy/gymsight/shared/config/database.yml ]
DEBUG[7d78ecd4] Finished in 0.096 seconds with exit status 0 (successful).
DEBUG[4ce099c8] Finished in 0.096 seconds with exit status 0 (successful).
DEBUG[05619ffe] Running /usr/bin/env [ -f /home/deploy/gymsight/repo/HEAD ] on gymsight.com
DEBUG[5a6e8da5] Running /usr/bin/env [ -f /home/deploy/gymsight/repo/HEAD ] on 198.199.103.189
DEBUG[5a6e8da5] Command: [ -f /home/deploy/gymsight/repo/HEAD ]
DEBUG[05619ffe] Command: [ -f /home/deploy/gymsight/repo/HEAD ]
DEBUG[05619ffe] Finished in 0.087 seconds with exit status 0 (successful).
INFOThe repository mirror is at /home/deploy/gymsight/repo
DEBUG[5a6e8da5] Finished in 0.092 seconds with exit status 0 (successful).
INFOThe repository mirror is at /home/deploy/gymsight/repo
DEBUG[7d0b44cc] Running /usr/bin/env if test ! -d /home/deploy/gymsight/repo; then echo "Directory does not exist '/home/deploy/gymsight/repo'" 1>&2; false; fi on gymsight.com
DEBUG[8d2b5641] Running /usr/bin/env if test ! -d /home/deploy/gymsight/repo; then echo "Directory does not exist '/home/deploy/gymsight/repo'" 1>&2; false; fi on 198.199.103.189
DEBUG[8d2b5641] Command: if test ! -d /home/deploy/gymsight/repo; then echo "Directory does not exist '/home/deploy/gymsight/repo'" 1>&2; false; fi
DEBUG[7d0b44cc] Command: if test ! -d /home/deploy/gymsight/repo; then echo "Directory does not exist '/home/deploy/gymsight/repo'" 1>&2; false; fi
DEBUG[8d2b5641] Finished in 0.075 seconds with exit status 0 (successful).
DEBUG[a1f6d0e6] Running /usr/bin/env cd /home/deploy/gymsight/repo && git rev-parse --short HEAD on 198.199.103.189
DEBUG[a1f6d0e6] Command: cd /home/deploy/gymsight/repo && git rev-parse --short HEAD
DEBUG[7d0b44cc] Finished in 0.097 seconds with exit status 0 (successful).
DEBUG[0762a0a9] Running /usr/bin/env cd /home/deploy/gymsight/repo && git rev-parse --short HEAD on gymsight.com
DEBUG[0762a0a9] Command: cd /home/deploy/gymsight/repo && git rev-parse --short HEAD
DEBUG[a1f6d0e6] 99fc605
DEBUG[a1f6d0e6] Finished in 0.073 seconds with exit status 0 (successful).
INFO[74758342] Running /usr/bin/env git remote update on 198.199.103.189
DEBUG[74758342] Command: cd /home/deploy/gymsight/repo && /usr/bin/env git remote update
DEBUG[0762a0a9] 99fc605
DEBUG[0762a0a9] Finished in 0.070 seconds with exit status 0 (successful).
INFO[3443637d] Running /usr/bin/env git remote update on gymsight.com
DEBUG[3443637d] Command: cd /home/deploy/gymsight/repo && /usr/bin/env git remote update
DEBUG[74758342] Fetching origin
DEBUG[3443637d] Fetching origin
INFO[3443637d] Finished in 1.101 seconds with exit status 0 (successful).
DEBUG[905d9fef] Running /usr/bin/env cd /home/deploy/gymsight/repo && git rev-parse --short HEAD on gymsight.com
DEBUG[905d9fef] Command: cd /home/deploy/gymsight/repo && git rev-parse --short HEAD
INFO[74758342] Finished in 1.174 seconds with exit status 0 (successful).
DEBUG[c47ed214] Running /usr/bin/env cd /home/deploy/gymsight/repo && git rev-parse --short HEAD on 198.199.103.189
DEBUG[c47ed214] Command: cd /home/deploy/gymsight/repo && git rev-parse --short HEAD
DEBUG[905d9fef] 99fc605
DEBUG[905d9fef] Finished in 0.079 seconds with exit status 0 (successful).
DEBUG[c47ed214] 99fc605
DEBUG[c47ed214] Finished in 0.073 seconds with exit status 0 (successful).
DEBUG[49113740] Running /usr/bin/env if test ! -d /home/deploy/gymsight/repo; then echo "Directory does not exist '/home/deploy/gymsight/repo'" 1>&2; false; fi on gymsight.com
DEBUG[49113740] Command: if test ! -d /home/deploy/gymsight/repo; then echo "Directory does not exist '/home/deploy/gymsight/repo'" 1>&2; false; fi
DEBUG[cb401dab] Running /usr/bin/env if test ! -d /home/deploy/gymsight/repo; then echo "Directory does not exist '/home/deploy/gymsight/repo'" 1>&2; false; fi on 198.199.103.189
DEBUG[cb401dab] Command: if test ! -d /home/deploy/gymsight/repo; then echo "Directory does not exist '/home/deploy/gymsight/repo'" 1>&2; false; fi
DEBUG[49113740] Finished in 0.091 seconds with exit status 0 (successful).
INFO[c8dd3535] Running /usr/bin/env mkdir -p /home/deploy/gymsight/releases/20140630173201 on gymsight.com
DEBUG[c8dd3535] Command: cd /home/deploy/gymsight/repo && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/gymsight/git-ssh.sh /usr/bin/env mkdir -p /home/deploy/gymsight/releases/20140630173201 )
DEBUG[cb401dab] Finished in 0.094 seconds with exit status 0 (successful).
INFO[798dcf79] Running /usr/bin/env mkdir -p /home/deploy/gymsight/releases/20140630173201 on 198.199.103.189
DEBUG[798dcf79] Command: cd /home/deploy/gymsight/repo && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/gymsight/git-ssh.sh /usr/bin/env mkdir -p /home/deploy/gymsight/releases/20140630173201 )
INFO[798dcf79] Finished in 0.082 seconds with exit status 0 (successful).
INFO[b1aa87a0] Running /usr/bin/env git archive master | tar -x -C /home/deploy/gymsight/releases/20140630173201 on 198.199.103.189
DEBUG[b1aa87a0] Command: cd /home/deploy/gymsight/repo && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/gymsight/git-ssh.sh /usr/bin/env git archive master | tar -x -C /home/deploy/gymsight/releases/20140630173201 )
INFO[c8dd3535] Finished in 0.087 seconds with exit status 0 (successful).
INFO[a3711b5a] Running /usr/bin/env git archive master | tar -x -C /home/deploy/gymsight/releases/20140630173201 on gymsight.com
DEBUG[a3711b5a] Command: cd /home/deploy/gymsight/repo && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/gymsight/git-ssh.sh /usr/bin/env git archive master | tar -x -C /home/deploy/gymsight/releases/20140630173201 )
INFO[b1aa87a0] Finished in 0.136 seconds with exit status 0 (successful).
INFO[a3711b5a] Finished in 0.135 seconds with exit status 0 (successful).
INFO[5856dd2c] Running /usr/bin/env mkdir -pv /home/deploy/gymsight/releases/20140630173201/config on gymsight.com
DEBUG[5856dd2c] Command: /usr/bin/env mkdir -pv /home/deploy/gymsight/releases/20140630173201/config
INFO[68c6db9a] Running /usr/bin/env mkdir -pv /home/deploy/gymsight/releases/20140630173201/config on 198.199.103.189
DEBUG[68c6db9a] Command: /usr/bin/env mkdir -pv /home/deploy/gymsight/releases/20140630173201/config
INFO[5856dd2c] Finished in 0.072 seconds with exit status 0 (successful).
DEBUG[21d3253a] Running /usr/bin/env [ -L /home/deploy/gymsight/releases/20140630173201/config/database.yml ] on gymsight.com
DEBUG[21d3253a] Command: [ -L /home/deploy/gymsight/releases/20140630173201/config/database.yml ]
INFO[68c6db9a] Finished in 0.078 seconds with exit status 0 (successful).
DEBUG[58ceb4f9] Running /usr/bin/env [ -L /home/deploy/gymsight/releases/20140630173201/config/database.yml ] on 198.199.103.189
DEBUG[58ceb4f9] Command: [ -L /home/deploy/gymsight/releases/20140630173201/config/database.yml ]
DEBUG[21d3253a] Finished in 0.078 seconds with exit status 1 (failed).
DEBUG[4f93d845] Running /usr/bin/env [ -f /home/deploy/gymsight/releases/20140630173201/config/database.yml ] on gymsight.com
DEBUG[4f93d845] Command: [ -f /home/deploy/gymsight/releases/20140630173201/config/database.yml ]
DEBUG[58ceb4f9] Finished in 0.085 seconds with exit status 1 (failed).
DEBUG[2bce08c9] Running /usr/bin/env [ -f /home/deploy/gymsight/releases/20140630173201/config/database.yml ] on 198.199.103.189
DEBUG[2bce08c9] Command: [ -f /home/deploy/gymsight/releases/20140630173201/config/database.yml ]
DEBUG[2bce08c9] Finished in 0.075 seconds with exit status 1 (failed).
INFO[fbd7c5f9] Running /usr/bin/env ln -s /home/deploy/gymsight/shared/config/database.yml /home/deploy/gymsight/releases/20140630173201/config/database.yml on 198.199.103.189
DEBUG[fbd7c5f9] Command: /usr/bin/env ln -s /home/deploy/gymsight/shared/config/database.yml /home/deploy/gymsight/releases/20140630173201/config/database.yml
DEBUG[4f93d845] Finished in 0.086 seconds with exit status 1 (failed).
INFO[0d97f5ab] Running /usr/bin/env ln -s /home/deploy/gymsight/shared/config/database.yml /home/deploy/gymsight/releases/20140630173201/config/database.yml on gymsight.com
DEBUG[0d97f5ab] Command: /usr/bin/env ln -s /home/deploy/gymsight/shared/config/database.yml /home/deploy/gymsight/releases/20140630173201/config/database.yml
DEBUG[fbd7c5f9] ln:
DEBUG[fbd7c5f9] failed to create symbolic link ‘/home/deploy/gymsight/releases/20140630173201/config/database.yml’
DEBUG[fbd7c5f9] : File exists
DEBUG[fbd7c5f9]
INFO[0d97f5ab] Finished in 0.079 seconds with exit status 0 (successful).
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing on host 198.199.103.189: ln exit status: 1
ln stdout: Nothing written
ln stderr: ln: failed to create symbolic link ‘/home/deploy/gymsight/releases/20140630173201/config/database.yml’: File exists
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/command.rb:97:in `exit_status='
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:148:in `block (5 levels) in _execute'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/channel.rb:551:in `call'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/channel.rb:551:in `do_request'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:561:in `channel_request'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:465:in `dispatch_incoming_packets'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:221:in `preprocess'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:205:in `process'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in `block in loop'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in `loop'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in `loop'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/channel.rb:269:in `wait'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:170:in `block (3 levels) in _execute'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/channel.rb:514:in `call'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/channel.rb:514:in `do_open_confirmation'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:545:in `channel_open_confirmation'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:465:in `dispatch_incoming_packets'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:221:in `preprocess'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:205:in `process'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in `block in loop'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in `loop'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in `loop'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:172:in `block (2 levels) in _execute'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:186:in `with_ssh'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:131:in `block in _execute'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:128:in `tap'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:128:in `_execute'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:66:in `execute'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/capistrano-3.1.0/lib/capistrano/tasks/deploy.rake:126:in `block (5 levels) in <top (required)>'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/capistrano-3.1.0/lib/capistrano/tasks/deploy.rake:119:in `each'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/capistrano-3.1.0/lib/capistrano/tasks/deploy.rake:119:in `block (4 levels) in <top (required)>'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:54:in `instance_exec'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:54:in `run'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/runners/parallel.rb:13:in `block (2 levels) in execute'
SSHKit::Command::Failed: ln exit status: 1
ln stdout: Nothing written
ln stderr: ln: failed to create symbolic link ‘/home/deploy/gymsight/releases/20140630173201/config/database.yml’: File exists
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/command.rb:97:in `exit_status='
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:148:in `block (5 levels) in _execute'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/channel.rb:551:in `call'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/channel.rb:551:in `do_request'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:561:in `channel_request'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:465:in `dispatch_incoming_packets'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:221:in `preprocess'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:205:in `process'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in `block in loop'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in `loop'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in `loop'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/channel.rb:269:in `wait'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:170:in `block (3 levels) in _execute'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/channel.rb:514:in `call'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/channel.rb:514:in `do_open_confirmation'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:545:in `channel_open_confirmation'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:465:in `dispatch_incoming_packets'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:221:in `preprocess'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:205:in `process'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in `block in loop'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in `loop'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in `loop'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:172:in `block (2 levels) in _execute'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:186:in `with_ssh'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:131:in `block in _execute'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:128:in `tap'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:128:in `_execute'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:66:in `execute'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/capistrano-3.1.0/lib/capistrano/tasks/deploy.rake:126:in `block (5 levels) in <top (required)>'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/capistrano-3.1.0/lib/capistrano/tasks/deploy.rake:119:in `each'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/capistrano-3.1.0/lib/capistrano/tasks/deploy.rake:119:in `block (4 levels) in <top (required)>'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:54:in `instance_exec'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:54:in `run'
/Users/andrebautista2513/.rvm/gems/ruby-2.1.0/gems/sshkit-1.5.1/lib/sshkit/runners/parallel.rb:13:in `block (2 levels) in execute'
Tasks: TOP => deploy:symlink:linked_files
(See full trace by running task with --trace)
The deploy has failed with an error: #<SSHKit::Runner::ExecuteError: Exception while executing on host 198.199.103.189: ln exit status: 1
ln stdout: Nothing written
ln stderr: ln: failed to create symbolic link ‘/home/deploy/gymsight/releases/20140630173201/config/database.yml’: File exists
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment