I added:

default_run_options[:pty] = true

to deploy.rb and now it works!

:-) j

On 19 Maj, 17:01, Lee Hambley <[email protected]> wrote:
> Jonas,
> Either your server, or your workstation isn't allowed to access the SCM
> server.
>
> Please post your config file (deploy.rb) to pastie, or gist, and I'll advise
> you what to try once I have that.
>
> - Lee
>
> 2009/5/19 [email protected] <[email protected]>
>
>
>
> > I have rather recently given up web development with Filemaker XSLT
> > and instead started to learn RoR. So far I love it, with the clear
> > exeption of deployment on Leopard server.
>
> > When I run cap deploy from my client I get Permission denied:
>
> > executing "svn export -q --username admin --password **** --no-auth-
> > cache -r39 svn+ssh://www4.ibiz.se/Users/Shared/svnrepo/lektion /
> > Library/WebServer/lektion/releases/20090519105735 && (echo 39 > /
> > Library/WebServer/lektion/releases/20090519105735/REVISION)"
> > servers: ["www4.ibiz.se"]
> > [www4.ibiz.se] executing command
> > ** [www4.ibiz.se :: err] Permission denied, please try again.
> > ** [www4.ibiz.se :: err] Permission denied, please try again.
> > ** [www4.ibiz.se :: err] Received disconnect from 192.168.1.22: 2: Too
> > many authentication failures for admin
> > ** [www4.ibiz.se :: err] svn: Connection closed unexpectedly
> > command finished
> > *** [deploy:update_code] rolling back
> > * executing "rm -rf /Library/WebServer/lektion/releases/
> > 20090519105735; true"
> > servers: ["www4.ibiz.se"]
> > [www4.ibiz.se] executing command
> > command finished
> > failed: "sh -c \"svn export -q --username admin --password **** --no-
> > auth-cache -r39 svn+ssh://www4.ibiz.se/Users/Shared/svnrepo/lektion /
> > Library/WebServer/lektion/releases/20090519105735 && (echo 39 > /
> > Library/WebServer/lektion/releases/20090519105735/REVISION)\"" on
> > www4.ibiz.se
>
> > In the log on the server it says:
> > error: PAM: Authentication failure for admin from www4.ibiz.se
>
> > If I try the command that didn't work from the terminal on the server
> > to works:
> > svn export -q --username admin --password **** --no-auth-cache -r39 svn
> > +ssh://www4.ibiz.se/Users/Shared/svnrepo/lektion /Library/WebServer/
> > lektion/releases/20090519105735 && (echo 39 > /Library/WebServer/
> > lektion/releases/20090519105735/REVISION)\
>
> > I can ssh to the server:
> > Macintosh:lektion jeb$ ssh www4.ibiz.se -l admin
> > Last login: Tue May 19 12:30:32 2009
> > www4:~ admin$ ssh www4.ibiz.se -l admin 'uptime'
> > Password:
> > 13:24  up 1 hr, 3 users, load averages: 0.11 0.10 0.08
> > www4:~ admin$ exit
> > logout
> > Connection to www4.ibiz.se closed.
> > Macintosh:lektion jeb$
>
> > So, does anyone have any idear of what is wrong?
>
> > :-( jonas
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to