Hi, friends!
I’m using Rails 3.2.3, RVM, Postgresql 9.1.3 and running Ubuntu Server 11.10 on my own Dell server. I tried this:
cap deploy:check
- executing `deploy:check’
- executing “test -d /home/digifoto.com/apps/digifoto/releases” servers: [“188.xx.xx.xx”] [188.xx.xx.xx] executing command [188.xx.xx.xx] rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell ‘1.9.3’ -c ‘test -d /home/digifoto.com/apps/digifoto/releases’ command finished in 389ms
- executing “test -w /home/digifoto.com/apps/digifoto” servers: [“188.xx.xx.xx”] [188.xx.xx.xx] executing command [188.xx.xx.xx] rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell ‘1.9.3’ -c ‘test -w /home/digifoto.com/apps/digifoto’ command finished in 251ms
- executing “test -w /home/digifoto.com/apps/digifoto/releases” servers: [“188.xx.xx.xx”] [188.xx.xx.xx] executing command [188.xx.xx.xx] rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell ‘1.9.3’ -c ‘test -w /home/digifoto.com/apps/digifoto/releases’ command finished in 256ms
- executing “which tar” servers: [“188.xx.xx.xx”] [188.xx.xx.xx] executing command [188.xx.xx.xx] rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell ‘1.9.3’ -c ‘which tar’ command finished in 513ms You appear to have all necessary dependencies installed
Well, then I issued: cap deploy
After several minutes I got an error:
[188.xx.xx.xx] sftp upload /tmp/20120414150439.tar.gz → /tmp/20120414150439.tar.gz *** upload via sftp failed on 188.xx.xx.xx: Connection timed out - recvfrom(2) (Connection timed out - recvfrom(2)) *** [deploy:update_code] rolling back
- executing “rm -rf /home/digifoto.com/apps/digifoto/releases/20120414150439; true” servers: [“188.xx.xx.xx”] ** [deploy:update_code] exception while rolling back: IOError, closed stream upload via sftp failed on 188.xx.xx.xx: Connection timed out - recvfrom(2) (Connection timed out - recvfrom(2))
This is my deploy.rb: