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

Accepted Answer
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 votes
Daniel Wester Community Champion Jul 11, 2014

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 votes

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 Sign up to answer
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

34 views 0 2
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