Project

General

Profile

Actions

Bug #17330

closed

Initially seeding the database fails with "TypeError: can't dup NilClass"

Added by Guido Günther about 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
DB migrations
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Following the instructions at https://theforeman.org/contribute.html I do

rm db/*.sqlite3
cp config/settings.yaml.example config/settings.yaml
bundle exec bin/rake db:migrate
bundle exec bin/rake db:seed

The last step fails with:

2016-11-14T21:36:36 [app] [W] unknown class ExternalUsergroups, ignoring | NameError: uninitialized constant ExternalUsergroups | /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `const_get' | /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:261:in `block in constantize' | /var/scratch/src/foreman/foreman/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `each'

Full log attached.


Files

seed-failure.log seed-failure.log 77.9 KB Guido Günther, 11/14/2016 03:39 PM

Related issues 1 (0 open1 closed)

Related to Foreman - Bug #16204: NameError: uninitialized constant ExternalUsergroupsClosedOndřej Pražák08/19/2016Actions
Actions

Also available in: Atom PDF