Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.0.0
-
Triaged
-
1
-
Unknown
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
For Gerrit Dashboard: MB-46917 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
159913,4 | MB-46917: Use the same cookie file name on all platforms | master | voltron | Status: MERGED | +2 | +1 |