Fatal error due to HSQLDB

Hi,

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.

Anyways,

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,
John

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

65 views 0 11
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