Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-40963

Windows installer does not update Windows service during upgrade

    XMLWordPrintable

Details

    Description

      Problem Definition

      When upgrading Confluence to a version with an updated Tomcat version, the installer does not update the Windows service. The customers have to update the service via the registry or service.bat.

      Suggested Solution

      Update the installer so it reinstalls the service.

      Workaround 1

      Remove and reinstall via service.bat as in this document:
      https://confluence.atlassian.com/doc/start-confluence-automatically-on-windows-as-a-service-172071.html

      Workaround 2

      Incorrectly modifying the Windows Registry could leave your Windows computer inoperable - always ensure that you have a backup of your registry before making any changes.

      1. Start -> Run -> Type "regedit.exe" and click OK
      2. Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services and look for the key that starts with "Confluence"
        • In one instance, the key was labelled as Confluence01051465235
      3. Double click the "ImagePath" value
      4. In the text box, replace tomcat7.exe with tomcat8.exe. For example:
      "C:\Program Files\Atlassian\Confluence\bin\tomcat7.exe" //RS//Confluence010514165235
      

      becomes

      "C:\Program Files\Atlassian\Confluence\bin\tomcat8.exe" //RS//Confluence010514165235

      Attempt to restart Confluence via services.msc - it should start up correctly. Note that you may need to refresh the Services snap-in so that it picks up the new value from the registry.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aworley Ann Worley (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: