How to use the existing teamcity database with the new version of Teamcity server version 9.1

I recently switched to a new server and installed the latest version of Teamcity version 9.1. I want to import the same data into a new installation, but cannot connect to the existing database. The following links follow: -

https://confluence.jetbrains.com/display/TCD9/Setting+up+an+External+Database http://stackoverflow.com/questions/1014228/how-do-i-connect-teamcity-to-an-existing-sqlserver-2005-database 

I can successfully connect to the database, but get the following error: -

 Found a TeamCity internal database when no system directory or an empty system directory is expected Current Startup State Startup status Current step: TeamCity server startup error Next step: not defined yet Data Directory Directory path: Z:\TeamCity\.BuildServer exists Database properties file exists Internal database file: not found Database Database type: default (using internal database) Database connection URL: jdbc:jtds:sqlserver://db02:2433/d01 JDBC driver version: 1.2 (jTDS Type 4 JDBC Driver for MS SQL Server and Sybase) Database system version: 11.0.5058 (Microsoft SQL Server) Versions Software version: 727 Data directory version: unknown Database version: 709 Logs Logs path: C:\TeamCity\logs Using Windows server 2012 

Any idea what I'm doing wrong.

+6
source share

All Articles