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 Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

909 views 45 7
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