Hi there.
I'm basically a noob to capistrano and I was trying to deploy a small
application I wrote to a server I have set up. I connect to my svn
repository on my server using svn+ssh and I know that is working
because I can use a GUI svn program on my mac (svnX) to connect, and
it works just fine checking things in and out.
I configured my deploy.rb with the correct paths, as far as I know.
'cap setup' runs just fine, but when I run 'cap cold_deploy' I get the
output below.
(I've sanitized by replacing my actual username with 'username' and my
actual host with 'myserver.com'. My application name is "allocator".
Locally I'm running Capistrano v1.4.1.)
-----------------------------------------
* executing task cold_deploy
* executing task update
** transaction: start
* executing task update_code
* querying latest revision...
* executing "if [[ ! -d /var/data/rails_apps/allocator/releases/
20080115001530 ]]; then\n svn co --no-auth-cache -q -
r20 svn+ssh://[EMAIL PROTECTED]/var/data/allocatorrepo/ /var/data/
rails_apps/allocator/releases/20080115001530 &&\n (test -
e /var/data/rails_apps/allocator/revisions.log || (touch /var/data/
rails_apps/allocator/revisions.log && chmod 666 /var/data/rails_apps/
allocator/revisions.log)) && echo `date +\"%Y-%m-%d %H:%M:%S\"` $USER
20 20080115001530 >> /var/data/rails_apps/allocator/revisions.log;
\n fi"
servers: ["myserver.com"]
*** [update_code] transaction: rollback
* [update_code] rolling back
* executing "rm -rf /var/data/rails_apps/allocator/releases/
20080115001530"
servers: ["myserver.com"]
** [update_code] exception while rolling back: Errno::EHOSTDOWN, Host
is down - connect(2)
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/
powerpc/lib/ruby/gems/1.8/gems/net-ssh-1.0.10/lib/net/ssh/transport/
session.rb:88:in `initialize': Host is down - connect(2)
(Errno::EHOSTDOWN)
-----------------------------------------
Then there are lots and lots more lines of the error traceback.
Anyone have any idea what's going on? I can't figure it out. Any
help is appreciated.
Thanks.
Neckfraid
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---