Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-44645

The ability for installer to look at JVM arguments for jira.home value.

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      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

      1. 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).
      2. 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..

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mmuthusamy Moga
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: