Forum: Ruby on Rails Switchtower error

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Felix McCoey (Guest)
on 2006-02-20 05:41
(Received via mailing list)
just upgraded to Switchtower 1.0.0 and am now getting the following
error when doing a 'cold_deploy' (i have just changed the domain name


servers: [""]
    [] executing command
 ** [out ::] sudo:
 ** [out ::] no passwd entry for app!
    command finished
rake aborted!
command "sudo -u app
/var/www/vhost/" failed on


note, i have removed my old 'cold_deploy' task so it should now be using
the new builtin (correct?)

do i have to provide a password in the deploy.rb script? hopefully not.

Felix McCoey (Guest)
on 2006-02-21 00:45
(Received via mailing list)
ok, read the docs and discovered you have to set either

set :use_sudo, false

or set the user that sudo runs at

set :spinner_user, 'felix'

because if you don't it defaults to the name of the app

This topic is locked and can not be replied to.