Displaying 20 results from an estimated 10000 matches similar to: "The occasional capistrano 503"
2008 Mar 05
4
Vlad the Deployer??
I''ve been playing around with Vlad the deployer, and quite like it.
However, has anyone used it to stop/start background rb processes via
the ./script/backgroundrb script?
Eric
-----------------------------------------------------
Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com
2006 Apr 19
4
Deployment with Capistrano
Hey all,
Has anyone out there got Mongrel deployments working with Capistrano?
I''ve had a crack at setting it up, and I''ve found that after a
deployment (with updated symlinks) that a mongrel restart does not
pick up the new deployed site. It seems to me (in my linkted
experience) that the HUP that is sent to mongrel does not re-evaluate
the ./current symlink that Cap puts in
2008 Apr 29
1
Webistrano recipes association (was: [Capistrano] Webistrano 1.3 released)
I see at some point recipes were changed from project-associated to
stage-associated, is there some explanation or examples of that use-case?
Could I request we have both? In my current cap scripts, we don''t have any
stage-specific recipes, but maybe I''m just not understanding this
completely.
On Tue, Apr 29, 2008 at 1:04 PM, Jonathan Weiss
2006 Apr 20
1
Capistrano not working for me
Hello fellow railers,
I''m new to the whole RoR thing and I have finished installing and setting
everything up on my OSX G4 Powerbook. I followed the step by step
instructions at Hivelogic, running lighttpd and everything else. I''m having
an issue with Capistrano.
I''m following the tutorial at Apple:
http://developer.apple.com/tools/rubyonrails.html
Everything in
2007 Nov 19
1
Capistrano in InstaRails bombs?
Following the book, I try:
cap --apply-to C:\CapPlanner\trunk\Source capplanner
And get in reply:
C:/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1443:in `complete'':
invalid option: --apply-to (OptionParser::InvalidOption)
from C:/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1441:in
`catch''
from C:/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1441:in
`complete''
2007 Jan 12
1
capistrano setup bails with RegexpErr on show_tasks
I am new to RoR, but I have had RoR running with Capistrano on a
different box. However I''m installing a fresh copy now and am finding
constant regex errors from the standard.rb file while attempting to
"show_tasks". As this is a new installation, everything is up-to-date.
Here''s the environment:
FreeBSD 6.2-RC2
ruby 1.8.5
gem 0.9.0
rake 0.7.1
net-ssh 1.0.10, 1.0.9
2006 Dec 04
0
deprec - deployment recipes for capistrano
http://codemode.blogspot.com/2006/11/deprec-install-rails-stack-and-deploy.html
deprec is a new rubygem to make deployment of your Rails app with
Capistrano a breeze.
cap install_rails_stack
This recipe installs everything you need to prepare an Ubuntu linux
6.06 server to host
your Rails application:
- apache 2.2 with mod_proxy_balancer
- mongrel & mongrel cluster
- rails
- mysql
These
2006 Jun 28
0
Capistrano Command Worries
Hey all,
I have a problem that I cannot wrap my head around. I have a
capistrano task to kill my lighttpd process and restart it. Here is
the subtask, stop_lighttpd, that fails:
task :stop_lighttpd, :roles => :web do
run "kill -9 `ps aux | grep lighttpd | grep #{deploy_to} | awk
''{print $2}''` > /dev/null"
end
I know for a fact that when stop_lighttp is
2007 Jul 29
3
capistrano problems
I installed capistrano and have tried several things. Can''t seem to get
it working.
This is what i am getting.
C:\ruby\radrails\modernfossil>cap deploy
* executing `deploy''
* executing `deploy:update''
** transaction: start
* executing `deploy:update_code''
svn: Can''t create tunnel: The system cannot find the file specified.
***
2007 Jun 06
0
Capistrano: Port in SVN
. . .
* executing "sudo chmod -R g+w /usr/local/svn/project_name"
servers: ["project_name.com"]
[project_name.com] executing command
command finished
* executing task svn_import
Adding branches and tags
ssh: connect to host project_name.com port 22: Connection refused
svn: Connection closed unexpectedly
Importing application.
ssh: connect to host
2006 May 25
5
Weird Capistrano problem
I''m having problems launching the spin process via the deploy.rb task.
Everything works great when is run the script manually via:
% ssh admin@monterey.example.net /Web/Rails/Example/current/script/spin
However, when I run ''cap spinner'' or ''rake remote:exec ACTION=spinner'',
I get the following errors:
% cap spinner
loading configuration
2006 Apr 22
1
Capistrano - SSH Port
I''ve been deploying with Capistrano for a while now, and have had no
problems... until now.
When I try and do a "cap deploy", cap tries to connect to my remote server
via SSH on port 22... even though in my deploy.rb, I''ve had the following
set:
ssh options[:port] = 8081
I did a "sudo gem update --remote capistrano", and I''m up to speed on the
2007 Oct 22
4
HOW TO REBUILD DATABASE WITH CAPISTRANO
I''ve deployed an application using Capistrano.
But on my local machine I edited one of the earlier migrations. I''ve
tried "cap deploy_with_migrations", but it looks like it didn''t rebuild
the database.
How can I do the equivalent of this using Capistrano?
"rake db:migrate VERSION=0"
"rake db:migrate"
--
Posted via
2006 Apr 12
3
Capistrano Issues
Well I finnally bit the bullet and upgrade to capistrano and have run
into several issues that I can''t seem to find a fix for. Switchtower
worked perfectly but I can not get cap to work especially with the
change to the command to run a deploy.
The following code worked fine in switchtower to deploy:
switchtower -vvvv -S stage=stage -r config/deploy -a deploy
The stage variable
2006 Aug 13
1
Can''t setup Capistrano. Failed Authentication
I''m trying for the first time to use capistrano and things were going
well until I tried to run ''cap setup''.
This is what I get...
cap setup
loading configuration
/opt/local/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/standard.rb
loading configuration ./config/deploy.rb
* executing task setup
* executing "mkdir -p -m 775
2007 Aug 25
3
Capistrano / Net-ssh install errors skipping require of...
I''m trying to find out why capistrano will not run on my computer.
I am running Ubuntu 6.06 dapper drake.
Rails 1.2.3
I get errors when i try to run cap -h or cap anything...
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/transport/ossl/hmac/none.rb:27:
uninitialized constant Net::SSH::Transport::OSSL::HMAC::Abstract
(NameError)
When i install net-ssh i get the message
2006 Mar 30
4
Capistrano Shovel onto Textdrive SVN error
I''m using the Shovel recipe to deploy my lovely app to text drive.
everyhting seems to be ok apart from the deploy action which fails
saying that there is "No such file or directory" I''ve included the full
error listing below.
The SVN definately exists because we''re using for development.
Does any one have any ideas what might be going wrong?
Thanks
Tom
2008 May 28
0
mongrel_rails cluster::restart task via capistrano mongrel_cluster/recipes problem.
Hi Guys,
I hope its ok to post to this list. I have a rails on ubuntu deployment stack
which consists of:
locally: cap 2.3.0 and all latest deps
server side: apache 2.3, mongrel_cluster, mod_proxy and git on the
same host.
I am connecting to my remote host via ssh with agent and pass phrase. All is
good until my first mongrel task, deploy:restart task. I have included the
2006 Mar 07
5
Capistrano: command never finishes?
Hi,
I have created a small :restart task to overwrite the default one:
task :restart, :roles => :app do
sudo "/etc/init.d/lighttpd stop"
sudo "/etc/init.d/lighttpd start"
end
This works fine and lighty does restart, but the last command never
finishes, so I never return to the prompt. Here''s my output:
cap restart
loading configuration
2007 Sep 07
3
Fails to restart mongrel cluster after Capistrano rollback (PIDs not deleted)
Hi,
I am deploying a Rails website using Capistrano to a VPS running the
site through Apache and Mongrel.
''cap deploy'' works fine, and mongrels are restarted. When I execute
''cap deploy:rollback'', however, my script fails to restart the
mongrels giving this error:
!!! PID file tmp/pids/mongrel.5000.pid already exists. Mongrel could
be running already.