jira: move the installed files around in linux server

Anthony Kong September 21, 2011

When I first tried out jira I installed into a location A.

Now my team want to move the jira direcotry to another location, says B.

I tried to do a "cp -r A/atlassina B" and start jira from B/atlassian

Jira refused to start because JRE was not found.

Fixed the JRE_HOME variable in permgen.sh and now jira started, but now jira thought it is a blank new installation and took me to the setup page.

What is the painless way to move altassian jira files around?

6 answers

0 votes
Luis Mayora
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 21, 2011

My guess is that jira is trying to find that folder , but since it is not able to find it is trying to create another one and setting a new installation from scratch.

0 votes
Anthony Kong September 21, 2011

I moved the top level folder (i.e. in which you will find the jira and application-data subdirectories). I thought the hsql is in the application-data? I will check the properties file

0 votes
Luis Mayora
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 21, 2011

Are u using HSQLDB or a Database Server?.

0 votes
Luis Mayora
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 21, 2011

Did you move the hsqldb location too? Actually this folder is hidden.(Have to press Ctrl+H to check hidden files in Ubuntu-Nautilius, otherwise ls -a ) If you have moved the location of the sqldb then you have to update the jira-application-properties file.

0 votes
Luis Mayora
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 21, 2011

You should make sure that the jira-application-properties file still points to the folder that holds the attachments,etc. May be section 2.2 can help. http://confluence.atlassian.com/display/JIRA/Installing+JIRA+on+Tomcat+6.0

0 votes
Anthony Kong September 21, 2011

I am using HSQLDB

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events