Error during upgrade from 5.0.3 to 6.5

Hi everyone,

I got through the installer and the error occured after the maintenance mode where the data files get converted to the new format. I got the following error and I don't know where to go from here. Please help.

TeamCity Server Startup Error

An error was encountered during TeamCity server startup


Problem encountered while performing java converter SecureSMTPSettingsConverter

jetbrains.buildServer.serverSide.versioning.ConvertException: Problem encountered while performing java converter SecureSMTPSettingsConverter
   at jetbrains.buildServer.serverSide.versioning.ConvertPerformer.runConverterStepJavaClass(ConvertPerformer.java:177)
   at jetbrains.buildServer.serverSide.versioning.ConvertPerformer.runConverterSteps(ConvertPerformer.java:138)
   at jetbrains.buildServer.serverSide.versioning.ConvertPerformer.runConverter(ConvertPerformer.java:89)
   at jetbrains.buildServer.serverSide.versioning.ConvertPerformer.runConverters(ConvertPerformer.java:78)
   at jetbrains.buildServer.serverSide.versioning.VersionManager.upgradeIt(VersionManager.java:391)
   at jetbrains.buildServer.serverSide.versioning.VersionManager.checkVersionsAndUpgradeSchemaIfNeeded(VersionManager.java:359)
   at jetbrains.buildServer.serverSide.versioning.VersionManager$2.run(VersionManager.java:415)
   at jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager.withDB(TeamCityDatabaseManager.java:572)
   at jetbrains.buildServer.serverSide.versioning.VersionManager.ensureActualDatabase(VersionManager.java:411)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processStartupServerInternal(TeamCityDispatcherServlet.java:139)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processStartupServerSafe(TeamCityDispatcherServlet.java:128)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.access$400(TeamCityDispatcherServlet.java:306)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet$6.run(TeamCityDispatcherServlet.java)
   at java.lang.Thread.run(Unknown Source)
caused by: java.lang.RuntimeException: java.io.FileNotFoundException: C:\Documents and Settings\Administrator\.BuildServer\config\_notifications\email\email-config.dtd (The system cannot find the file specified)
   at jetbrains.buildServer.util.FileUtil.processXmlFile(FileUtil.java:175)
   at jetbrains.buildServer.serverSide.versioning.converters.SecureSMTPSettingsConverter.convertXml(SecureSMTPSettingsConverter.java:29)
   at jetbrains.buildServer.serverSide.versioning.converters.SecureSMTPSettingsConverter.convert(SecureSMTPSettingsConverter.java:23)
   at jetbrains.buildServer.serverSide.versioning.ConvertPerformer.runConverterStepJavaClass(ConvertPerformer.java:168)
   at jetbrains.buildServer.serverSide.versioning.ConvertPerformer.runConverterSteps(ConvertPerformer.java:138)
   at jetbrains.buildServer.serverSide.versioning.ConvertPerformer.runConverter(ConvertPerformer.java:89)
   at jetbrains.buildServer.serverSide.versioning.ConvertPerformer.runConverters(ConvertPerformer.java:78)
   at jetbrains.buildServer.serverSide.versioning.VersionManager.upgradeIt(VersionManager.java:391)
   at jetbrains.buildServer.serverSide.versioning.VersionManager.checkVersionsAndUpgradeSchemaIfNeeded(VersionManager.java:359)
   at jetbrains.buildServer.serverSide.versioning.VersionManager$2.run(VersionManager.java:415)
   at jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager.withDB(TeamCityDatabaseManager.java:572)
   at jetbrains.buildServer.serverSide.versioning.VersionManager.ensureActualDatabase(VersionManager.java:411)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processStartupServerInternal(TeamCityDispatcherServlet.java:139)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processStartupServerSafe(TeamCityDispatcherServlet.java:128)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.access$400(TeamCityDispatcherServlet.java:306)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet$6.run(TeamCityDispatcherServlet.java)
   at java.lang.Thread.run(Unknown Source)
caused by: java.io.FileNotFoundException: C:\Documents and Settings\Administrator\.BuildServer\config\_notifications\email\email-config.dtd (The system cannot find the file specified)
   at java.io.FileInputStream.open(Native Method)
   at java.io.FileInputStream.<init>(Unknown Source)
   at java.io.FileInputStream.<init>(Unknown Source)
   at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
   at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
   at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
   at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
   at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
   at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
   at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
   at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
   at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
   at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)
   at org.jdom.input.SAXBuilder.build(SAXBuilder.java:847)
   at org.jdom.input.SAXBuilder.build(SAXBuilder.java:826)
   at jetbrains.buildServer.util.FileUtil.parseDocument(FileUtil.java:162)
   at jetbrains.buildServer.util.FileUtil.parseDocument(FileUtil.java:158)
   at jetbrains.buildServer.util.FileUtil.getProcessedDocument(FileUtil.java:131)
   at jetbrains.buildServer.util.FileUtil.processXmlFile(FileUtil.java:172)
   at jetbrains.buildServer.serverSide.versioning.converters.SecureSMTPSettingsConverter.convertXml(SecureSMTPSettingsConverter.java:29)
   at jetbrains.buildServer.serverSide.versioning.converters.SecureSMTPSettingsConverter.convert(SecureSMTPSettingsConverter.java:23)
   at jetbrains.buildServer.serverSide.versioning.ConvertPerformer.runConverterStepJavaClass(ConvertPerformer.java:168)
   at jetbrains.buildServer.serverSide.versioning.ConvertPerformer.runConverterSteps(ConvertPerformer.java:138)
   at jetbrains.buildServer.serverSide.versioning.ConvertPerformer.runConverter(ConvertPerformer.java:89)
   at jetbrains.buildServer.serverSide.versioning.ConvertPerformer.runConverters(ConvertPerformer.java:78)
   at jetbrains.buildServer.serverSide.versioning.VersionManager.upgradeIt(VersionManager.java:391)
   at jetbrains.buildServer.serverSide.versioning.VersionManager.checkVersionsAndUpgradeSchemaIfNeeded(VersionManager.java:359)
   at jetbrains.buildServer.serverSide.versioning.VersionManager$2.run(VersionManager.java:415)
   at jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager.withDB(TeamCityDatabaseManager.java:572)
   at jetbrains.buildServer.serverSide.versioning.VersionManager.ensureActualDatabase(VersionManager.java:411)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processStartupServerInternal(TeamCityDispatcherServlet.java:139)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processStartupServerSafe(TeamCityDispatcherServlet.java:128)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.access$400(TeamCityDispatcherServlet.java:306)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet$6.run(TeamCityDispatcherServlet.java)
   at java.lang.Thread.run(Unknown Source)
2 comments
Comment actions Permalink

Hello, Jim

This is a known issue: http://youtrack.jetbrains.net/issue/TW-17078
Fix will be delivered in nearest 6.5.x release.

Meanwhile, you can try put attached file to directory  C:\Documents and Settings\Administrator\.BuildServer\config\_notifications\email\ and try to start server once more.



Attachment(s):
email-config.dtd.zip
0
Comment actions Permalink

Thank a bunch!  Looks like that worked.  

:)
0

Please sign in to leave a comment.