Displaying 20 results from an estimated 3000 matches similar to: "Switchtower Port Issues"
2006 Jan 19
12
Switchtower isn''t restarting lighttpd
I''ve got switchtower set up, and it seems to work fine except for one
problem: It doesn''t successfully restart lighttpd. I have the
following task in my deploy.rb file:
desc "Restart the web server"
task :restart, :roles => :app do
sudo "/usr/local/etc/rc.d/lighttpd.sh restart"
end
This is on a FreeBSD system, so it''s using the rc script to
2005 Dec 22
3
How to specify SwitchTower SSH port
Hi !
Following Ezra's suggestions on http://brainspl.at/pages/perfect_vps,
I changed the port sshd listens to.
I'm trying to setup SwitchTower, and I don't know how to set the port.
Where should that be configured ? I can't see anything in
switchtower.rake, nor can I see it in the source.
If this already exists, can anybody point me to documentation. If
not, can I get any
2007 Mar 12
7
Capistrano Hanging on Deployment
Hello ~
I am using the Capistrano recipe outlined in this post to restart my
backgroundrb server:
http://rubyforge.org/pipermail/backgroundrb-devel/2007-February/000718.html
My Version:
~~~~~~~~~~~~
task :before_restart, :roles => :app do
restart_backgroundrb
end
task :start_backgroundrb, :roles => :app do
sudo "nohup
2005 Dec 16
6
Switchtower for production?
Hello,
The company that I work for will be developing a large webbased survey
(for a government institution) somewhere in Q1/Q2 of 2006. I''m
investigating the technological possibilities and Rails is certainly a
candidate. The survey application will have to perform under very high
peak load, and the exact specifications of the hardware are not known
at this point. I''m assuming
2006 Mar 02
2
A nasty evening with dispatch.fcgi
Hello all. Time for an all night installation
campfire (no pun intended) story.
I just helped a customer migrate from a single box
to a 5 box system.
2 Lighty
2 FCGI
1 DB
Everything went quite well. I scripted everything
so it would be easy to add more boxes in the future.
3 scripts, one for each box type above.
Then came time to get the site working. :-)
Lighty came up easily.
The DB came up
2006 Mar 01
2
Rails Machine: Automated Rails application hosting
Hi All,
I''d like to let you know about a new Rails hosting company that provides
VPS and dedicated servers preconfigured and optimized to run Lighttpd
and Ruby on Rails. Application configuration and deployment is done
through SwitchTower using our custom extension available as a Ruby gem.
Watch the screencast of deploying a Rails application in 5 minutes!
http://railsmachine.com
2006 Feb 25
10
Performance issue.. after a while
Hello,
I have an project running on a dedicated server:
Debian, P4 CPU 3.00GHz, 1GB RAM,
ruby 1.8.4 (2005-12-24) [x86_64-linux],
rails (1.0.0), activerecord (1.13.2)
lighttpd-1.4.10 + fastcgi + mysql 5.0
7 dispatchers.
The project is a game, so a typical user would visit 100+ pages.
When the server is busiest, it gets 35-40k requests/hour.
For some misterious reason after a number of hours the
2005 Dec 16
6
rake remote_exec on Windows
I am using the shovel deploy.rb from http://nubyonrails.com/pages/shovel
I have SwitchTower-ized my app, copied the shovel deploy.rb file and put
my settings in it.
But when I run "rake remote_exec ACTION=setup_lighty" from the local app
root it has no effect. It should prompt for a password for at least
throw an error? I just get returned to the DOS prompt.
If I do "rake
2006 Feb 21
9
SwitchTower 1.0.1, SwitchTower Extensions
SwitchTower is a utility that can execute commands in parallel on
multiple servers. It allows you to define tasks, which can include
commands that are executed on the servers. You can also define roles
for your servers, and then specify that certain tasks apply only to
certain roles.
Manual: http://manuals.rubyonrails.org/read/book/17
Project:
2005 Nov 07
5
Switchtower deployment
Hi,
Has anyone experiences using SwitchTower (Windows) in a shared hosting
environment (Textdrive)? I already patched the SwitchTower rake tasks (I
don''t know if someone is interested on it), but i still experience some
problems (not in the sudoers list, ...).
Thank you for answer (and thank you to the textdrive guys, i never had a
such fast support!)
--
Jean-Etienne Durand
2006 Feb 19
2
SwitchTower 1.0.0
SwitchTower is a utility that can execute commands in parallel on
multiple servers. It allows you to define tasks, which can include
commands that are executed on the servers. You can also define roles
for your servers, and then specify that certain tasks apply only to
certain roles.
Manual: http://manuals.rubyonrails.org/read/book/17
Project:
2006 Jan 05
4
Switchtower for distribution?
I am just about to dive into Switchtower, but had a thought (go
figure?).
Could Switchtower use be inverted?
Could user, clients, or customers install switchtower and "pull"
applications?
Just a thought.
--
Posted via http://www.ruby-forum.com/.
2006 Mar 01
4
SwitchTower deployment has errors with different :db server
When I define :db to be a different server than either :web or :app, and run
"rake deploy". Switchtower will abort with an Net::SSH::AuthenticationFailed
error. The version of Switchtower I''m using is 1.0.0 and the deploy task is
the default supplied with Switchtowe.
However, I dont have any problem when :db is changed to the same as :web and
:app.
-------------- next part
2006 Feb 22
2
sudo in switchtower and security
I''m attempting to deploy a rails application using switchtower. My IT guys
are refusing to give me sudo for a user changeable script. I really can''t
argue with their logic. If I have sudo for a script that I can update, well,
I can do most anything I want.
They are suggesting I create a cgi that performs the same function. Since
the cgi would run as www-data (this is a debian
2006 Feb 19
10
Switchtower - unitialized constant
Just loaded up Switchtower 1.0 today, via gems. I''m on OS X (10.4.5),
with ruby and friends installed via darwinports in opt/local.
After installing ST, I switchtowerized my app, set up the deploy recipe,
then ran:
rake remote_exec ACTION=setup
When I do, i get this error:
rake aborted!
uninitialized constant SwitchTower
Obviously, this happens with any of the tasks in ST (like
2006 Jan 27
6
Switchtower deploy error
I''m trying to deploy a rails app with no success.
I can execute: ''rake remote_exec ACTION=setup''
but when I try to execute : ''rake deploy''
I got this error:
loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.10.0
/lib/switchtower/recipes/standard.rb
loading configuration ./config/deploy.rb
executing task deploy
transaction: start
2005 Dec 21
4
Switchtower question: how to use SVN export
I use Switchtower to deploy my Ruby on Rails application, which works
great. However, it appears to be doing a SVN checkout, which includes
all the .svn directories as well. I would rather do an export from SVN.
Is it possible to configure Switchtower to do this, or can I extend it
in the deploy.rb? I haven''t been able to find any examples on the
internet so far.
thanks,
Jeroen
2006 Feb 07
4
Can''t stop/start lighttpd
Hello everyone,
I?ve been working with Ruby on Rails for about 2 months now and have
really enjoyed the ease of use of it. I?m only been doing development
on it so I?ve been using WeBrick. Recently, I have built a server
running Debian Linux, with ruby 1.8.2, rails 1.0.0, lighty 1.4.3, and
Mysql 5.0.18. I used WeBrick to generate a lighttpd.conf file for me, I
changed the paths in the
2006 Feb 23
2
SwitchTower remote_exec migrate
Hello
I''m doing rake remote_exec ACTION=migrate and I get an output with
servers []:
loading configuration
c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.10.0/lib/switchtower/recipes/standard.rb
loading configuration ./config/deploy.rb
executing task migrate
executing "cd /var/www/catalyst/current && rake RAILS_ENV=production
migrate"
servers: []
processing command
2006 Feb 28
2
SwitchTower rake deply failure on DreamHost
I''ve been following some tutorials on how to get switchtower working on
dreamhost. I got the setup to work just fine, but the rake deploy
doesn''t work. I get the following error. any ideas?
----------------------------------------------
> rake deploy
(in /home/.interim/i8ramin/work/yaram.com)
loading configuration