I’m a windows user. I have svn setup and am trying to deploy my app
with capistrano for the first time on to media temple. I ran cap deploy
and a message box from TortisePlink pops up asking for a password. I’m
clearly not getting the password correctly because it continues to
prompt me until it spits out this:
- executing `deploy’
- executing `deploy:update’
** transaction: start
- executing `deploy:update_code’
- executing “svn checkout -q -r7
svn+ssh://serveradmin%s30482.gridserver.com@
s30482.gridserver.com/home/30482/data/repo/bigtop
/home/30482/containers/rails/b
igtop/releases/20071208070316 && (echo 7 >
/home/30482/containers/rails/bigtop/r
eleases/20071208070316/REVISION)”
servers: [“s30482.gridserver.com”]
[s30482.gridserver.com] executing command
** [err] Host key verification failed.
** [err] svn: Connection closed unexpectedly
command finished
*** [deploy:update_code] rolling back
- executing “rm -rf
/home/30482/containers/rails/bigtop/releases/2007120807031
6; true”
servers: [“s30482.gridserver.com”]
[s30482.gridserver.com] executing command
command finished
command “svn checkout -q -r7
svn+ssh://serveradmin%s30482.gridserver.com@s30482
.gridserver.com/home/30482/data/repo/bigtop
/home/30482/containers/rails/bigtop/
releases/20071208070316 && (echo 7 >
/home/30482/containers/rails/bigtop/release
s/20071208070316/REVISION)” failed on s30482.gridserver.com
Any help or guidance would be appreciated. I’m not sure what password
it is looking for. I tried using my main password, but it didn’t work.
Running into the exact same problem here. Except I’m deploying from
Debian linux.
I’ve also tried deleting the ~/.ssh/known_hosts file, but no luck.
Asks me for the password three times. I get the same behavior from
TortioseSVN when checking out from mediatemple’s svn - have to enter
the password 3 times…
On Dec 8, 12:06 am, Jimmy P. [email protected]
Has anyone figured out the solution to this problem? I’m still stuck on
it… I guess I’ll just switch over to the rsync_with_remote_cache
recipe.
Forgot to mention that I’m not actually on mediatemple, but maybe the
fact that I’m on a similar shared host is a clue.
On Dec 20, 3:04 pm, “[email protected]”
Think I may have found the problem, and after poking around obscure
blogs for a couple of hours it turned out to be “at the source,” so to
speak. I don’t have time to try it out now, but in the section under
“SSL Authentication Problems on Setup” might be a clue as to the
answer:
http://wiki.rubyonrails.org/rails/pages/Capistrano
On Dec 20, 3:05 pm, “[email protected]”
Looks good, I’ll have to try it out later.
But if it doesn’t work for you I really recommend using the
rsync_with_remote_cache plugin. Install and usage details are here:
http://trac.extendviget.com/lab/wiki/CapistranoRsyncWithRemoteCache
Even though this plugin still checks out a fresh copy from your
repository, for some reason it doesn’t trigger the error. Also if you
are working on a large project but only making incremental changes, this
speeds up the deployment because you are only uploading changes to you
project.
I’m stuck on this one now too.
svn checkout -q -r17 svn+ssh://[email protected]/home/username/svn/
myapplication/trunk
Above is the exact command Capistrano is running for me–and failing–
whereas I can run that just fine manually.
I also think it’s odd that it would rather fail than ask for a
password. My ssh_options[:keys] is correct, my user is correct, etc.
I’m now wondering if it’s second part of the checkout, which for me
looks like
/home/username/myapplication/releases/20071220214955
Is it expecting something I don’t know about? Permissions? Is the SSH
user for some reason not able to work on those folders?
On Dec 18, 3:44 pm, Matt S. [email protected]
I encountered this error when trying to deploy to MediaTemple using a
MediaTemple hosted svn repo. Not sure if this will help, but here’s
how I fixed it:
- SSHed into my production server
- from production server, SSH into repository server (note for me
this was SSHing into production server from itself. A bit of
recursive SSHing)
- this logs the Host key and gets rid of the “Host key
verification failed.” error
I then encountered another problem regarding the authorization, for
which I generated a public/private key combo on the production server
for itself. Someone please tell me if I’m breaking some huge rule by
doing so. Hope this helps someone, and sorry that this is from such
an old post. I googled upon this thread and figured I’d update it.
On Dec 8 2007, 3:06 am, Jimmy P. <ruby-forum-incom…@andreas-
Max Kaplan wrote:
I’m having a similarr issue with Media Temple and Capistrano
deployment…
I fixed the issue by adding
set :use_sudo, false
to my deploy.rb
I’m having a similarr issue with Media Temple and Capistrano
deployment…
When I do this : cap mt:add from my local app dir it works fine, but
when I move onto the next step and try to run:
cap deploy:setup
I get… (the ####s are for my privacy)
- executing `deploy:setup’
- executing “sudo -p 'sudo password: ’ mkdir -p
/home/####/containers/rails/pmis
/home/####/containers/rails/pmis/releases
/home/####/containers/rails/pmis/shared
/home/####/containers/rails/pmis/shared/system
/home/####/containers/rails/pmis/shared/log
/home/####/containers/rails/pmis/shared/pids && sudo -p 'sudo password:
’ chmod g+w /home/####/containers/rails/pmis
/home/####/containers/rails/pmis/releases
/home/####/containers/rails/pmis/shared
/home/####/containers/rails/pmis/shared/system
/home/####/containers/rails/pmis/shared/log
/home/####/containers/rails/pmis/shared/pids”
servers: [“sustainable-future.com”]
[sustainable-future.com] executing command
*** [err :: sustainable-future.com] sh: line 1: sudo: command not found
command finished
command “sudo -p 'sudo password: ’ mkdir -p
/home/####/containers/rails/pmis
/home/####/containers/rails/pmis/releases
/home/####/containers/rails/pmis/shared
/home/####/containers/rails/pmis/shared/system
/home/####/containers/rails/pmis/shared/log
/home/####/containers/rails/pmis/shared/pids && sudo -p 'sudo password:
’ chmod g+w /home/####/containers/rails/pmis
/home/####/containers/rails/pmis/releases
/home/####/containers/rails/pmis/shared
/home/####/containers/rails/pmis/shared/system
/home/####/containers/rails/pmis/shared/log
/home/####/containers/rails/pmis/shared/pids” failed on
sustainable-future.com
I’m stumped! any help would be great!