The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can not open confluence h2 database file

Thomas Pauli
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 24, 2019

Hey guy's

I would like to open the h2 database file of my confluence instance. But there aren't tables in it.

I took the database file from here: "C:\Program Files\Atlassian\Application Data\Confluence\database\h2db.mv.db".

But now when I try to open it with several tools the program always says that no tables exists in this file. Is it the correct file?

Thank your for your help.

5 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Angel Ruiz
Contributor
February 27, 2019

Hi Thomas,

I was able to see the tables by removing the .h2.db extension from the connection URL. I hope it helps

2 votes
Angel Ruiz
Contributor
February 27, 2019

Hi again,

I have found that accessing the H2 embedded db pointing to the file directly can cause problems when Confluence is also running. It looks like the best is to access via TCP with a URL like this:

jdbc:h2:tcp://localhost:9092//Users/.../target/confluence/home/database/h2db
0 votes
Angel Ruiz
Contributor
February 26, 2019

Please disregard this comment cause it is not working

0 votes
Angel Ruiz
Contributor
February 26, 2019

I am having the same problem trying to open the embedded H2 Confluence DB located at: /target/confluence/home/database/h2db.h2.db

I used to be able to connect to PUBLIC schema and see the tables and execute SQL queries on them

0 votes
SMS
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 28, 2019

Thomas,

Per our procedure in Embedded H2 database, you can either use DBVisualizer or the Console.

Can you take a moment to confirm you are working through the steps for either process exactly as it's outlined there?

If so, and you're still having issues, then I would recommend migrating to a supported database (also available on the above article) and see if you are able to access your data that way.

Regards,

Shannon

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events