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
Description |
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?
Thank you.
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.
atlassian-jira-5.2.7-standalone
└ atlassian-jira
└ bin
└ conf
└ ....
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> 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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm sorry to bother you. I solved the problem as shown in below
My directory setting
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As writting the specific information in Nic Brough's comment, I didn't wrote down for your comment in detail.
Speaking as beginner of JIRA, you're comment was not different that "please refere to attlassian homepage".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can also refer to the documentation for this:
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I still have the problem..
But I really appreciate your comment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.