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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,099 views 17 14
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