-
Suggestion
-
Resolution: Won't Fix
NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.
Problem Definition
JIRA upgrade fails because jira.home value is not specified in jira-aplication.properties file. The following error will be thrown in the terminal:
[root@xxxx]# ./atlassian-jira-6.4.6-x64.bin Unpacking JRE ... Starting Installer ... Jul 09, 2015 4:51:04 PM java.util.prefs.FileSystemPreferences$2 run INFO: Created system preferences directory in java.home. This will install JIRA 6.4.6 on your computer. OK [o, Enter], Cancel [c] o Choose the appropriate installation or upgrade option. Please choose one of the following: Express Install (use default settings) [1], Custom Install (recommended for advanced users) [2], Upgrade an existing JIRA installation [3, Enter] 3 Existing installation directory: [/opt/atlassian/jira/atlassian-jira-6.1.7-standalone] An error occurred when parsing your installation directory. Unfortunately the installer will be unable to continue with the automated upgrade. Finishing installation ... [root@xxxx]#
The jira.home directory is removed from jira-aplication.properties and defined in the JVM argument -Djira.home=/opt/atlassian/jira/home.
Suggested Solution
- Have the ability for the installer to look at the JVM argument if jira.home value in jira-aplication.properties is null. Perhaps, ask user to verify the jira.home value if found in non-default place (jira-aplication.properties).
- More accurate error to be shown in the terminal instead of An error occurred when parsing your installation directory. Unfortunately the installer will be unable to continue with the automated upgrade..
- is related to
-
JRASERVER-44645 The ability for installer to look at JVM arguments for jira.home value.
- Closed