I'm working on a mac, downloaded the community edition for mac. Launched the app, and opened the admin console. So far so good, untill I logged out. Now I can't log in again since I've never had to set the password in the first place. It might have been set on a previous version a whole while back, but I'm not sure.
Reinstalling it doesn't work. I keep getting bounced back to the login screen.
Executing the following command as suggested in other posts and help online results in a crash of erlang
erl -noinput -eval 'case file:read_file("/Users/testuser/Couchbase Server.app/Contents/Resources/couchbase-core/var/lib/couchbase/config/config.dat") of {ok, B} -> io:format("~p~n", [binary_to_term(B)]) end.' -run init stop | grep cred
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
Any suggestions are welcome
I've been trying to put a new user in the admins section of the couchdb ini files, but they don't seem to take hold (password doesn't get hashed, which it should when these files are read)
There is a cbreset_password
script you can run, located in the /Contents/Resources/couchbase-core/bin
folder of you CouchBase server App
So for me it was in /Applications/Couchbase Server.app/Contents/Resources/couchbase-core/bin
Simply run it and you will be able to reset the password for the Administrator
account