[Capistrano] Re: why can't Capistrano see svn on my linux account

2008-07-08 Thread Rafael G.
Try to define :scm_command with an absolute path. set :scm_command, /path/to/svn I don't tested it. greghauptmann escribió: Hi, Can someone help re why the linux account callagga I've set up on my svn server (10.1.1.1) exhibits the following: (a) if I manually log on with this account

[Capistrano] Can I change the cp options for cap ?

2008-07-08 Thread Frank
Hi all ~ When I do cap deploy , it takes quite a long time . For the cap use cp -RPp , and if I want the cap to use cp -alRPp options , how to configure ? Thanks in advance ! Any info would be greatly appreciated ! --~--~-~--~~~---~--~~ To unsubscribe from this

[Capistrano] Naruto 408

2008-07-08 Thread mangaboy005
Naruto 408 Naruto 408, One Piece 507, Bleach 329 Hot manga Download The hottest mangas and the latest chapters Manga news, Most popular mangas, Latest mangas, Latest chapters http://english1.isoshu.com/?recommid=1023 http://emanga1.isoshu.com/?recommid=1023

[Capistrano] Re: Can I change the cp options for cap ?

2008-07-08 Thread Anthony Ettinger
Frank, What command is generating a cp ... that you want to change? I couldn't find anything definitive here: http://labs.peritor.com/webistrano/wiki/ConfigurationParameter On Tue, Jul 8, 2008 at 4:06 AM, Frank [EMAIL PROTECTED] wrote: Hi all ~ When I do cap deploy , it takes quite a long

[Capistrano] Re: Can I change the cp options for cap ?

2008-07-08 Thread Jonathan Weiss
Anthony Ettinger wrote: Frank, What command is generating a cp ... that you want to change? I couldn't find anything definitive here: You have to override module Capistrano module Deploy module Strategy class RemoteCache Remote private def

[Capistrano] SSH timeouts and reset connections

2008-07-08 Thread matt
Is there anyway to increase the ssh timeout in capistrano, or even better to have some form of keep-alive like the ServerAliveInterval/ ServerAliveCountMax settings in the openssh client config? I'm deploying to EC2, and I've noticed that capistrano will die half way through a deploy pretty

[Capistrano] Re: SSH timeouts and reset connections

2008-07-08 Thread matt
I'm able to easily duplicate this (on EC2 mid-afternoon anyway) with: COMMAND=sleep 3000 cap invoke I'll see the sleep disappear from the server, but cap will sit there indefinitely. So I guess 2 problems here, one I can't keep the connection alive, and two, the connection doesn't know its no

[Capistrano] Re: SSH timeouts and reset connections

2008-07-08 Thread Jamis Buck
Is your EC2 instance configured to send keep-alive pings? Net::SSH plays nice with those, so long running commands should work fine. - Jamis On Jul 8, 2008, at 2:02 PM, matt wrote: I'm able to easily duplicate this (on EC2 mid-afternoon anyway) with: COMMAND=sleep 3000 cap invoke I'll

[Capistrano] cap deploy:upload - Doesn't create directories?

2008-07-08 Thread chris johnson
Hi there. Just tried uploading a new image via the following cap command: cap deploy:upload FILES=public/images/people/bob/center.png Each server reports: uploading failed: No such file The /bob/ subdirectory does not exist on our servers, but I would guess that the upload command would

[Capistrano] Re: cap deploy:upload - Doesn't create directories?

2008-07-08 Thread Anthony Ettinger
Have you tried cap deploy:setup first? On Tue, Jul 8, 2008 at 4:00 PM, chris johnson [EMAIL PROTECTED] wrote: Hi there. Just tried uploading a new image via the following cap command: cap deploy:upload FILES=public/images/people/bob/center.png Each server reports: uploading failed: No

[Capistrano] Re: cap deploy:upload - Doesn't create directories?

2008-07-08 Thread chris johnson
No; these servers are mature and have had many cap deployments to them already. Isn't cap deploy:setup just for the initial setup? On Jul 8, 4:03 pm, Anthony Ettinger [EMAIL PROTECTED] wrote: Have you tried cap deploy:setup first? On Tue, Jul 8, 2008 at 4:00 PM, chris johnson [EMAIL

[Capistrano] Re: cap deploy:upload - Doesn't create directories?

2008-07-08 Thread Anthony Ettinger
Yes, it does create the directories though. On Tue, Jul 8, 2008 at 4:07 PM, chris johnson [EMAIL PROTECTED] wrote: No; these servers are mature and have had many cap deployments to them already. Isn't cap deploy:setup just for the initial setup? On Jul 8, 4:03 pm, Anthony Ettinger [EMAIL

[Capistrano] Re: cap deploy:upload - Doesn't create directories?

2008-07-08 Thread Jamis Buck
deploy:upload does not create subdirectories for single-file uploads. You'll want to manually create those first, e.g.: cap invoke COMMAND=mkdir -p /path/to/current/public/images/people/ bob And then the deploy:upload. - Jamis On Jul 8, 2008, at 5:11 PM, Anthony Ettinger wrote: Yes,

[Capistrano] Re: cap deploy:upload - Doesn't create directories?

2008-07-08 Thread chris johnson
Thanks for the response and clarification Jamis. That should do it. -Chris On Jul 8, 4:24 pm, Jamis Buck [EMAIL PROTECTED] wrote: deploy:upload does not create subdirectories for single-file uploads.   You'll want to manually create those first, e.g.:    cap invoke COMMAND=mkdir -p

[Capistrano] Re: help - cap deploy's reaper call is restarting the old site directory, not the new???

2008-07-08 Thread Greg Hauptmann
Hi Jamis - yes the symlink is ok. Things are now working in fact. I'm not sure why. I did a cap deploy this morning it a small test change does get reflected straight away. Tks Greg On 7/7/08, Jamis Buck [EMAIL PROTECTED] wrote: In /u/apps/myequity/current/tmp, does pids symlink to the

[Capistrano] Re: why can't Capistrano see svn on my linux account

2008-07-08 Thread Greg Hauptmann
thanks for the pointers guys - .bashrc seemed to work On 7/8/08, Rafael G. [EMAIL PROTECTED] wrote: Try to define :scm_command with an absolute path. set :scm_command, /path/to/svn I don't tested it. greghauptmann escribió: Hi, Can someone help re why the linux account callagga

[Capistrano] Calling sudo su from Capistrano

2008-07-08 Thread Artur Matos
Dear all, To deploy programs in my environment, I need to be able to change to a specific user first - by running sudo su user, and typing my password. I would like to automate my deployment tasks with Capistrano, but Capistrano does not allow me to run sudo. run sudo su user will not work,