Hi!
I’ve been having a problem with switchtower. It hangs for several
minutes and then spits out errors when I try to execute the setup
recipe. Any ideas?
Robs-iBook:~/Sites/mysite rob$ rake remote_exec ACTION=setup
(in /Users/rob/Sites/mysite)
loading configuration /usr/lib/ruby/gems/1.8/gems/switchtower-0.9.0/
lib/switchtower/recipes/standard.rb
loading configuration ./config/deploy.rb
executing task setup
executing “mkdir -p -m 775 /var/www/mysite/releases /var/www/mysite/
shared/system &&\n mkdir -p -m 777 /var/www/mysite/shared/log”
servers: [“mysite.com”]
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.2/lib/net/ssh/transport/
packet-stream.rb:203:in sysread': End of file reached (EOFError) from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.2/lib/net/ssh/ transport/packet-stream.rb:203:in
read’
from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.2/lib/net/ssh/
transport/packet-stream.rb:167:in get' from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.2/lib/net/ssh/ transport/packet-stream.rb:147:in
synchronize’
from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.2/lib/net/ssh/
transport/packet-stream.rb:147:in get' from /usr/lib/ruby/gems/1.8/gems/needle-1.2.1/lib/needle/ lifecycle/proxy.rb:60:in
send’
from /usr/lib/ruby/gems/1.8/gems/needle-1.2.1/lib/needle/
lifecycle/proxy.rb:60:in method_missing' from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.2/lib/net/ssh/ transport/session.rb:245:in
wait_for_message’
from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.2/lib/net/ssh/
transport/session.rb:240:in loop' ... 53 levels... from /usr/lib/ruby/gems/1.8/gems/switchtower-0.9.0/lib/ switchtower/cli.rb:7:in
execute!’
from /usr/lib/ruby/gems/1.8/gems/switchtower-0.9.0/bin/
switchtower:11
from /usr/bin/switchtower:18:in `load’
from /usr/bin/switchtower:18
Thanks,
Rob