A error occurred when trying to install JIRA 5.2.7 (TAR.GZ Archive) on ubuntu 12.04.
You cannot access JIRA at present. Look at the table below to identify the reasons
|Configured jira.home '/usr/local/atlassian-jira-5.2.7' must not be a parent directory of the webapp servlet path '/usr/local/atlassian-jira-5.2.7/atlassian-jira'|
I've spent a long time to solve this error, but I've done nothing.
how can I solve it?
This is actually quite simple and it's telling you what you've got wrong.
Jira needs two directories (although you can use more if you need to) - one for the application and one for it's data. You must NOT put one of them inside the other. What you've done is name a data directory and then put the application inside it. That's a bad idea in general, even if Jira would let you do it.
It's probably going to be quicker to delete this install (Assuming you have no data?) and start again. When it asks you where to install Jira, put in something like /usr/local/jira-5.2.7 and then when it asks you about where to locate "Jira Home", use /var/jira, /opt/jiradata, /home/jira/thehomedata, etc. Anything that clearly identifies it as Jira data and is NOT in the same place as the application.
I refered to the JIRA 5.2.7 README document in which the contents are shown below :
Brief Install Guide
A folder "atlassian-jira-5.2.7-standalone" is generated after decompressing the "atlassian-jira-5.2.7.tar.gz". The folder seems to includes the two directories you mentioned; one for the application and one for that's data.
I set the JIRA HOME directory to the path of "atlassian-jira-5.2.7-standalone" using JIRA Configuration Tool. For your advice, how can I separate the data directory from the home directory?
Thanks for your comment.
> The folder seems to includes the two directories you mentioned; one for the application and one for that's data
No, it does NOT. There's no data directory in there.
>I set the JIRA HOME directory to the path of "atlassian-jira-5.2.7-standalone" using JIRA Configuration Tool
That's what you did wrong. You've pointed the data directory to the application directory.
Re-read the docs you pointed to - they tell you how to set the home directory - you should be able to simply edit the jira properties file and point jira.home to somewhere else. Anywhere outside the application directory will do.
I'm sorry to bother you. I solved the problem as shown in below
My directory setting
If you really appreciate the help then you should give more information about what you have actually done and the error messages you get instead of "still have the problem".
Did you follow the advice given above? The same advice was given in the original error messages - change your data folder. You do not say whether you have done this or what or where?
You can also refer to the documentation for this:
Hope this helps.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG