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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

872 views 23 12
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