Missing dbconfig.xml

When I run the process of installing Jira, and attempt to run the config.sh from command line, I always receive a message stating:

[root@slackasana bin]# sh config.sh

Loading application properties from /opt/atlassian/jira/atlassian-jira/WEB-INF/classes/jira-application.properties

DB config file '/var/atlassian/application-data/jira/dbconfig.xml' is not created yet - loading database settings as blank.

No graphics display available; using console.


JIRA Configurator v1.1


When I navigate to /var/atlassian/application-data/jira/data, I only see attachments, but not the mysterious dbconfig.xml file. Is this a file I am supposed to be creating, or should it render from the process of the Jira installation?
I complete this component but still do not see the dbconfig.xml file. Could someone please direct me on what I am missing that it doesn't want to create for me? Thanks for the direction. -J
sudo -s -H -u postgres
# Create the JIRA user:
/opt/PostgreSQL/8.4/bin/createuser -S -d -r -P -E jirauser
# Create the JIRA database:
/opt/PostgreSQL/8.4/bin/createdb --owner jirauser --encoding utf8 jira 

4 answers

1 accepted

1 vote

Hi Joel,

The once you save the changes on the JIRA Configurator tool, the dbconfig.xml file should be saved to your JIRA_HOME folder.

In your problem description, you have mentioned that the file is missing from /var/atlassian/application-data/jira/data, whereas it should have been saved on /var/atlassian/application-data/jira instead.

Could you please check if the file is on the JIRA Home folder (/var/atlassian/application-data/jira)?

If the file is missing, you may also manually create it using an example from the document below:




0 vote

Instead of running config.sh - run start-jira.sh . Once you do that point your web browser to the url specified and it should walk you through things.

I'm trying to do it without the web browser, and configure it all by command line. Can you offer anymore feedback with that in mind?

0 vote

As mentioned by Danilo, once the changes are saved with Configuration Tool, the dbconfig.xml should be created into your JIRA_HOME folder.

For more information on how to use the configuration tool, please refer the URL below. Hope it helps!




Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,311 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot