hadrien-toma opened a new issue #18: nonode@nohost emulator - Error in process - badmatch,file_exists URL: https://github.com/apache/couchdb-docker/issues/18 <!--- Provide a general summary of the issue in the Title above --> ## Expected Behavior <!--- If you're describing a bug, tell us what should happen --> Should run without errors. <!--- If you're suggesting a change/improvement, tell us how it should work --> It should not display any error. ## Current Behavior <!--- If describing a bug, tell us what happens instead of the expected behavior --> This is the error I have: ```sh [error] 2017-06-08T15:35:12.074203Z nonode@nohost emulator -------- Error in process <0.453.0> with exit value: {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,327}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,315}]},{mem3_shards,load_shards_from_disk... [notice] 2017-06-08T15:35:12.074221Z nonode@nohost <0.326.0> -------- chttpd_auth_cache changes listener died database_does_not_exist at mem3_shards:load_shards_from_db/6(line:327) <= mem3_shards:load_shards_from_disk/1(line:315) <= mem3_shards:load_shards_from_disk/2(line:331) <= mem3_shards:for_docid/3(line:87) <= fabric_doc_open:go/3(line:38) <= chttpd_auth_cache:ensure_auth_ddoc_exists/2(line:187) <= chttpd_auth_cache:listen_for_changes/1(line:134) ``` This is the errors I have (if I don't kill the session, the error is sent again, periodically): ```sh Sending build context to Docker daemon 2.048 kB Step 1/1 : FROM klaemo/couchdb:latest ---> 6c468379efd7 Successfully built 6c468379efd7 **************************************************** WARNING: CouchDB is running in Admin Party mode. This will allow anyone with access to the CouchDB port to access your database. In Docker's default configuration, this is effectively any other container on the same system. Use "-e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password" to set it in "docker run". **************************************************** [info] 2017-06-08T15:35:06.543311Z nonode@nohost <0.7.0> -------- Application couch_log started on node nonode@nohost [info] 2017-06-08T15:35:06.546445Z nonode@nohost <0.7.0> -------- Application folsom started on node nonode@nohost [info] 2017-06-08T15:35:06.570096Z nonode@nohost <0.7.0> -------- Application couch_stats started on node nonode@nohost [info] 2017-06-08T15:35:06.570218Z nonode@nohost <0.7.0> -------- Application khash started on node nonode@nohost [info] 2017-06-08T15:35:06.575968Z nonode@nohost <0.7.0> -------- Application couch_event started on node nonode@nohost [info] 2017-06-08T15:35:06.579940Z nonode@nohost <0.7.0> -------- Application ibrowse started on node nonode@nohost [info] 2017-06-08T15:35:06.584794Z nonode@nohost <0.7.0> -------- Application ioq started on node nonode@nohost [info] 2017-06-08T15:35:06.584912Z nonode@nohost <0.7.0> -------- Application mochiweb started on node nonode@nohost [info] 2017-06-08T15:35:06.585044Z nonode@nohost <0.7.0> -------- Application oauth started on node nonode@nohost [info] 2017-06-08T15:35:06.590328Z nonode@nohost <0.198.0> -------- Apache CouchDB 2.0.0 is starting. [info] 2017-06-08T15:35:06.590426Z nonode@nohost <0.199.0> -------- Starting couch_sup [notice] 2017-06-08T15:35:06.612938Z nonode@nohost <0.82.0> -------- config: [couchdb] uuid set to f96ed349fe2dadb8cf94d1930922c19d for reason nil [info] 2017-06-08T15:35:06.653211Z nonode@nohost <0.204.0> -------- open_result error {not_found,no_db_file} for _users [info] 2017-06-08T15:35:06.801458Z nonode@nohost <0.198.0> -------- Apache CouchDB has started. Time to relax. [info] 2017-06-08T15:35:06.801554Z nonode@nohost <0.198.0> -------- Apache CouchDB has started on http://127.0.0.1:5986/ [info] 2017-06-08T15:35:06.801681Z nonode@nohost <0.7.0> -------- Application couch started on node nonode@nohost [info] 2017-06-08T15:35:06.801795Z nonode@nohost <0.7.0> -------- Application ets_lru started on node nonode@nohost [info] 2017-06-08T15:35:06.809430Z nonode@nohost <0.7.0> -------- Application rexi started on node nonode@nohost [info] 2017-06-08T15:35:06.816768Z nonode@nohost <0.204.0> -------- open_result error {not_found,no_db_file} for _nodes [info] 2017-06-08T15:35:06.946890Z nonode@nohost <0.204.0> -------- open_result error {not_found,no_db_file} for _dbs [error] 2017-06-08T15:35:06.947043Z nonode@nohost emulator -------- Error in process <0.286.0> with exit value: {{badmatch,file_exists},[{mem3_shards,fold,2,[{file,"src/mem3_shards.erl"},{line,156}]},{mem3_sync,initial_sync,1,[{file,"src/mem3_sync.erl"},{line,241}]}]} [info] 2017-06-08T15:35:06.980709Z nonode@nohost <0.7.0> -------- Application mem3 started on node nonode@nohost [info] 2017-06-08T15:35:06.980741Z nonode@nohost <0.7.0> -------- Application fabric started on node nonode@nohost [info] 2017-06-08T15:35:07.068420Z nonode@nohost <0.7.0> -------- Application chttpd started on node nonode@nohost [error] 2017-06-08T15:35:07.073588Z nonode@nohost emulator -------- Error in process <0.327.0> with exit value: {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,327}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,315}]},{mem3_shards,load_shards_from_disk... [notice] 2017-06-08T15:35:07.073641Z nonode@nohost <0.326.0> -------- chttpd_auth_cache changes listener died database_does_not_exist at mem3_shards:load_shards_from_db/6(line:327) <= mem3_shards:load_shards_from_disk/1(line:315) <= mem3_shards:load_shards_from_disk/2(line:331) <= mem3_shards:for_docid/3(line:87) <= fabric_doc_open:go/3(line:38) <= chttpd_auth_cache:ensure_auth_ddoc_exists/2(line:187) <= chttpd_auth_cache:listen_for_changes/1(line:134) [info] 2017-06-08T15:35:07.075275Z nonode@nohost <0.7.0> -------- Application couch_index started on node nonode@nohost [info] 2017-06-08T15:35:07.075308Z nonode@nohost <0.7.0> -------- Application couch_mrview started on node nonode@nohost [info] 2017-06-08T15:35:07.075381Z nonode@nohost <0.7.0> -------- Application couch_plugins started on node nonode@nohost [info] 2017-06-08T15:35:07.081355Z nonode@nohost <0.204.0> -------- open_result error {not_found,no_db_file} for _replicator [notice] 2017-06-08T15:35:07.145762Z nonode@nohost <0.345.0> -------- creating replicator ddoc [info] 2017-06-08T15:35:07.206382Z nonode@nohost <0.7.0> -------- Application couch_replicator started on node nonode@nohost [info] 2017-06-08T15:35:07.206463Z nonode@nohost <0.7.0> -------- Application couch_peruser started on node nonode@nohost [info] 2017-06-08T15:35:07.209514Z nonode@nohost <0.7.0> -------- Application ddoc_cache started on node nonode@nohost [info] 2017-06-08T15:35:07.217656Z nonode@nohost <0.7.0> -------- Application global_changes started on node nonode@nohost [info] 2017-06-08T15:35:07.217679Z nonode@nohost <0.7.0> -------- Application jiffy started on node nonode@nohost [info] 2017-06-08T15:35:07.221296Z nonode@nohost <0.7.0> -------- Application mango started on node nonode@nohost [info] 2017-06-08T15:35:07.224575Z nonode@nohost <0.7.0> -------- Application setup started on node nonode@nohost [info] 2017-06-08T15:35:07.224605Z nonode@nohost <0.7.0> -------- Application snappy started on node nonode@nohost [error] 2017-06-08T15:35:12.074203Z nonode@nohost emulator -------- Error in process <0.453.0> with exit value: {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,327}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,315}]},{mem3_shards,load_shards_from_disk... [notice] 2017-06-08T15:35:12.074221Z nonode@nohost <0.326.0> -------- chttpd_auth_cache changes listener died database_does_not_exist at mem3_shards:load_shards_from_db/6(line:327) <= mem3_shards:load_shards_from_disk/1(line:315) <= mem3_shards:load_shards_from_disk/2(line:331) <= mem3_shards:for_docid/3(line:87) <= fabric_doc_open:go/3(line:38) <= chttpd_auth_cache:ensure_auth_ddoc_exists/2(line:187) <= chttpd_auth_cache:listen_for_changes/1(line:134) [error] 2017-06-08T15:35:17.075150Z nonode@nohost emulator -------- Error in process <0.550.0> with exit value: {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,327}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,315}]},{mem3_shards,load_shards_from_disk... [notice] 2017-06-08T15:35:17.075176Z nonode@nohost <0.326.0> -------- chttpd_auth_cache changes listener died database_does_not_exist at mem3_shards:load_shards_from_db/6(line:327) <= mem3_shards:load_shards_from_disk/1(line:315) <= mem3_shards:load_shards_from_disk/2(line:331) <= mem3_shards:for_docid/3(line:87) <= fabric_doc_open:go/3(line:38) <= chttpd_auth_cache:ensure_auth_ddoc_exists/2(line:187) <= chttpd_auth_cache:listen_for_changes/1(line:134) ^C[os_mon] cpu supervisor port (cpu_sup): Erlang has closed [os_mon] memory supervisor port (memsup): Erlang has closed ``` <!--- If suggesting a change/improvement, explain the difference from current behavior --> ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> <!--- or ideas how to implement the addition or change --> ## Steps to Reproduce (for bugs) <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1. Create this Dockerfile: ``` FROM klaemo/couchdb:latest ``` 2. Run these commands: ```sh sudo docker build -t mycouchdb . sudo docker run -p 5984:5984 -v `pwd`:/opt/couchdb/data mycouchdb ``` ## Context <!--- How has this issue affected you? What are you trying to accomplish? --> I am trying to use this `couchdb-docker:latest` image without errors. <!--- Providing context helps us come up with a solution that is most useful in the real world --> ## Your Environment <!--- Include as many relevant details about the environment you experienced the bug in --> * Version used: `latest` * Browser Name and version: Any browser is needed to experience this error. * Operating System and version (desktop or mobile): * `uname -srvpo`: ```sh Linux 4.4.0-78-generic #99~14.04.2-Ubuntu SMP Thu Apr 27 18:49:46 UTC 2017 x86_64 GNU/Linux ``` * `cat /etc/lsb-release`: ```sh DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS" ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
