how to change JIRA installation directory path?

I recently upgraded JIRA 6.2.7 to 6.4.11. Everything works fine but the problem is that my installation directory is still "atlassian-jira-6.2.7-standalone" as it was originally unpacked. I'd like to now change this to a generic, non-version-specific name. When I simply change the directory name JIRA won't start - there is no log, but I can see that the startup parms (CATALINA_BASE, HOME, etc.) all have the new directory path I am using except JRE_HOME - which still has the old (and now non-existent) path.

Is this simply a matter of upatting JRE_HOME somewhere, or is there a better way to do this? For example, is it a good idea to create a fresh installation of 6.4.11 in the new installation directory, and simply point the jira-application.properties to my existing jira.home?

 

Thank you.

3 answers

0 votes

It is a simple matter of updating the JRE_HOME. I am trying to remember which file it is but it is definitely under bin folder. Check out permgen.sh (if my memory serves right, but I wouldn't bet on it!) or one of the other script files in there.

Check the "setenv.sh" in "$JIRA_INSTALLATION/bin" directory.

Thanks everyone for the answers!

 

Jobin you were right on - the path is hard-coded as the "JAVA_HOME" in the bin/permgen.sh - probably upon the initial installation. I changed this and everything works with the new path.

 

Thanks again.

Glad it worked!

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 ...

2,798 views 11 18
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