Hello,
Having a hard time starting jira on Ubuntu. Keeps complaining about JIRA home directory. It's there and my vars look correct. Anybody else run into this and know the fix? Poured over the documentation on Atlassian, no dice. Here's the details:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
$ echo $JAVA_HOME
/opt/jre1.8.0_191
$ echo $JIRA_HOME
/opt/jira_home
$ id -a jira
uid=5472(jira) gid=5472(jira) groups=5472(jira)
$ pwd
/opt/jira_home
$ ls -al /opt
drwxr-xr-x 13 jira jira 4096 Nov 28 03:15 atlassian-jira-software-7.13.0-standalone
drwxr-xr-x 3 jira jira 4096 Jan 15 11:57 jira_home
drwxr-xr-x 6 root root 4096 Oct 6 05:52 jre1.8.0_191
$ /opt/atlassian-jira-software-7.13.0-standalone/bin/start-jira.sh
2019-01-15 11:57:00,151 JIRA-Bootstrap ERROR [c.a.jira.health.HealthChecks] We can't locate your JIRA home directory
2019-01-15 11:57:00,153 JIRA-Bootstrap ERROR [c.a.jira.health.HealthChecks] Your JIRA home directory has important information on how JIRA works, so you need to make sure it's set up correctly.
Review our documentation for more information on setting your JIRA home.
2019-01-15 11:57:00,299 JIRA-Bootstrap INFO [c.a.jira.startup.JiraStartupLogger] Running JIRA startup checks.
2019-01-15 11:57:00,300 JIRA-Bootstrap FATAL [c.a.jira.startup.JiraStartupLogger] Startup check failed. JIRA will be locked.
Check <installdir>/atlassian-jira/WEB-INF/classes/jira-application.properties and make sure the path is set correctly.
Hmmm... So it's got to be set as a variable($JIRA_HOME) *and* in the jira-application.properties file. Interesting... the documentation should probably updated.
Thanks, it's up and running now.
-Shawn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think there's an order of precedence. For instance, If the file I referenced did not exist, it may fall back to the env variable, etc. But since (presumably) the file did exist and had the incorrect path, that's the source of the failure because it did not continue by checking the env var for a legitimate path.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, sometimes the documentation can be confusing. I was going by this:
Please note: If you have specified different values for a 'jira.home
' property in the jira-application.properties
file and a JIRA_HOME
environment variable, the value of the JIRA_HOME
environment variable takes precedence.
Sourced here:
Thanks,
-Shawn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Beware that the JIRA_HOME system variable is actually completely ignored, - when Jira is started by a Windows service!
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.