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 
exit

4 answers

1 accepted

This widget could not be displayed.

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:

https://confluence.atlassian.com/display/JIRA/Connecting+JIRA+to+PostgreSQL

Cheers,

Danilo

This widget could not be displayed.
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.

This widget could not be displayed.

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?

This widget could not be displayed.

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!

https://confluence.atlassian.com/display/JIRA/Using+the+JIRA+Configuration+Tool

Cheers

Luciano

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

99 views 1 0
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