# Capistrano Woes

**URL:** <https://www.ruby-forum.com/t/capistrano-woes/104450>\
**Category:** Rails\
**Created:** [May 18, 2007, 4:48am UTC](https://www.ruby-forum.com/t/capistrano-woes/104450 "2007-05-18T04:48:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![samuelzx](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/4491bb/32.png) [@samuelzx](https://www.ruby-forum.com/u/samuelzx)\
**Post date:** [May 18, 2007, 4:48am UTC](https://www.ruby-forum.com/t/capistrano-woes/104450/1 "2007-05-18T04:48:07Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![samuelzx](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/4491bb/32.png) [@samuelzx](https://www.ruby-forum.com/u/samuelzx)\
**Post date:** [May 18, 2007, 5:23am UTC](https://www.ruby-forum.com/t/capistrano-woes/104450/2 "2007-05-18T05:23:09Z")

</div>

> [Parked at Loopia](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](http://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](http://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?

---

<div class="post-metadata">

**Author:** ![samuelzx](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/4491bb/32.png) [@samuelzx](https://www.ruby-forum.com/u/samuelzx)\
**Post date:** [May 18, 2007, 7:17am UTC](https://www.ruby-forum.com/t/capistrano-woes/104450/3 "2007-05-18T07:17:17Z")

</div>

See this post [http://weblog.jamisbuck.org/2007/5/10/net-ssh-1-1-1](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.
