Uploaded image for project: 'Jira Server and Data Center'
  1. Jira Server and Data Center
  2. JRASERVER-71338

Upgrading Jira 8 between minor versions will always indicate that setenv.sh has customizations that are not applied

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Medium
    • Resolution: Cannot Reproduce
    • 8.0.0, 8.1.0, 8.0.1, 8.0.2, 8.0.3, 8.2.0, 8.1.1, 8.4.3, 8.1.2, 8.2.1, 8.3.0, 8.2.2, 8.2.3, 8.4.0, 8.3.1, 8.2.4, 8.2.5, 8.3.2, 8.3.3, 8.1.3, 8.3.4, 8.4.1, 8.4.2, 8.5.0, 8.5.1, 8.5.2, 8.6.0, 8.2.6, 8.3.5, 8.7.0, 8.6.1, 8.5.3, 8.5.4, 8.8.0, 8.7.1, 8.7.2, 8.5.5, 8.9.0, 8.8.1, 8.7.3, 8.8.2, 8.10.0, 8.9.1, 8.11.0, 8.12.0, 8.5.6, 8.5.7, 8.9.2, 8.10.1, 8.5.8, 8.11.1, 8.10.2, 8.12.1, 8.12.2, 8.13.0, 8.12.3, 8.5.9, 8.13.1, 8.14.0, 8.5.10, 8.13.2, 8.5.11, 8.13.3, 8.14.1, 8.15.0, 8.13.4, 8.5.12, 8.13.5, 8.15.1, 8.16.0, 8.5.14, 8.13.6, 8.16.1, 8.17.0, 8.5.15, 8.13.7, 8.16.2, 8.5.16, 8.13.8, 8.17.1, 8.18.0, 8.5.17, 8.13.9, 8.5.18, 8.13.10, 8.18.1, 8.18.2, 8.19.0, 8.5.19, 8.13.11, 8.19.1, 8.13.12, 8.20.0, 8.13.13, 8.20.1, 8.13.14, 8.20.2, 8.21.0, 8.13.15, 8.20.3, 8.13.16, 8.20.4, 8.22.0, 8.13.17, 8.20.5, 8.13.18, 8.20.6, 8.13.19, 8.13.20
    • None
    • Upgrade

    Description

      Issue Summary

      When upgrading Jira 8 between minor versions (8.6 > 8.8 for example, or 8.10 > 8.11 as another upgrade example), after the upgrade is complete, the admin will see a warning page that explains that some configuration/settings files that contained customizations could not be copied over. This is expected for any startup/installation file where the admin might have made changes. However in this case, the $JIRAINSTALL/bin/setenv.sh file will always appear on this list, even when the admin has made no changes at all to that file.

      Steps to Reproduce

      1. install Jira Software/Core 8.10.0 (other 8 versions likely affected)
      2. Complete the setup and make sure Jira works
      3. Make no changes to setenv.sh
      4. upgrade that existing installation directory to a newer version, such as 8.11.0
      5. start Jira after upgrade

      Expected Results

      Expecting that there are no actual changes to that setenv.sh file and the initial startup would not indicate there are when you first start Jira after the upgrade.

      Actual Results

      Admins will always see that the setenv.sh file as having had customized changes to it that have not been applied to the upgraded install

      The listed configuration files contain custom changes. To keep your current configuration, re-apply these custom changes to the new version of the files during upgrade.
      
      bin/setenv.sh 
      

      Workaround

      • The warning page does not prevent upgrades to Jira in this case. This is just a warning message that appears to be a false positive in most cases. You can still dismiss this and complete the upgrade.
      • You can use -Djira.startup.warnings.disable=true startup flag, (see Setting properties and options on startup) which disables Johnson warnings page entirely:

        Disables the page (johnson) that displays errors after starting Jira if there are only dismissible warnings. The page will appear if there are any important errors.

      Attachments

        Issue Links

          Activity

            People

              5bc8004d5788 mandreiev
              aheinzer Andy Heinzer
              Votes:
              22 Vote for this issue
              Watchers:
              23 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: