Cant start

Chris Danks
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!
November 6, 2018

Hi

 

When we visit our confluence URL we get error:

 

Database: Database connection failed

Confluence failed to establish a connection to your database.
This could be because:

 

  • Your database isn't running
  • The configuration of your confluence.cfg.xml file is incorrect (user, password, or database URL etc.)
  • There is a network issue between Confluence and your database (e.g. firewall, database doesn't allow remote access etc.)

 

 

I tried forcing an upgrade but the error still comes.

its only today we have this issue.

 

We use the H2 DB and not an external source like MySQL.

1 answer

0 votes
Mirek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 6, 2018

H2 DB is very problematic and not stable. If this is a production instance I suggest setting up an external database (like you mentioned for example MySQL) and use it instead. If everything was working and now it is not it is common situation that from day to day it just stop working...

I hope you have backups. If not and you would still not able to startup your instance you can try to recover, but it is not trivial. Some people create a special script to handle that. Maybe it could be useful for you or someone else

https://gist.github.com/AlmostGosu/6220fbf8adb7f46044e4578f67f3a28e

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events