You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
== 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
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,
The text was updated successfully, but these errors were encountered: