Migration from version 8.0.2 to 8.1.3

Hello, I am changing my location on the TeamCity server.
The previous version is: 8.0.2 and uses SQL Server.

I installed version 8.1.3 and am following this guide.
http://blogs.endjin.com/2013/07/a-step-by-step-guide-to-migrating-a-teamcity-instance-from-one-server-to-another/

Unable to restore the backup, but when I start again on the new TeamCity server got the error.
How to migrate the database from version 628 to 658? Or do I have to migrate some folder too?

TeamCity server startup error

Version mismatch: Data format of the data directory (658) and the database (628) do not match.
Please ensure that the data directory and the database in use were upgraded/restored consistently and were always used together. 
See details at http://confluence.jetbrains.com/display/TCD8/Upgrade.

Current Startup State

Startup status

Current step: TeamCity server startup error
Next step: not defined yet

Data Directory

Directory path: C:\ProgramData\JetBrains\TeamCity exists
Database properties file exists
Internal database file: not found

Database

Database type: MSSQL
Database connection URL: jdbc:sqlserver://VSRV-DSV01\SQLEXPRESS:1433;databaseName=teamcity
JDBC driver version: 4.0 (Microsoft JDBC Driver 4.0 for SQL Server)
Database system version: 11.0.2100 (Microsoft SQL Server)

Versions

Software version: 658
Data directory version: 658
Database version: 628

Logs

Logs path: C:\TeamCity\logs

1 comment
Comment actions Permalink

Hi,

1. You need to install a matching version of TeamCity onto the new server. So you need firslty upgrade and then relocate TC or first relocate and then upgrade TC.
2. Please check that you have copied the database.properties file. It looks like TeamCity is trying to use Internal database instead of SQL database. Also it is recommended to delete the old HSQLDB files: buildserver.* from /system folder of your <TeamCity data directory> to remove the no longer needed internal storage data (it will help to get more clear errors).

0

Please sign in to leave a comment.