Great to hear, Lori. Note that disable/enable_web requires that you are using Apache, and that you have your .htaccess set up to detect the existence of system/maintenance.html, and if it exists, to display it (using mod_rewrite magic).

- Jamis

On Nov 6, 2006, at 8:56 PM, Lori Olson wrote:

Thanks, Jamis. I was just rooting around in the capistrano code, and I discovered that line of code. I changed the value of :spinner_user to the user I wanted, and it started to work.

I'm about 90% there, now, with my capistrano tasks. I still don't have disable_web/enable_web working, but the deploy stuff all works, which will make my life a lot easier now.

On 11/6/06, Jamis Buck <[EMAIL PROTECTED]> wrote: Lori,

Very odd, I'm not sure how that code snuck in there. What you need to
do is do, at the top of your deploy.rb:

   set :spinner_user, nil

For some reason, :spinner_user is defaulting to :app (which is what
we use at 37signals).

- Jamis

On Nov 6, 2006, at 8:14 PM, Lori Olson wrote:

> Ok, I can see what the error is saying now... there is no user
> "app", for the command "sudo -u app ...".
>
> Why is it using "app"?  That is not my application name, as
> specified in my deploy.rb file.
>
> On 11/6/06, Lori Olson <[EMAIL PROTECTED] > wrote: I was having
> problems getting reaper to work, because of a weird OCI8 error.  I
> finally beat my way past that (attempting a cold_deploy), only to
> hit this one:
>
> * executing "sudo -u app /usr/local/rails/myapp/current/script/ spin"
>     servers: ["myserver"]
>     [myserver] executing command
>  ** [out :: myserver] sudo: no passwd entry for app!
>     command finished
> rake aborted!
>
> What am I missing?
>
> Regards, Lori
>
>
>
>





--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to capistrano- [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/ group/capistrano
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to