ooyala / barkeep

The friendly code review system.
getbarkeep.org
1.42k stars 145 forks source link

Deployment: 'adduser: The group `admin' does not exist.' #270

Open roryf opened 12 years ago

roryf commented 12 years ago

I'm trying to install Barkeep on a new Ubuntu Rackspace VM. The vm was created from the default Rackspace Ubuntu 10.04 image, which I presume is the same as a default Ubuntu install.

The only actions I did before attempting to deploy barkeep:

Output from deployment:

(in /Users/rory/Development/barkeep)
Loading Fezzik tasks from config/tasks
Targeting hosts:
    user@myhost
Staging project in /tmp/barkeep.
Setting up servers.
Creating barkeep user.
adduser: The group `admin' does not exist.
[fail]

Running addgroup admin on the vm got passed this particular issue.

cespare commented 12 years ago

Ubuntu docs seem to indicate that the admin user should exist. So I suspect that the Rackspace image isn't quite stock Ubuntu. More evidence:

http://fingerskier.blogspot.com/2010/12/rackspace-ubuntu.html

We could, of course, modify our deploy to create the user if it doesn't exist pretty easily.

mbrochh commented 12 years ago

Same happens when trying to deploy to a Ubuntu 12.10 Linode. It seems as if on 10.04 the admin group does indeed already exist.

raelgc commented 11 years ago

admin group was replaced on Ubuntu by sudo

cespare commented 11 years ago

Hey guys, the 'ubuntu-precise' branch has this change and a few others for installing to precise.

We'll probably merge that to master at some point. (We're also investigating packaging options to make installation a lot simpler. See the mailing list for more details.)

epontes commented 10 years ago

Now Ubuntu is using sudo