JIRA Configuration Tool does not run

I have several issues with my JIRA config at the moment. I want to move from a hsql local DB to an external Mysql DB and I want to upgrade to the latest version and I want Greenhopper installed.

To get Greenhopper, I need the Universal Plugin Manager, which I do not have (can't find?). To get the UPM I need to do this (https://answers.atlassian.com/questions/20846/can-t-find-universal-plugin-manager-after-upgrade-to-4-4 ). It might be easier to move to the new DB before doing this, I thought

To move the DB I need to run config.bat to get the Jira configuration tool running, which does not run. I get "No JRE_home or JAVA_HOME environment variable is set." I have no clue what this means...

And I cannot move my DB without (sure, there are other ways, but for me...)

So in a nutshell:

How do I get config.bat running?

1 answer

1 accepted

Hi Maarten,

It does indeed seem that there is some confusion here because you should be able to run SQL commands on your database by following the instructions in this document: https://confluence.atlassian.com/display/JIRA/Running+SQL+commands+in+a+HSQL+database

However, to migrate your database you will need to export the data in XML format, attach a new database and then import the data again. You can do this by following the steps outlined below:

  1. Backup your JIRA Home Directory.
  2. Generate an XML backup of your data
  3. Delete the dbconfig.xml file in your JIRA Home Directory.
  4. Restart JIRA and you should see the first step of the JIRA Setup Wizard for configuring your database connection.
  5. Configure JIRA's connection to your new database in the JIRA Setup Wizard and click the 'Next' button.
  6. On the 'Application Properties' setup page, click the 'import your existing data' link and restore your data

Hopefully these answers should get you moving towartds getting your Database migrated and Greenhopper installed, although I'm not sure why you are unable to launch the JIRA Configuration Tool but the procedure above will allow you to do what you are trying to achieve.

All the best,
John

Got it working! Thnx! (Importing data failed once, so had do a little more work though...) But all is fine now!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

197 views 2 11
Read article

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