How can I setup my Confluence database without using the wizard

This question is in reference to Atlassian Documentation: Confluence Setup Guide

For JIRA, I was able to place a dbconfig.xml file in the configuration directory and my database connection was setup. The initial wizard setup still ran for generating a server ID and retrieving a license, but the database was taken care of.

I'd like to do the same for Confluence, but it appears the database configuration has been conflated with other server configuration in the confluence.cfg.xml file. I tried just starting out with a confluence.cfg.xml file that has the database lines populated, but that didn't work (frankly, I was expecting it wouldn't).

Is there any way to automate this? Seems strange that these two products do not leverage the same type of configuration under the hood.

1 answer

I also found this testdatabase.jsp utility very useful for debugging the db setup

https://confluence.atlassian.com/doc/troubleshooting-external-database-connections-9906.html

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,691 views 25 10
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