Google Groups Home Help | Sign in
deployment error: no passwd entry for app!
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
me  
View profile
 More options Nov 30 2007, 3:55 pm
From: me <brooh...@gmail.com>
Date: Fri, 30 Nov 2007 12:55:10 -0800 (PST)
Local: Fri, Nov 30 2007 3:55 pm
Subject: deployment error: no passwd entry for app!
Hi, I'm having a problem when running `cap deploy`.  This is what I
get when it errors out.

 ** transaction: commit
  * executing `deploy:restart'
  * executing "sudo -p 'sudo password: ' -u app /project/current/
script/process/reaper"
    servers: ["web-01"]
    [web-01] executing command
*** [err :: web-01] sudo: no passwd entry for app!
    command finished
command "sudo -p 'sudo password: ' -u app /project/current/script/
process/reaper" failed on web-01

It looks like it's trying to run a sudo command as user app, for which
no such user exists.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
nbrew  
View profile
(1 user)  More options Dec 4 2007, 9:44 pm
From: nbrew <nathanh...@gmail.com>
Date: Tue, 4 Dec 2007 18:44:15 -0800 (PST)
Local: Tues, Dec 4 2007 9:44 pm
Subject: Re: deployment error: no passwd entry for app!

> *** [err :: web-01] sudo: no passwd entry for app!

Taking a look at cap's deploy.rb recipe it looks like you can set
the :runner var to another user. My Capfile looks like so:
<code>
load 'deploy' if respond_to?(:namespace) # cap2 differentiator
Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
load 'config/deploy'
set :runner, :user # set the sudo runner user to whatever the
connecting user is
</code>

HTH

Nathan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google