TeamCity cannot start properly

Hi ,

I am having this issue after I have installed a clean copy of TeamCity. I get following exception :

java.lang.IllegalStateException: Could not write version - no version table.
   at jetbrains.buildServer.serverSide.db.DBSchema.writeDatabaseVersion(
   at jetbrains.buildServer.serverSide.db.DBSchema.populateWithInitialData(
   at jetbrains.buildServer.serverSide.db.DBSchema.createSchema(
   at jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager$
   at jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager.withMaintenanceDBF(
   at jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager.createNewSchemaWithInitialData(
   at jetbrains.buildServer.serverSide.versioning.VersionManager.ensureActualDatabase(
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processStartupServerInternal(
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processStartupServerSafe(
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.access$400(
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet$
   at Source)

I am trying to evaluate TeamCity for our company but no luck so far. Do you have any suggestions?


1 comment
Comment actions Permalink

Hi Erhan

Root cause of this issue is still unknown, and I appreciate if you help us find and resolve it.

We prepared new build that provides extended logging for database operations. Please

  1. Install Java (JDK, not JRE), and set JAVA_HOME environment variable.
  2. Download the build from
  3. Unpack to a folder of your choice
  4. Enable debug logging
  5. Start the server by <TeamCity>\bin\teamcity-server.bat start command
  6. reproduce the issue and send us resulted <TeamCity>\logs\teamcity-server.log


Please sign in to leave a comment.