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 Join to answer
Community showcase
Maarten Cautreels
Posted Thursday in Off-topic

Friday Fun: What's your favourite beer/drink

As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...

285 views 38 9
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot