Confluence 9.2.23 Linux .bin installer silently ignores sys.installationDir in unattended (-q) mode

XMLWordPrintable

    • 8
    • Severity 3 - Minor
    • 11

      Problem

      When running the Confluence 9.2.23 Linux installer in unattended mode (-q -varfile response.varfile), the sys.installationDir variable defined in the response.varfile is silently ignored. The installer falls back to the default path (/usr/local/Confluence) instead of the specified directory (e.g., /opt/atlassian/confluence).

      No error or warning is produced. The installer reports success but installs to the wrong location.

      This is a regression, the identical varfile and automation script works correctly with the 9.2.22 installer.

      Environment

      Confluence 9.2.23
      Also 10.2.15

      Steps to Reproduce

      Steps to Reproduce:

      1. Create a valid response.varfile with sys.installationDir=/opt/atlassian/confluence
      1. Run: ./atlassian-confluence-9.2.23-x64.bin -q -varfile response.varfile
      1. Observe that Confluence is installed to /usr/local/Confluence instead of /opt/atlassian/confluence

      Expected Results

      Confluence installs to /opt/atlassian/confluence as specified in the varfile.

      Actual Results

      Confluence installs to /usr/local/Confluence. No error is shown.
      The installer seemed to run fine, but Confluence never fully installed.
       

      Workaround

      Use the explicit -dir flag on the command line:
       ./atlassian-confluence-9.2.23-x64.bin -q -dir /opt/atlassian/confluence -varfile response.varfile

      Notes

              Assignee:
              Akshay Rai
              Reporter:
              Eleno Diaz
              Votes:
              4 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: