[Capistrano] Re: query_revision and undefined method

2007-10-15 Thread Bolo
Hello Jamis, when i change user for set :scm_username , capistro try to connect with bmichelin et not b.michelin set :scm_username , b.michelin set :application, partenaires set :repository,

[Capistrano] Re: could not open direct channel for 65535:88.198.27.52:22

2007-10-15 Thread Jamis Buck
It's not the authentication that is failing, it is the lower-level attempt to open a forwarded port to the remote host. I wonder if your gateway's SSH implementation is somehow not configured to allow port forwarding. That, or maybe the SSH server on the remote host is not running on port

[Capistrano] Re: query_revision and undefined method

2007-10-15 Thread Jamis Buck
What version of cap are you using? - Jamis On Oct 15, 2007, at 5:34 AM, Bolo wrote: Hello Jamis, when i change user for set :scm_username , capistro try to connect with bmichelin et not b.michelin set :scm_username , b.michelin

[Capistrano] Re: Get last task executed

2007-10-15 Thread Jamis Buck
Matt, I'm not sure I understand what you're wanting to do. Can you give an example of what you'd like? - Jamis On Oct 14, 2007, at 8:14 PM, goodieboy wrote: Hi, I'm running Capistrano in a Rails app. I'd like to be able to log the information associated with the last Capistrano task.

[Capistrano] Re: query_revision and undefined method

2007-10-15 Thread Bolo
pc-mq-dsi3:~/Documents/Coding-Dev/partenaires bmichelin$ cap -V Capistrano v2.0.100 it's not the last ? On 15 oct, 11:10, Jamis Buck [EMAIL PROTECTED] wrote: What version of cap are you using? - Jamis On Oct 15, 2007, at 5:34 AM, Bolo wrote: Hello Jamis, when i change user for set

[Capistrano] Re: Comments requested for a simple deployment scheme

2007-10-15 Thread Jonathan Weiss
Does anyone have an idea how to solve this or work around it? I'd like to avoid deploying as sudo or forcing the team, including me, to use a single user for deployment. Use Webistrano, thereby you will always know who deployed which version when and get a nice UI. See

[Capistrano] Re: query_revision and undefined method

2007-10-15 Thread Jamis Buck
I just released 2.1 last night. See if that makes any difference for you. - Jamis On Oct 15, 2007, at 9:42 AM, Bolo wrote: pc-mq-dsi3:~/Documents/Coding-Dev/partenaires bmichelin$ cap -V Capistrano v2.0.100 it's not the last ? On 15 oct, 11:10, Jamis Buck [EMAIL PROTECTED] wrote: What

[Capistrano] How to handle errors/stdin when not using console?

2007-10-15 Thread goodieboy
Hi, I'm using Capistrano through Rails. There is a problem where if a user types in the wrong password for SVN, Capistrano hangs waiting for input. Is there a way for me to detect a STDIN request like that and handle it appropriately? Thanks. Matt

[Capistrano] Re: Comments requested for a simple deployment scheme

2007-10-15 Thread Paul Dowman
Using sudo doesn't necessarily mean that you're giving away full root access. You can allow sudo access for a particular command only, and/or allow sudoing as a particular user only. man sudoers for more info. (If you allow sudo access for a script just make sure it's not writable.) I would use

[Capistrano] Re: query_revision and undefined method

2007-10-15 Thread Bolo
Same thing always bmichelin and not b.michelin pc-mq-dsi3:~/Documents/Coding-Dev/partenaires bmichelin$ cap deploy * executing `deploy' * executing `deploy:update' ** transaction: start * executing `deploy:update_code' [EMAIL PROTECTED]'s password: maybe my recipe is wrong ? set

[Capistrano] Re: query_revision and undefined method

2007-10-15 Thread Bolo
Is that the entire contents of your deploy.rb? Yes And i use Rails 2.0 preview, with this project i did use before Capistrano. It's a clear project :( On 15 oct, 16:07, Jamis Buck [EMAIL PROTECTED] wrote: Is that the entire contents of your deploy.rb? For some reason, it is picking up your

[Capistrano] Re: query_revision and undefined method

2007-10-15 Thread Philip Hallstrom
Not sure this helps as I didn't see the original thread, but I believe when cap queries for the SVN revision it does so from the host you are running cap on, not one of the :app hosts. I hit this as my :app host is the same as my svn repo so initially had a different :repository and it

[Capistrano] Re: query_revision and undefined method

2007-10-15 Thread Bolo
Not sure this helps as I didn't see the original thread, but I believe when cap queries for the SVN revision it does so from the host you are running cap on, not one of the :app hosts. No it's same, place however , i just use the ip adresse for subversion. 192.168.1.30 == lamp2 :( Thanks for

[Capistrano] where are the rdocs?

2007-10-15 Thread Nathan Youngman
Hi Jamis | all Thanks for all your work on Capistrano 2.1. I'm new to cap, and trying to learn how to set things like a different scm user. While the tutorials on capify are an excellent start, I need more info. When running gem_server locally, I don't get an rdoc link for capistrano. Where can

[Capistrano] multistage configuration ignoring svn_username?

2007-10-15 Thread Brian Hardy
Hello everyone. I have just upgraded to Capistrano 2.1 and installed capistrano-ext 1.2 in order to use the multistage features. Unfortunately, when attempting to deploy to either staging or production, my setting for the svn_username variable appears to be ignored in favor of the username that

[Capistrano] Re: where are the rdocs?

2007-10-15 Thread Brian Hardy
On Oct 15, 9:41 pm, Brian Hardy [EMAIL PROTECTED] wrote: On Oct 15, 7:27 pm, Nathan Youngman [EMAIL PROTECTED] wrote: Thanks for all your work on Capistrano 2.1. I'm new to cap, and trying to learn how to set things like a different scm user. This is possible via: set :svn_username,

[Capistrano] sudo err?

2007-10-15 Thread Justin
I have overridden 'deploy:restart' for Litespeed. The restart task fails the first time it is run, but is successful when run for a period of time immediately after. First run: (failure?) executing sudo -p 'sudo password: ' /opt/lsws/bin/lswsctrl restart servers: [test.local] *** [err ::