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

Windows: can't tell whether a hotfix has been applied

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.8.1, 2.0
    • Fix Version/s: 2.1.0
    • Component/s: build
    • Security Level: Public

      Description

      The logs here: http://pickup.citywire.co.uk/jsaid/rabbit04.zip

      Have been confirmed to have this hotfix but there is no indication in the logs that it has been applied.

        Issue Links

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

          Activity

          Hide
          farshid Farshid Ghods (Inactive) added a comment -

          dupe of MB-4840

          one way is to replace the manifest.xml file and also to have collect_info copy the HOTFIX.txt file

          Show
          farshid Farshid Ghods (Inactive) added a comment - dupe of MB-4840 one way is to replace the manifest.xml file and also to have collect_info copy the HOTFIX.txt file
          Hide
          perry Perry Krug added a comment -

          the HOTFIX.txt copying relies on the customer having actually copied it over when applied...which is not always guaranteed.

          Show
          perry Perry Krug added a comment - the HOTFIX.txt copying relies on the customer having actually copied it over when applied...which is not always guaranteed.
          Hide
          plabee Phil Labee (Inactive) added a comment - - edited

          Recommend running sc.exe or using installer capabilities to add Couchbase Server as a Windows Service:

          sc create "CouchbaseServer" binPath="c:\Program FilesCouchbase\Server\bin" DisplayName="Couchbase Server" type=own error=severe

          Then under

          HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CouchbaseServer

          we can have a folder called InstalledVersion with a subfolder named for the release (1.8.1, 2.0.2, etc.). Keys in this folder can used to keep track of installation history, like InstalledDate=XX/XX/XX, BuildNumber=n.n.n-mmm, Distribution=community|enterprise. Subfolders can be used to keep track of patch history, like

          InstalledVersion\<version>\InstalledDate, ...
          InstalledVersion\<version>\<patch-1-name>\InstalledDate, ...
          InstalledVersion\<version>\<patch-1-name>\<patch-2-name>\InstalledDate, ...

          with each folder containing keys InstalledDate, BuildNumber, Distribution, etc., as appropriate. We can even change the update script used to install the patches to check for Distribution=enterprise.

          Show
          plabee Phil Labee (Inactive) added a comment - - edited Recommend running sc.exe or using installer capabilities to add Couchbase Server as a Windows Service: sc create "CouchbaseServer" binPath="c:\Program FilesCouchbase\Server\bin" DisplayName="Couchbase Server" type=own error=severe Then under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CouchbaseServer we can have a folder called InstalledVersion with a subfolder named for the release (1.8.1, 2.0.2, etc.). Keys in this folder can used to keep track of installation history, like InstalledDate=XX/XX/XX, BuildNumber=n.n.n-mmm, Distribution=community|enterprise. Subfolders can be used to keep track of patch history, like InstalledVersion\<version>\InstalledDate, ... InstalledVersion\<version>\<patch-1-name>\InstalledDate, ... InstalledVersion\<version>\<patch-1-name>\<patch-2-name>\InstalledDate, ... with each folder containing keys InstalledDate, BuildNumber, Distribution, etc., as appropriate. We can even change the update script used to install the patches to check for Distribution=enterprise.
          Hide
          plabee Phil Labee (Inactive) added a comment -

          Removed dependency on CBD-847: Windows Service Integration

          Change recommendation to use an OS-independent solution.

          Will insert info into manifest.xml, which is echoed to log files which are reported to Customer Service.

          Show
          plabee Phil Labee (Inactive) added a comment - Removed dependency on CBD-847: Windows Service Integration Change recommendation to use an OS-independent solution. Will insert info into manifest.xml, which is echoed to log files which are reported to Customer Service.
          Hide
          plabee Phil Labee (Inactive) added a comment -

          Will be addressed by MB-7765

          Show
          plabee Phil Labee (Inactive) added a comment - Will be addressed by MB-7765
          Hide
          maria Maria McDuff (Inactive) added a comment -

          closing as dupes.

          Show
          maria Maria McDuff (Inactive) added a comment - closing as dupes.

            People

            • Assignee:
              plabee Phil Labee (Inactive)
              Reporter:
              perry Perry Krug
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes