-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
"User database does not exist", but first-time setup is successful! #1354
Comments
So CouchDB is no longer a single node to operate? But that contradicts the documentation? Ask for something more specific... |
Yes you can run it in single node mode, but you have to create the _users and _replicator databases yourself. The Docker image works both in single node and cluster mode, which is why the final configuration is up to you. |
yes and was I written in the title? I have created all databases by hand but the error messages persist. In the Fauxton App I also see all the databases and after a reboot, they are still available.
When I verify the installation, all the tests are successful, yet after the successful feedback I get an "Error: undef". Please help me with the debugging, I try today to bring the whole day couch to run, but all Issuse or instructions are not helpful! |
You're using the wrong port if you can see _dbs as the database. Do not use port 5986 for anything other than what the documentation specifically tells you to do. Use port 5984 exclusively. Here is what I see locally when starting from scratch. In one window:
In another window, after startup:
In the first window, the errors stop as soon as I complete the above:
and then silence until I start my next command. |
In situations where the chttpd authenticaion db (usually named "_users") does not get created, or gets deleted, the auth cache still attempts to start the change listener, which results in notice and error level logs in the system like: [notice] 2018-12-03T22:04:44.299392Z node1@127.0.0.1 <0.374.0> -------- chttpd_auth_cache changes listener died database_does_not_exist at mem3_shards:load_shards_from_db/6(line:395) <= mem3_shards:load_shards_from_disk/1(line:370) <= mem3_shards:load_shards_from_disk/2(line:399) <= mem3_shards:for_docid/3(line:86) <= fabric_doc_open:go/3(line:39) <= chttpd_auth_cache:ensure_auth_ddoc_exists/2(line:195) <= chttpd_auth_cache:listen_for_changes/1(line:142) [error] 2018-12-03T22:04:44.299585Z node1@127.0.0.1 emulator -------- Error in process <0.3180.0> on node 'node1@127.0.0.1' with exit value: {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,395}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,370}]},{mem3_shards,load_shards_from_disk,2,[{file,"src/mem3_shards.erl"},{line,399}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,86}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,39}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,195}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,142}]}]} This changes the auth cache so that it • Only starts change listener if auth db exists • Only retains EndSeq if auth db still exists Fixes apache#1354 Fixes apache#1949
I want to use CouchDB in a single node docker environment. I also did the first-time setup, but the two messages stay permanently in the log.
The text was updated successfully, but these errors were encountered: