开发者

First Time Capistrano User. No error returned, but no code actually uploaded

开发者 https://www.devze.com 2023-02-10 05:02 出处:网络
I\'ve been following this tutorial. I\'m working with WebFaction. The difference to be noted, is that WF uses NginX and not Passenger.

I've been following this tutorial.

I'm working with WebFaction. The difference to be noted, is that WF uses NginX and not Passenger.

So after I got through the whole thing an开发者_Python百科d I type:

cap deploy

It returns after I type my password ( correctly? ):

Password: 
*** [deploy:update_code] rolling back
  * executing "rm -rf /home/shadyfront/webapps/age_of_revolt/releases/20110211211509; true"
    servers: ["174.133.20.24"]
 ** [deploy:update_code] exception while rolling back: Capistrano::ConnectionError, connection failed for: 174.133.20.24 (Net::SSH::AuthenticationFailed: shadyfront)
connection failed for: 174.133.20.24 (Net::SSH::AuthenticationFailed: shadyfront)

I'm pretty sure this is where it is erring. Any ideas what kind of error this is?

Thanks everyone!!

I see a couple peculiar errors here:


connection failed for: 174.133.20.24 (Net::SSH::AuthenticationFailed: shadyfront)

That error is telling you that your login is failing. Generally, you would want to use public key logins for cap so you don't have to type your password all of the time. However, the password method should still work.

  1. Double-check your password.
  2. Make sure that you can do ssh shadyfront@174.133.20.24 manually and get a command prompt.


use next ~/.ssh/config file:

KeepAlive yes
User shadyfront
RSAAuthentication yes
IdentityFile ~/.ssh/id_rsa
HostbasedAuthentication no
0

精彩评论

暂无评论...
验证码 换一张
取 消