Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-44645

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

    XMLWordPrintable

Details

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? 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:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: