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
Parked at Loopia
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?
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.