I’ve just added a new project to Octopus Deploy and when I try and create the first release I get the error “An item with the same key has already been added”
All our other projects still work and I’ve run a health check on only Environment and single tentacle assigned to the project.
Thanks for getting in touch! Sorry about the troubles. Currently in Octopus, when you delete something from the UI it is marked as deleted and a task is run to then delete the data. If this task fails, you will end up with your scenario.
If you could go through the tasks to find the failed or timed out deletion task, and run it again you should get those keys released and be able to use them again.
It looks like it was something to do with how we scoped the variables as when we removed all options in the scope for all variables the error went away. Clearly we made a mistake somewhere.