How do I recover data when old database assumes users are in JIRA?

I am trying to recover an old Confluence database and have got as far as determining that the database was created using Confluence 5.6.4. When I install v5.6.4, it successfully loads the database (i.e. it doesn't crash or complain about the build used to create the database) but the old database assumes that users will be authenticated via JIRA. Suddenly I have no way to login to Confluence so can't export the data or even view it. The JIRA server has been moved recently so I doubt that the information held, in Confluence, about the JIRA instance is correct.

It seems that no-one predicted this problem or they would have exported the data from Confluence before moving the servers. How can I override the user configuration to get into the database and export the data?

Thanks.

2 answers

1 accepted

This widget could not be displayed.

First step is to get a Confluence admin account to get in - see https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html

Then you'll be able to change the directories around.  I'm not sure you'll be able to rescue all of it if the JIRA has gone away, but you should at the very least have admin access and a full list of users and groups in the database cwd_user and cwd_membership tables (they cache the remote directory data)

Thanks, Nic. That did the trick. Go knows how long it would have taken me without your help. Although the instructions are written assuming H2, they work fine with HSQLDB.

This widget could not be displayed.

One more piece of information: v5.6.4 of Confluence uses an HSQLDB rather than an H2 database. Not sure if this will affect the solution or not.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

603 views 8 6
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