I couldn't get deploy:web:disable to work. I would enter my password
and capistrano would hang indefinitely, with no output. I put some
print statements in the task and found that the problem was with the
final line in the task, putting the file onto the server:
put result, "#{shared_path}/system/maintenance.html", :mode => 0644
To make sure it wasn't a permissions issue, i put a line immediately
before that line, to put the file in /tmp:
put result, "/tmp/myfile", :mode => 0644
And cap would hang there as well. -vvvv provides no further output.
I could try to put some print statements around the Upload class but
that seems a bit daunting. Does anyone have any ideas for how I can
debug what is happening?
The output after hitting ^C is at the bottom of this email, if anyone
is interested.
Thanks,
John
--
John Joseph Bachir
http://blog.johnjosephbachir.org
http://lyceum.ibiblio.org
http://dissent.cc
http://jjb.cc
^C/opt/local/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/transport/packet-stream.rb:201:in
`select': Interrupt
from
/opt/local/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/transport/packet-stream.rb:201:in
`read'
from
/opt/local/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/transport/packet-stream.rb:153:in
`get'
from
/opt/local/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/transport/packet-stream.rb:147:in
`synchronize'
from
/opt/local/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/transport/packet-stream.rb:147:in
`get'
from
/opt/local/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:60:in
`__send__'
from
/opt/local/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/lifecycle/proxy.rb:60:in
`method_missing'
from
/opt/local/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/transport/session.rb:263:in
`wait_for_message'
from
/opt/local/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/transport/session.rb:258:in
`loop'
... 30 levels...
from
/opt/local/lib/ruby/gems/1.8/gems/capistrano-2.1.0/lib/capistrano/cli/execute.rb:14:in
`execute'
from /opt/local/lib/ruby/gems/1.8/gems/capistrano-2.1.0/bin/cap:4
from /opt/local/bin/cap:16:in `load'
from /opt/local/bin/cap:16
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---