Fatal error due to HSQLDB


I made a big mistake here.

First of all, I was running Confluence with HSQLDB while JIRA,Fisheye running on MSSQL.

Yes, I admit, it is all my fault. I should have setup an external database.


One day morning, Confluence stopped working, and send all requests to Oops page.

In the log, it says integrity constraint key of BANDANA tables.

It seems like my crystal HSQLDB's primary indexing is corrupted.

I tried to migrate HSQLDB to MSSQL, but it didn't let me connect to make it exported.

So, I made a backup of Confluence, and uninstalled Confluence.

Then, re-installed.

Now, I get new ServerID and new license.

At this point, I decided to contact supports.

What would you suggest to get out of this disaster?

Thank you for your support in advance.

Best regard,

CJ Lee

1 answer

Hi CJ,

If you have managed to take an XML backup of your Confluence data then you will be able to restore that to a new instance of Confluence that is using your MSSQL database.To do this you should backup your attachments directory and follow the instructions on this page to migrate your data: https://confluence.atlassian.com/display/DOC/Database+Setup+for+SQL+Server

However, when configuring your new MSSQL database please ensure that you follow these instructions exactly to prevent problems from occurring later on with your installation: https://confluence.atlassian.com/display/DOC/Database+Setup+for+SQL+Server

You will find that once the data has been restored then the old Server ID will be implemented again so that it will remain compatible with your license, so once you ahve restored the data then this should resolve your issue.

All the best,

Suggest an answer

Log in or Sign up to answer
Community showcase

Scrum Roles Explained: the Do's and the Don'ts

Hello Community,  Today we are going to talk about the three Scrum Roles. There is the Development Team, the Scrum Master and the Product Owner. In my opinion these three are all really impo...

99 views 0 4
Read article

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