Emanuele Ciriachi
Emanuele Ciriachi

Reputation: 2264

Unable to find TeamCity 9.1.x data directory

This is really weird.

I am trying a clean Teamcity 9.1.1 install but the Data Directory is nowhere to be found.

Does anyone has any suggestions on how to regain control of the situation? How can I tell TeamCity which data folder to use?

Upvotes: 2

Views: 434

Answers (1)

Emanuele Ciriachi
Emanuele Ciriachi

Reputation: 2264

I resolved the situation by:

  • stopping TC services;

  • creating a teamcity-startup.properties in [install folder]\conf with the following content:

    teamcity.data.path=D:\\[install folder]\\config

  • restarting TC services;

  • restoring my backup.

This restored the 9.1.1 install as well as stabilizing the location of the data directory. After this was done, the subsequent installation of 9.1.7 prompted me to uninstall 9.1.1 first (which it hadn’t done the first time around) and the upgrade succeeded.

I believe the system was already compromised at the beginning, unknown to me, due to the data folder being all over the place. Once that was resolved, everything else fell into place.

Upvotes: 1

Related Questions