Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Does dbconfig.xml need to be configured if one sets jira-home directory?

admin admin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 20, 2019

So, I was planning to demo a server, and installation by pre-configuring the server to use a specific location for its home directory; from the {.../bin/setenv.sh} file, and then start the app {.../bin/start-jira.sh}

When I start the app however, nothing appears as a web gui, and the home-logs provide;

2019-06-20 18:43:06,069 JIRA-Bootstrap INFO [c.a.j.config.database.DatabaseConfigurationManagerImpl] The database is not yet configured. Enqueuing Post database-configuration launchers on post-database-activated queue

QUESTION: If I do configure a home directory, must I have a populated dbconfig.xml file, or is there something else missing from this configuration which I haven't been able to track down yet?

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 21, 2019

Yes, you need settings to tell Jira what database to use.  The installation process should be asking you for connection details so it creates it for you.

I'm not sure why you are editing setenv.sh for this though, the home directory is set by the installer as well, or if you're doing everything by hand (from a tar.gz file for example), the home directory is set in a properties file, not setenv.x

Suggest an answer

Log in or Sign up to answer