Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence Server doesn't start after upgrade 6.14.0->6.15.3

OVANES OGANYAN April 29, 2019

I have an error in atlassian-confluence.log after upgrade

2019-04-29 16:21:43,333 ERROR [Catalina-utility-1] [atlassian.confluence.plugin.PluginFrameworkContextListener] launchUpgrades Upgrade failed, application will not start: com.atlassian.config.ConfigurationException: Cannot update schema
com.atlassian.confluence.upgrade.UpgradeException: com.atlassian.config.ConfigurationException: Cannot update schema
at com.atlassian.confluence.upgrade.AbstractUpgradeManager.upgrade(AbstractUpgradeManager.java:135)
at com.atlassian.confluence.plugin.PluginFrameworkContextListener.launchUpgrades(PluginFrameworkContextListener.java:119)
at com.atlassian.confluence.plugin.PluginFrameworkContextListener.contextInitialized(PluginFrameworkContextListener.java:79)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4682)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5150)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)
Caused by: com.atlassian.config.ConfigurationException: Cannot update schema
at com.atlassian.confluence.impl.core.persistence.hibernate.schema.ConfluenceSchemaHelper.validateSchemaUpdateIfNeeded(ConfluenceSchemaHelper.java:117)
at com.atlassian.confluence.upgrade.impl.DefaultUpgradeManager.validateSchemaUpdateIfNeeded(DefaultUpgradeManager.java:73)
at com.atlassian.confluence.upgrade.AbstractUpgradeManager.upgrade(AbstractUpgradeManager.java:120)
... 14 more
Caused by: org.hibernate.boot.model.naming.IllegalIdentifierException: Identifier text should not contain quote markers (` or ")
at org.hibernate.boot.model.naming.Identifier.<init>(Identifier.java:110)
at org.hibernate.boot.model.naming.DatabaseIdentifier.<init>(DatabaseIdentifier.java:23)
at org.hibernate.boot.model.naming.DatabaseIdentifier.toIdentifier(DatabaseIdentifier.java:30)
at org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl.getIndexes(InformationExtractorJdbcDatabaseMetaDataImpl.java:734)
at org.hibernate.tool.schema.extract.internal.TableInformationImpl.indexes(TableInformationImpl.java:122)
at org.hibernate.tool.schema.extract.internal.TableInformationImpl.getIndex(TableInformationImpl.java:138)
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.findMatchingIndex(AbstractSchemaMigrator.java:340)
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applyIndexes(AbstractSchemaMigrator.java:324)
at org.hibernate.tool.schema.internal.IndividuallySchemaMigratorImpl.performTablesMigration(IndividuallySchemaMigratorImpl.java:84)
at com.atlassian.confluence.impl.hibernate.ConfluenceHibernateSchemaManagementTool$3.performTablesMigration(ConfluenceHibernateSchemaManagementTool.java:110)
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:203)
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:110)
at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:87)
at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:58)
at com.atlassian.confluence.impl.core.persistence.hibernate.schema.ConfluenceSchemaHelper.validateSchemaUpdateIfNeeded(ConfluenceSchemaHelper.java:114)
... 16 more
2019-04-29 16:21:43,341 ERROR [Catalina-utility-1] [atlassian.confluence.plugin.PluginFrameworkContextListener] launchUpgrades 1 errors were encountered during upgrade:
2019-04-29 16:21:43,341 ERROR [Catalina-utility-1] [atlassian.confluence.plugin.PluginFrameworkContextListener] launchUpgrades 1: Cannot update schema

1 answer

0 votes
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 1, 2019

Hello there!

Ovanes, this trace takes us to a problem with the database during the upgrade. So, first thing we could start by checking is:

  1. Database compatibility
  2. Database Driver
  3. Connection string that points to the database
  4. Your server.xml file maxThreads value (and all other parameters context)

We have seen this situation before. There were two situations where this error popped up:

  • Unsupported database
  • Missing maxThreads parameter

Further, never forget to back up <confluence-home> and <confluence-install> folders as well as your database prior to any upgrade.

Also, upgrades should always be tested on a test instance before applying them to the production instance.

You will want to look into these:

Looking forward to your reply Ovanes!

OVANES OGANYAN May 6, 2019

Thanks for help.

Certainly, I've made back up <confluence-home> and <confluence-install> folders and database.
In that problem case, I used back up and upgraded 6.14.0->6.14.3. It's enough for CVE-2019-3396 now.

Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 6, 2019
OVANES OGANYAN May 7, 2019

Yes, everything is ok now.
Issue is closed.

I'll plan next upgrade more accuracy :)

Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 7, 2019

Thanks for the feedback!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events