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.
Try this, it worked for me
https://confluence.atlassian.com/confkb/how-to-generate-a-new-confluence-cfg-xml-425461512.html
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.