Can't provision GDK - seeding database fails on `06_teams`
I have been fighting with the GDK to try to get a fresh GDK-EE installation. After bumping into the issue with https://gitlab.com/gitlab-org/gitlab-ce/issues/41390.
Now I am getting an error in 06_teams:
== Seed from /Users/joshua/projects/gdk-ee/gitlab/db/fixtures/development/05_users.rb
.........................
OK
== Seed from /Users/joshua/projects/gdk-ee/gitlab/db/fixtures/development/06_teams.rb
........................rake aborted!
NoMethodError: undefined method `add_20' for #<ProjectTeam:0x00007fa4c96fe6e8>
/Users/joshua/.rvm/gems/ruby-2.3.6/gems/seed-fu-2.3.6/lib/seed-fu/runner.rb:46:in `eval'
/Users/joshua/projects/gdk-ee/gitlab/app/models/project_team.rb:27:in `add_role'
/Users/joshua/projects/gdk-ee/gitlab/app/models/project.rb:234:in `add_role'
(eval):17:in `block (6 levels) in run_file'
(eval):16:in `each'
(eval):16:in `block (5 levels) in run_file'
development.log contains:
User Exists (0.6ms) SELECT 1 AS one FROM "users" WHERE (LOWER("users"."username") = LOWER('annamarie') AND "users"."id" != 3) LIMIT 1
Namespace Load (0.3ms) SELECT "namespaces".* FROM "namespaces" WHERE "namespaces"."owner_id" = $1 AND "namespaces"."type" IS NULL LIMIT 1 [["owner_id", 3]]
Project Load (0.7ms) SELECT "projects".* FROM "projects"
User Load (1.0ms) SELECT "users".* FROM "users"
(0.3ms) ROLLBACK
Route Load (0.2ms) SELECT "routes".* FROM "routes" WHERE "routes"."source_id" = $1 AND "routes"."source_type" = $2 LIMIT 1 [["source_id", 2], ["source_type", "Project"]]
undefined method `add_10' for #<ProjectTeam:0x00007ffd711e8180> excluded from capture: DSN not set