I am not sure why and I fail to understand this but with recent develop and bootdisk plugin enabled, when I try to seed/migrate I am getting the following error:
rake aborted! ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "settings_pkey" DETAIL: Key (id)=(1073209409) already exists. /home/lzap/work/foreman/app/models/setting.rb:215:in `block in create!' /home/lzap/work/foreman/app/models/setting.rb:206:in `create_find_by_name' /home/lzap/work/foreman/app/models/setting.rb:215:in `create!' /home/lzap/work/foreman/app/models/setting.rb:289:in `block (2 levels) in load_defaults' /home/lzap/work/foreman/app/models/setting.rb:287:in `each' /home/lzap/work/foreman/app/models/setting.rb:287:in `block in load_defaults' /home/lzap/work/foreman/app/models/setting.rb:286:in `load_defaults' /home/lzap/work/foreman/config/initializers/foreman.rb:29:in `each' /home/lzap/work/foreman/config/initializers/foreman.rb:29:in `<top (required)>' /home/lzap/work/foreman/config/environment.rb:5:in `<top (required)>' /home/lzap/.rbenv/versions/2.7.1/bin/bundle:23:in `load' /home/lzap/.rbenv/versions/2.7.1/bin/bundle:23:in `<main>'
The setting in question is
bootdisk_syslinux_dir which hasn’t been touched for years. I don’t understand, maybe some recent changes? Anyone?