ERROR - jetbrains.buildServer.STARTUP - Could not determine database version.

Hello guys,

I have a problem with my TeamCity server on an unix machine when starting:

[2013-12-05 11:39:47,875]   INFO -   jetbrains.buildServer.SERVER - ===========================================================
[2013-12-05 11:39:47,875]   INFO -   jetbrains.buildServer.SERVER - Starting TeamCity server
[2013-12-05 11:39:47,937]   INFO -   jetbrains.buildServer.SERVER - TeamCity version: 7.1.4 (build 24331), data format version 544
[2013-12-05 11:39:47,938]   INFO -  jetbrains.buildServer.STARTUP - Servlet real path: /sbclocal/data/iordacheTeamCity/TeamCity2/TeamCity/webapps/ROOT/
[2013-12-05 11:39:47,939]   INFO -  jetbrains.buildServer.STARTUP - Current stage: Looking for the TeamCity Data Directory
[2013-12-05 11:39:47,939]   INFO -  jetbrains.buildServer.STARTUP - TeamCity Data Directory path is determined using the environment variable TEAMCITY_DATA_PATH
[2013-12-05 11:39:47,939]   INFO -  jetbrains.buildServer.STARTUP - Data Directory /home/iordache/TeamCity exists
[2013-12-05 11:39:47,967]   INFO -  jetbrains.buildServer.STARTUP - The main configuration file exists
[2013-12-05 11:39:47,967]   INFO -  jetbrains.buildServer.STARTUP - The database properties file exists
[2013-12-05 11:39:47,967]   INFO -  jetbrains.buildServer.STARTUP - The internal database data file doesn't exist
[2013-12-05 11:39:48,033]   INFO -  jetbrains.buildServer.STARTUP - Data Directory version: 544
[2013-12-05 11:39:48,033]   WARN -  jetbrains.buildServer.STARTUP - The Data Directory contains non-TeamCity files or directories
[2013-12-05 11:39:48,034]   INFO -  jetbrains.buildServer.STARTUP - Current stage: Looking for the database configuration
[2013-12-05 11:39:48,034]   INFO -  jetbrains.buildServer.STARTUP - Database properties file (/home/iordache/TeamCity/config/database.properties) exists
[2013-12-05 11:39:48,034]   INFO -  jetbrains.buildServer.STARTUP - Internal HSQL database file (/home/iordache/TeamCity/system/buildserver.data) doesn't exist
[2013-12-05 11:39:48,057]   WARN -   jetbrains.buildServer.SERVER - Enabling of prepared statements pooling is dangerous and should be avoided (can cause memory leaks), please remove poolPreparedStatements=true property from database.properties file
[2013-12-05 11:39:48,059]   INFO -  jetbrains.buildServer.STARTUP - Database connection URL: jdbc:hsqldb:file:/home/iordache/TeamCity/system/buildserver
[2013-12-05 11:39:48,059]   INFO -  jetbrains.buildServer.STARTUP - Using database connection URL from the database properties file. The URL is: jdbc:hsqldb:file:/home/iordache/TeamCity/system/buildserver
[2013-12-05 11:39:48,059]   INFO -  jetbrains.buildServer.STARTUP - Using internal (HSQL) database
[2013-12-05 11:39:48,059]   INFO -  jetbrains.buildServer.STARTUP - Current stage: Connecting to the database
[2013-12-05 11:39:48,059]   INFO -  jetbrains.buildServer.STARTUP - Loading JDBC drivers
[2013-12-05 11:39:49,324]   INFO -  jetbrains.buildServer.STARTUP - Connected to the database successfully
[2013-12-05 11:39:49,324]   INFO -  jetbrains.buildServer.STARTUP - Current stage: Checking the database
[2013-12-05 11:39:49,352]   INFO -  jetbrains.buildServer.STARTUP - Using schema: PUBLIC
[2013-12-05 11:39:49,367]   INFO -  jetbrains.buildServer.STARTUP - Schema contains 107 tables.
[2013-12-05 11:39:49,370]   INFO -  jetbrains.buildServer.STARTUP - Database version is 0
[2013-12-05 11:39:49,371]  ERROR -  jetbrains.buildServer.STARTUP - Could not determine database version.
[2013-12-05 11:39:49,371]   INFO -  jetbrains.buildServer.STARTUP - Current stage: TeamCity server startup error


I am not sure what happened, the machine on which the server runs is accessed by multiple persons and someone could have modified something.

What should I do to solve this problem?

Regards,
Lucian

Please sign in to leave a comment.