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

Couchbase Server Community Edition installer fails on Windows 10

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 7.0.1
    • None
    • installer
    • Security Level: Public
    • None
    • Windows 10 installed on Lenovo Thinkpad X1 Extreme (2nd Gen) work laptop. Python 3.9 is installed, via the python.org website, as well as pypy.

    Description

      As part of onboarding, I tried installing Couchbase Server Community Edition 7.0.1-6102 on my Windows 10 work laptop. I downloaded the 64-bit MSI installer from the Couchbase website (https://www.couchbase.com/downloads) and ran it. It failed and rolled back, seemingly at the step where it is installing Python 3. I collected a log using msiexec and have linked it in this ticket (its a Google Drive link, from my Couchbase Drive). The problem is very easily reproducible - every time the installer is ran, it fails at the same point.

      Attachments

        Issue Links

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

          Activity

            This is a duplicate of MB-47806. It's fixed in 7.0.2 and later. For 7.0.0 and 7.0.1, I crafted the following release note:

            When installing Couchbase Server on Windows, you must be logged into an account with Administrator privileges.

            For Couchbase Server 7.0.1 and earlier: if you are logged in to an account other than the built-in Administrator account, you will receive an error during installation if you attempt to install into a directory under C:\Program Files. Please change the installation directory to something under your user's home directory.

            If you must install into C:\Program Files, and cannot log in to the built-in Administrator account (this account is disabled by default on Windows 10), the work-around is to take the following steps:

            1. Click the Start button and type "cmd".
            2. Right-click on "Command Prompt" and select "Run as administrator".
            3. At the command prompt, cd into the directory with the downloaded .msi and type call couchbase-server-enterprise_7.0.0-windows_amd64.msi .
            ceej Chris Hillery added a comment - This is a duplicate of MB-47806 . It's fixed in 7.0.2 and later. For 7.0.0 and 7.0.1, I crafted the following release note: When installing Couchbase Server on Windows, you must be logged into an account with Administrator privileges. For Couchbase Server 7.0.1 and earlier:  if you are logged in to an account other than the built-in Administrator account, you will receive an error during installation if you attempt to install into a directory under C:\Program Files. Please change the installation directory to something under your user's home directory. If you must install into C:\Program Files, and cannot log in to the built-in Administrator account (this account is disabled by default on Windows 10), the work-around is to take the following steps: Click the Start button and type "cmd". Right-click on "Command Prompt" and select "Run as administrator". At the command prompt, cd into the directory with the downloaded .msi and type  call couchbase-server-enterprise_7.0.0-windows_amd64.msi  .

            (Thank you for a thorough and detailed bug report!)

            ceej Chris Hillery added a comment - (Thank you for a thorough and detailed bug report!)
            Daniel.nagy Daniel Nagy added a comment -

            Ah, thanks Chris - that did the trick. Apologies for the duplicate, I'll check for duplicates next time I may need to make a ticket.

            Daniel.nagy Daniel Nagy added a comment - Ah, thanks Chris - that did the trick. Apologies for the duplicate, I'll check for duplicates next time I may need to make a ticket.
            Daniel.nagy Daniel Nagy added a comment -

            If I wanted to verify on my machine that this issue is fixed in 7.0.2, how would I go about getting the installer for the unreleased version?

            Daniel.nagy Daniel Nagy added a comment - If I wanted to verify on my machine that this issue is fixed in 7.0.2, how would I go about getting the installer for the unreleased version?
            Daniel.nagy Daniel Nagy added a comment -

            Thanks for showing me Chris, I'll give it a go!

            Daniel.nagy Daniel Nagy added a comment - Thanks for showing me Chris, I'll give it a go!
            Daniel.nagy Daniel Nagy added a comment -

            Verified that issue is resolved in v7.0.2-6680 installer for Windows 10.

            Daniel.nagy Daniel Nagy added a comment - Verified that issue is resolved in v7.0.2-6680 installer for Windows 10.

            People

              Daniel.nagy Daniel Nagy
              Daniel.nagy Daniel Nagy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty