"cap deploy:cleanup" fails with a stdin error

214 views
Skip to first unread message

Andy Pols

unread,
Oct 17, 2007, 7:08:32 PM10/17/07
to Capistrano
I've just updgraded from version 1 to version 2.

Everything appears to works well except that "cap deploy:cleanup"
fails with the following error:

[demo.pols.co.uk] executing command
error processing "ls -x /home/httpd/app/dreamfactory/releases":
"stdin: is not a tty\n"

The wierd thing is that I get the stdin error on all the other
commands, but they still work.
Does anyone know what's going on here? Is there some extra
configuration I have to do that I've missed?

I'm running Capistrano v2.1.0 on OSX and deploying to Linux.

Thanks
Andy

P.S. I'm upto release 588 with capistrano!!!!! Thanks a lot for a
great tool.

Jamis Buck

unread,
Oct 17, 2007, 8:25:12 PM10/17/07
to capis...@googlegroups.com
Try adding this to your deploy.rb:

default_run_options[:pty] = true

- Jamis

> --~--~---------~--~----~------------~-------~--~----~
> To unsubscribe from this group, send email to capistrano-
> unsub...@googlegroups.com
> For more options, visit this group at http://groups.google.com/
> group/capistrano
> -~----------~----~----~----~------~----~------~--~---
>

Andy Pols

unread,
Oct 18, 2007, 6:45:18 PM10/18/07
to Capistrano
Thanks Jamis. That did the trick.

On Oct 18, 1:25 am, Jamis Buck <ja...@37signals.com> wrote:
> Try adding this to your deploy.rb:
>
> default_run_options[:pty] = true
>
> - Jamis
>
> On Oct 17, 2007, at 5:08 PM, Andy Pols wrote:
>
>
>
> > I've just updgraded from version 1 to version 2.
>
> > Everything appears to works well except that "cap deploy:cleanup"
> > fails with the following error:
>
> > [demo.pols.co.uk] executing command
> > error processing "ls -x /home/httpd/app/dreamfactory/releases":
> > "stdin: is not a tty\n"
>
> > The wierd thing is that I get the stdin error on all the other
> > commands, but they still work.
> > Does anyone know what's going on here? Is there some extra
> > configuration I have to do that I've missed?
>
> > I'm running Capistrano v2.1.0 on OSX and deploying to Linux.
>
> > Thanks
> > Andy
>
> > P.S. I'm upto release 588 with capistrano!!!!! Thanks a lot for a
> > great tool.
>
> > >
>
>

> smime.p7s
> 3KDownload

Reply all
Reply to author
Forward
0 new messages