Bug #2171
closed
Duplicate template entries after installing 1.1rc5
Added by Dennis Jacobfeuerborn almost 12 years ago.
Updated over 11 years ago.
Description
I just did a fresh install of 1.1rc5 using the installer which worked without error but after the installation there a duplicate copies of some provisioning templates. This also means you cannot edit these template as foreman complains that the template already exists when you try to save the changes. (see the attached screenshot)
Files
A workaround is to delete all but one of the duplicate entries. After that the remaining entry can be updated again.
- Status changed from New to Feedback
Perhaps an unclean database to begin with? You can run "rake db:drop" (with RAILS_ENV) to clear the database, but it sounds like it was installed a couple of times or something.. this doesn't happen on a clean install.
I installed a fresh virtual machine to test foreman 1.1rc5 with. I also have a VM with foreman 1.0.2 but I didn't want to upgrade that precisely to avoid running into issues with stale data.
- Status changed from Feedback to Resolved
We tracked this down to a problem in Foreman core with the database migrations. It's fixed in Foreman 1.2. Thanks for the report!
Also available in: Atom
PDF