Ruby-on-rails – use Capistrano users for the first time. No error, but do not actually upload code

I’ve been following this tutorial.

I am using WebFaction. It should be noted that WF uses NginX instead of Passenger.

p>

So after completing the whole process, I enter:

cap deploy

After I enter the password, it will return (correct?):< /p>

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 am pretty sure this is the wrong place. Any ideas what it looks like Mistake?

Thank you everyone! !

I see a few strange errors here:

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

This error tells you that the login failed. Usually, you want to use the public key to log in to get the upper limit, so you don’t have to keep typing Password. However, the password method still works.

>Check your password carefully.> Make sure you can manually execute ssh [email protected] and get the command prompt.

< /p>

I’ve been following this tutorial.

I’m using WebFaction. It should be noted that WF uses NginX instead of Passenger.

So after completing the whole process, I enter:

cap deploy

After I enter the password, it will return (correct?):

Password: 
*** [deploy:update_code] rolling back
* executing "rm -rf /home/shadyfront/webapps/age_of_revolt/releases/20110211211509; true"< br /> 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 the wrong place. Any idea what kind of error it is?

Thank you everyone! !

I see a few strange errors here:

Connection failed: 174.133.20.24(Net :: SSH :: AuthenticationFailed :Shadyfront)

This error tells you that the login failed. Usually, you want to use the public key to log in to get the upper limit, so you don’t have to enter the password all the time. However, the password method is still valid.

>Check your password carefully.> Make sure you can manually execute ssh [email protected] and get the command prompt.

Leave a Comment

Your email address will not be published.