Forum: Ruby on Rails Capistrano Woes

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Xin Z. (Guest)
on 2007-05-18 06:48
(Received via mailing list)
Hi List,

I am having difficulty deploying with Capistrano v1. It always used
to
work, but for some reason, it is not anymore.

Output message when 'cap deploy'ing:

http://pastie.caboo.se/62562

The issue seems to be update_code task not retrieving the source code
from my svn repository. I have double- and triple-checked the deploy
script, and all seems fine.

The SVN repository works fine when I checkout manually.

Can anyone offer any insight into this?

I have been trying to fix this for a while. I might try Capistrano v2
soon if I can't suss this.

Cheers,
Xin
Michael D. Ivey (Guest)
on 2007-05-18 07:23
(Received via mailing list)
> http://pastie.caboo.se/62562

It's an ssh issue:
# ** [update_code] exception while rolling back:
Net::SSH::HostKeyMismatch, fingerprint 7e:4c:e3:1a:f3:2a:08:5f:
83:ed:ae:88:28:cf:e2:a2 does not match for babytoddler.org
# /usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.1/lib/net/ssh/host-key-
verifier.rb:47:in `process_cache_miss': fingerprint 7e:4c:e3:1a:f3:2a:
08:5f:83:ed:ae:88:28:cf:e2:a2 does not match for mydomain.org
(Net::SSH::HostKeyMismatch)
# from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.1/lib/net/ssh/host-key-
verifier.rb:38:in `verify'

Your server host key has changed, maybe?
dasil003 (Guest)
on 2007-05-18 09:17
(Received via mailing list)
See this post http://weblog.jamisbuck.org/2007/5/10/net-ssh-1-1-1

I am having the problem as well.  Sometimes deleting the given host
entry from .ssh/known_hosts fixes the problem, sometimes I have to
delete all the lines.
This topic is locked and can not be replied to.