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(DBSchema.java:228)
   at jetbrains.buildServer.serverSide.db.DBSchema.populateWithInitialData(DBSchema.java:145)
   at jetbrains.buildServer.serverSide.db.DBSchema.createSchema(DBSchema.java:170)
   at jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager$2.run(TeamCityDatabaseManager.java:468)
   at jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager.withMaintenanceDBF(TeamCityDatabaseManager.java:444)
   at jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager.createNewSchemaWithInitialData(TeamCityDatabaseManager.java:466)
   at jetbrains.buildServer.serverSide.versioning.VersionManager.ensureActualDatabase(VersionManager.java:434)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processStartupServerInternal(TeamCityDispatcherServlet.java:145)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processStartupServerSafe(TeamCityDispatcherServlet.java:263)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.access$400(TeamCityDispatcherServlet.java:183)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet$5.run(TeamCityDispatcherServlet.java:2)
   at java.lang.Thread.run(Unknown Source)


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

Regards

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 http://download.jetbrains.com/teamcity/tmp/TeamCity-15930.tar.gz
  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

Thanks
Michael
0

Please sign in to leave a comment.