Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default admin e-mail set as [email protected] instead of [email protected] #100

Open
dfduarte opened this issue Jul 21, 2015 · 1 comment

Comments

@dfduarte
Copy link

Hello guys,

Today, I started to test this amazing recipe (that saved me some days of work here). But I want to report a tricky error with the admin default e-mail.

As seen on initial readme, at cookbook homepage, the dev says that the initial admin user is [email protected]. After some time after banging my head, thinking what I did wrong, I ran the following command (logged as git user on terminal)

~/bin/bundle exec rake db:seed_fu RAILS_ENV=production

It returned:

== Seed from /srv/git/gitlab/db/fixtures/production/001_admin.rb
rake aborted!
ActiveRecord::RecordInvalid: Validation failed: Email has already been taken, Email has already been taken, Username has already been taken, Username already exists
(eval):22:in `block (2 levels) in run_file'
Tasks: TOP => db:seed_fu
(See full trace by running task with --trace)

Okay, so see that the user was created successfully. So, I toke a look at /srv/git/gitlab/db/fixtures/production/001_admin.rb

So, due this, I saw the real e-mail, set as [email protected].

admin = User.create(
email: "[email protected]",
(... snip...)

Maybe, I'm wondering that it's just a matter to correct this mistake(type). I'm posting this issue, just to notice the dev, btw.

Att,

@chewi
Copy link
Collaborator

chewi commented Jun 27, 2016

Confirmed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants