Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-31393

Windows Uninstaller can leave behind registry entries which blocks upgrade

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.5.0, 5.5.0
    • Fix Version/s: Mad-Hatter, 6.0.1
    • Component/s: installer
    • Labels:
    • Triage:
      Untriaged
    • Operating System:
      Windows 64-bit
    • Is this a Regression?:
      Unknown
    • Sprint:
      Build Team 2018 Sprint 21, Build Team 2018 Sprint 22, Build Team 2018 Sprint 24, Build Team 2018 Sprint 25, Build Team 2018 Sprint 26

      Description

      In some instances, the Windows Uninstaller will leave behind registry entries, even if the install steps are followed correctly. This then stops newer versions of Couchbase Server been installed on these machines.

      The known instance of this is 4.x installers (and possibly some newer ones) can leave behind ErlSrv registry entries. This causes the newer ErlSrv to fail to create the Windows service when installing a newer Couchbase Server.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

          Hide
          arunkumar Arunkumar Senthilnathan added a comment - - edited

          Steps:

          1. Install 4.x
          2. Export registry key (regedit -> HKLM -> software -> Ericsson -> Erlang -> ErlSrv -> 1.1 -> couchbaseserver)
          3. Uninstall 4.x
          4. Import registry key
          5. Install 6.0.1 -> install fails and rolls back

          Show
          arunkumar Arunkumar Senthilnathan added a comment - - edited Steps: 1. Install 4.x 2. Export registry key (regedit -> HKLM -> software -> Ericsson -> Erlang -> ErlSrv -> 1.1 -> couchbaseserver) 3. Uninstall 4.x 4. Import registry key 5. Install 6.0.1 -> install fails and rolls back
          Hide
          arunkumar Arunkumar Senthilnathan added a comment -

          Same behavior with 6.5 as well

          Show
          arunkumar Arunkumar Senthilnathan added a comment - Same behavior with 6.5 as well
          Hide
          mihir.kamdar Mihir Kamdar added a comment -

          Arunkumar Senthilnathan pls try it with the upgrade path as 5.x -> 6.0.1 and check if the issue still exists.

          Show
          mihir.kamdar Mihir Kamdar added a comment - Arunkumar Senthilnathan pls try it with the upgrade path as 5.x -> 6.0.1 and check if the issue still exists.
          Hide
          arunkumar Arunkumar Senthilnathan added a comment -

          The upgrade path really does not matter - we are inducing the failure by importing the reg key manually after uninstalling older version - so it should not matter - have given the box where i ran into this issue to Ceej to repro the issue

          Show
          arunkumar Arunkumar Senthilnathan added a comment - The upgrade path really does not matter - we are inducing the failure by importing the reg key manually after uninstalling older version - so it should not matter - have given the box where i ran into this issue to Ceej to repro the issue
          Hide
          wayne Wayne Siu added a comment -

          Chris Hillery
          Did you get a chance to try it on the QA box and see why the install failed and rolled back? Thanks.

          Show
          wayne Wayne Siu added a comment - Chris Hillery Did you get a chance to try it on the QA box and see why the install failed and rolled back? Thanks.

            People

            • Assignee:
              ceej Chris Hillery
              Reporter:
              tim.bradgate Tim Bradgate
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.