Upgrading with Windows installer fails due to logon user change for Windows service

XMLWordPrintable

    • Type: Bug
    • Resolution: Not a bug
    • Priority: Low
    • None
    • Affects Version/s: 7.0.5, 7.1.1, 7.1.2, 7.2.0
    • None
    • 6
    • Severity 2 - Major

      Issue Summary

      Upgrading with Windows installer fails due to logon user change for Windows service

      Steps to Reproduce

      1. Install Confluence 7.1.0 or earlier with Windows installer
      2. Observe that the logon user for Windows service is Local System
      3. Upgrade to Confluence 7.1.1 or later with Windows installer

      Expected Results

      Upgrade should complete without any issues.

      Actual Results

      Upgrade does not run and logon user for Windows service is now Network Service. Upgrade fails due to user change.

      service.bat has hard coded in NetworkService account for user.

      service.bat
      "%EXECUTABLE%" //IS//%SERVICE_NAME% --ServiceUser "NT AUTHORITY\NetworkService" ^
      

      The change to Network Service was made to fix the vulnerability documented below:

      Solution

      For fresh installation or upgrades, the NT AUTHORITY\NetworkService will be granted the full permission for following folders:

      • Installation folder: C:\Program Files\Atlassian\Confluence
      • Application data folder: C:\Program Files\Atlassian\Application Data\Confluence

      Make sure the NT AUTHORITY\NetworkService account is configured on your Windows Server.

        1. workaround.png
          workaround.png
          654 kB
        2. network_service.png
          network_service.png
          1.14 MB
        3. local_system.png
          local_system.png
          1.06 MB

            Assignee:
            Minh Tran
            Reporter:
            MichaelD
            Votes:
            1 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: