8

最近,我搬到了新服务器并安装了最新的 Teamcity 版本 9.1。我想将相同的数据导入新安装但无法连接到现有数据库。遵循以下链接:-

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

我可以成功连接到数据库,但出现以下错误:-

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

知道我做错了什么。

4

1 回答 1

0

如果您的 teamcity 安装损坏(更具体地说,是您的数据目录),则您的数据库将变得无用。推荐的做法是:从备份中恢复,如果失败:重新安装和重新配置。

于 2020-03-19T05:10:28.130 回答