How to fix "project with ID has the same uuid"?
The Root project in TeamCity is displaying the following error message under Versioned Settings:
This project used to be stored in the same repository as the Root project settings but its settings have since been moved to a different repository. What's the recommended way to fix this error?
Note: The project ID was originally SWE_ServicesFramework but was renamed to ServicesFramework before the settings were moved to a new repository.
Please sign in to leave a comment.
The easiest way to fix this is to specify some random UUID that doesn't match the previous one.
It's likely that by moving the repository, TeamCity didn't detect it as being moved but as adding a new one, thus the problem.
Thanks for the response Denis! I have 2 follow up questions:
Its still not clear how we are supposed to fix this issue. Do we manually edit the <Root project> settings repository to delete the folders for these errored projects or do we manually edit each projects' settings repository to change the UUID to something else?
We fixed this by manually removing the project's folders (and all files) from the <Root> project's Versioned Settings repository.
Sorry for the delay. Regarding the "do's and don'ts", they have to be unique. You can use anything you want, prefixes are useful to differentiate your own from the default created ones.
You initially had said you had moved the project to a different repository, so I had assumed you had actually removed it from the initial one. Yes, they should only be on one repository/project, if they are in multiples they will conflict, as you found out.