Where Is This Critical Error?

I got this error on the front page of TeamCity

Critical error in configuration file C:\ProgramData\JetBrains\TeamCity\config\projects\_Root\vcsRoots\Trunk.xml:
VCS root with ID "trunk" already exists in another project   

How do I tell which project this root exists in?
The message would be more useful if it displayed which project it was.

Comment actions Permalink

Although I agree with you, the user might not be able to see the project where this root exists. This is one of the reasons why we don't report this information.

And, of course, the general recommendation is to prefix VCS roots with project id.

Comment actions Permalink

I'd like to clarify it a little bit. root name is a free form name that used to distiguish the root from other.

VCS root Id is an unique root id. It is generally recommended to use the value that teamcity suggests and in case of a problem like yours, it's better to click "Regenerate ID" click to make the root id unique and meaningfull (because it will contain the project id and root name), so it will be easier to locate it.


Please sign in to leave a comment.