Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-8656

[Windows] couchbase-cli can't find babysitter.cookie or babysitter.node

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: User Error
    • Cheshire-Cat
    • None
    • tools
    • None
    • 1

    Description

      On Windows I'm running 7.0 RC4 and am trying to use the master-password feature. On Windows this isn't working as couchbase-cli (cbmgr.py) looks for the cookie file with this:

                  cookiefile = os.path.join(opts.config_path, "couchbase-server.babysitter.cookie")
                  if not os.path.isfile(cookiefile):
                      _exit_if_errors(["The node is down"])
      

      and the node file with:

                  nodefile = os.path.join(opts.config_path, "couchbase-server.babysitter.node")
      

      But the files are actually named:

      C:\Program Files\Couchbase\Server\var\lib\couchbase>dir
       Volume in drive C has no label.
       Volume Serial Number is A8A4-C362
       
       Directory of C:\Program Files\Couchbase\Server\var\lib\couchbase
       
      06/15/2021  09:49 AM    <DIR>          .
      06/15/2021  09:49 AM    <DIR>          ..
      06/15/2021  09:26 AM    <DIR>          config
      06/15/2021  09:01 AM                65 couchbase-server.cookie
      06/15/2021  09:10 AM                15 couchbase-server.node
      

      I'm not sure if the packaging/installation on Windows is using the wrong names and should change...or if the installation conforms to some guidelines and cbmgr.py should have OS-specific code.

      Attachments

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

        Activity

          Damn. I meant this to be a code issue not a doc issue. Will redo.

          steve.watanabe Steve Watanabe added a comment - Damn. I meant this to be a code issue not a doc issue. Will redo.

          People

            pvarley Patrick Varley
            steve.watanabe Steve Watanabe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty