Error - Update from Confluence 6.3.1 to 6.5.0 - Cannot update schema

Hello confluence team,

I installed the update with the installer file. And when opening the weblink comes this error:2017-11-14_08h37_02.pngI searched in the atlassan-confluence.log and found this:

2017-11-13 17:01:05,684 INFO [localhost-startStop-1] [confluence.upgrade.impl.DefaultUpgradeManager] beforeUpgrade Finished generating pre-upgrade recovery file.
2017-11-13 17:01:07,314 ERROR [localhost-startStop-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(
    at com.atlassian.confluence.plugin.PluginFrameworkContextListener.launchUpgrades(
    at com.atlassian.confluence.plugin.PluginFrameworkContextListener.contextInitialized(
    at org.apache.catalina.core.StandardContext.listenerStart(
    at org.apache.catalina.core.StandardContext.startInternal(
    at org.apache.catalina.util.LifecycleBase.start(
    at org.apache.catalina.core.ContainerBase$
    at org.apache.catalina.core.ContainerBase$
    at java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.util.concurrent.ThreadPoolExecutor$
Caused by: com.atlassian.config.ConfigurationException: Cannot update schema
    at bucket.core.persistence.hibernate.schema.SchemaHelper.validateSchemaUpdateIfNeeded(
    at com.atlassian.confluence.upgrade.AbstractUpgradeManager.upgrade(
    ... 11 more
Caused by: org.hibernate.tool.schema.extract.spi.SchemaExtractionException: More than one table found in namespace (, ) : AUDIT_CHANGED_VALUE
    at org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl.processTableResults(
    at org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl.getTable(
    at org.hibernate.tool.schema.extract.internal.DatabaseInformationImpl.getTableInformation(
    at org.hibernate.tool.schema.internal.IndividuallySchemaMigratorImpl.performTablesMigration(
    at com.atlassian.confluence.impl.hibernate.ConfluenceHibernateSchemaManagementTool$3.performTablesMigration(
    at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(
    at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(
    at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(
    at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(
    at bucket.core.persistence.hibernate.schema.SchemaHelper.validateSchemaUpdateIfNeeded(
    ... 12 more
2017-11-13 17:01:07,323 ERROR [localhost-startStop-1] [atlassian.confluence.plugin.PluginFrameworkContextListener] launchUpgrades 1 errors were encountered during upgrade:
2017-11-13 17:01:07,323 ERROR [localhost-startStop-1] [atlassian.confluence.plugin.PluginFrameworkContextListener] launchUpgrades 1: Cannot update schema

Could You help me, what I should do? If you need more information, let me know.

Thank You.

Marcus Punzelt







1 answer

0 votes


Could you confirm with me which database and version you are running Confluence on?

Thank you!

Kind Regards, 



Oracle XE 11g

Kind Regards,


Thank you, Marcus.

Confluence currently only supports Oracle 12c (release 1), and this has been the case for a while now.

I would recommend that you first upgrade your instance of Oracle to 12c, and then re-attempt the upgrade.

Let us know if you have any questions.

Kind Regards,

Thanks for your reply.

I will check this. It is also depends of our license of oracle.

Or I migrate to sql server or postgres.

Thank you. I will let you know which decision I will make.

Kind Regards,



No worries! What might be happening now is that the database user has too many permissions. Have a look at Database Setup for Oracle - Create user with schema-creation privileges, especially this part:


  • It is very important that the user is granted the exact privileges indicated above. Confluence requires only these privileges so you should grant specific privileges to the user, and not assign a role to the user.

  • Do not grant the user the select any table permission. That permission can cause problems with other schemas. 

  • When you create a user, specify the tablespace for the table objects as shown above.

I would still recommend that you upgrade Oracle to a supported version, however, to avoid future issues.

Let us know if you have any questions

Kind regards,


Great news. Confluence works.

Many thanks for your help Shannon.

I had any-permissions. And I revoke these permissions.

But in the future I go to a supported version.

Kind regards and Thanks :-),



Glad to hear that worked for you! :) 

If you run into any issues when upgrading your database or migrating it please feel free to raise a new question.

Take care and kind regards,


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

783 views 33 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you