mrbryo opened a new issue, #292:
URL: https://github.com/apache/couchdb-docker/issues/292

   Hello, attempting to setup my own docker with apache/couchdb:latest.
   
   My repository: https://github.com/mrbryo/CouchDB-Obsidian-Sync
   Deployed Docker: ghcr.io/mrbryo/couchdb-obsidian-sync
   
   You will see, if you look at the history of the repo, I've tried all sorts 
of things. I am new to creating my own docker images. I simply can't get the 
container to run.
   
   Logs:
   ```
   grep: /opt/couchdb/etc/local.ini: No such file or directory
   grep: /opt/couchdb/etc/default.d/*.ini: No such file or directory
   [info] 2026-07-31T04:13:15.171094Z nonode@nohost <0.224.0> -------- 
Preflight check: Checking For Monsters
   
   [info] 2026-07-31T04:13:15.173503Z nonode@nohost <0.224.0> -------- 
Preflight check: Asserting Admin Account
   
   [info] 2026-07-31T04:13:15.175908Z nonode@nohost <0.224.0> -------- Apache 
CouchDB 3.5.2 is starting.
   
   [info] 2026-07-31T04:13:15.175937Z nonode@nohost <0.225.0> -------- Starting 
couch_sup
   [info] 2026-07-31T04:13:15.221820Z nonode@nohost <0.224.0> -------- Apache 
CouchDB has started. Time to relax.
   
   [info] 2026-07-31T04:13:15.226645Z nonode@nohost <0.356.0> -------- 
rexi_server : started servers
   [info] 2026-07-31T04:13:15.227536Z nonode@nohost <0.360.0> -------- 
rexi_buffer : started servers
   [info] 2026-07-31T04:13:15.250265Z nonode@nohost <0.369.0> -------- 
open_result error {not_found,no_db_file} for _nodes
   [warning] 2026-07-31T04:13:15.250274Z nonode@nohost <0.368.0> -------- 
creating missing database: _nodes
   [notice] 2026-07-31T04:13:15.336959Z nonode@nohost <0.124.0> -------- 
config: [admins] admin set to '****' for reason nil
   [info] 2026-07-31T04:13:15.508786Z nonode@nohost <0.384.0> -------- 
open_result error {not_found,no_db_file} for _dbs
   [warning] 2026-07-31T04:13:15.508789Z nonode@nohost <0.382.0> -------- 
creating missing database: _dbs
   [notice] 2026-07-31T04:13:15.612924Z nonode@nohost <0.404.0> -------- 
mem3_reshard start init()
   [notice] 2026-07-31T04:13:15.613001Z nonode@nohost <0.405.0> -------- 
mem3_reshard db monitor <0.405.0> starting
   [notice] 2026-07-31T04:13:15.614970Z nonode@nohost <0.404.0> -------- 
mem3_reshard starting reloading jobs
   [notice] 2026-07-31T04:13:15.615049Z nonode@nohost <0.404.0> -------- 
mem3_reshard finished reloading jobs
   [info] 2026-07-31T04:13:15.635490Z nonode@nohost <0.411.0> -------- Apache 
CouchDB has started. Time to relax.
   
   [info] 2026-07-31T04:13:15.635535Z nonode@nohost <0.411.0> -------- Apache 
CouchDB has started on http://undefined:5984/
   [notice] 2026-07-31T04:13:15.637220Z nonode@nohost <0.451.0> -------- 
chttpd_auth_cache changes listener died because the _users database does not 
exist. Create the database to silence this notice.
   [error] 2026-07-31T04:13:15.637317Z nonode@nohost emulator -------- Error in 
process <0.452.0> with exit value:
   
{database_does_not_exist,[{mem3_shards,load_from_db,[<<"_users">>],[{file,"src/mem3_shards.erl"},{line,463}]},{mem3_shards,load_opts_from_disk,1,[{file,"src/mem3_shards.erl"},{line,436}]},{mem3,props,1,[{file,"src/mem3.erl"},{line,122}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,89}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,38}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,210}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,156}]}]}
   
   [error] 2026-07-31T04:13:15.637353Z nonode@nohost emulator -------- Error in 
process <0.452.0> with exit value:
   
{database_does_not_exist,[{mem3_shards,load_from_db,[<<"_users">>],[{file,"src/mem3_shards.erl"},{line,463}]},{mem3_shards,load_opts_from_disk,1,[{file,"src/mem3_shards.erl"},{line,436}]},{mem3,props,1,[{file,"src/mem3.erl"},{line,122}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,89}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,38}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,210}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,156}]}]}
   
   [info] 2026-07-31T04:13:15.699029Z nonode@nohost <0.471.0> -------- 
couch_replicator_utils : loaded 150 os ca certificates
   [debug] 2026-07-31T04:13:15.710308Z nonode@nohost <0.484.0> -------- 
peruser: starting on node nonode@nohost in pid <0.484.0>
   [debug] 2026-07-31T04:13:15.710335Z nonode@nohost <0.484.0> -------- 
peruser: disabled on node nonode@nohost
   [notice] 2026-07-31T04:13:15.716959Z nonode@nohost <0.494.0> -------- 
Missing system database _users
   [notice] 2026-07-31T04:13:15.747508Z nonode@nohost <0.124.0> -------- 
config: [couchdb] uuid set to dc428b4b9db7d61605961754bc65eec9 for reason nil
   [os_mon] memory supervisor port (memsup): Erlang has closed
   [os_mon] cpu supervisor port (cpu_sup): Erlang has closed
   [2026-07-30 21:13:14 PDT] Applying configuration...
   [2026-07-30 21:13:14 PDT] Starting CouchDB...
   Erlang/OTP 26 [erts-14.2.5.15] [source] [64-bit] [smp:16:16] [ds:16:16:10] 
[async-threads:1] [jit:ns]
   
   =INFO REPORT==== 30-Jul-2026::21:13:14.895195 ===
       alarm_handler: {set,{system_memory_high_watermark,[]}}
   Configuration Settings:
     [admins] admin="ObsidianRules!"
     [chttpd] max_http_request_size="4294967296"
     [chttpd_auth] authentication_redirect="/_utils/session.html"
     [chttpd_auth] secret="SOMESUPERCOOLSECRETCODE?"
     [cluster] n="1"
     [cluster] q="1"
     [cluster] r="1"
     [cluster] w="1"
     [cors] credentials="true"
     [cors] headers="accept, authorization, content-type, origin, referer"
     [cors] max_age="3600"
     [cors] methods="GET, PUT, POST, HEAD, DELETE"
     [cors] 
origins="app://obsidian.md,capacitor://localhost,http://localhost,https://localhost";
     [couchdb] database_dir="/opt/couchdb/data"
     [couchdb] max_document_size="50000000"
     [couchdb] single_node="true"
     [httpd] WWW-Authenticate="Basic realm=\"CouchDB\""
     [httpd] enable_cors="true"
     [log] level="debug"
     [log] writer="stderr"
   =ERROR REPORT==== 30-Jul-2026::21:13:15.637178 ===
   Error in process <0.452.0> with exit value:
   {database_does_not_exist,
       [{mem3_shards,load_from_db,
            [<<"_users">>],
            [{file,"src/mem3_shards.erl"},{line,463}]},
        {mem3_shards,load_opts_from_disk,1,
            [{file,"src/mem3_shards.erl"},{line,436}]},
        {mem3,props,1,[{file,"src/mem3.erl"},{line,122}]},
        {mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,89}]},
        {fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,38}]},
        {chttpd_auth_cache,ensure_auth_ddoc_exists,2,
            [{file,"src/chttpd_auth_cache.erl"},{line,210}]},
        {chttpd_auth_cache,listen_for_changes,1,
            [{file,"src/chttpd_auth_cache.erl"},{line,156}]}]}
   
   Eshell V14.2.5.15 (press Ctrl+G to abort, type help(). for help)
   1> *** Terminating erlang (nonode@nohost)
   
   ** Press ANY KEY to close this window ** 
   ```
   I start the instance again, it goes to status stopped and the log is little 
different:
   ```
   [info] 2026-07-31T04:13:15.635490Z nonode@nohost <0.411.0> -------- Apache 
CouchDB has started. Time to relax.
   
   [info] 2026-07-31T04:13:15.635535Z nonode@nohost <0.411.0> -------- Apache 
CouchDB has started on http://undefined:5984/
   [notice] 2026-07-31T04:13:15.637220Z nonode@nohost <0.451.0> -------- 
chttpd_auth_cache changes listener died because the _users database does not 
exist. Create the database to silence this notice.
   [error] 2026-07-31T04:13:15.637317Z nonode@nohost emulator -------- Error in 
process <0.452.0> with exit value:
   
{database_does_not_exist,[{mem3_shards,load_from_db,[<<"_users">>],[{file,"src/mem3_shards.erl"},{line,463}]},{mem3_shards,load_opts_from_disk,1,[{file,"src/mem3_shards.erl"},{line,436}]},{mem3,props,1,[{file,"src/mem3.erl"},{line,122}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,89}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,38}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,210}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,156}]}]}
   
   [error] 2026-07-31T04:13:15.637353Z nonode@nohost emulator -------- Error in 
process <0.452.0> with exit value:
   
{database_does_not_exist,[{mem3_shards,load_from_db,[<<"_users">>],[{file,"src/mem3_shards.erl"},{line,463}]},{mem3_shards,load_opts_from_disk,1,[{file,"src/mem3_shards.erl"},{line,436}]},{mem3,props,1,[{file,"src/mem3.erl"},{line,122}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,89}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,38}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,210}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,156}]}]}
   
   [info] 2026-07-31T04:13:15.699029Z nonode@nohost <0.471.0> -------- 
couch_replicator_utils : loaded 150 os ca certificates
   [debug] 2026-07-31T04:13:15.710308Z nonode@nohost <0.484.0> -------- 
peruser: starting on node nonode@nohost in pid <0.484.0>
   [debug] 2026-07-31T04:13:15.710335Z nonode@nohost <0.484.0> -------- 
peruser: disabled on node nonode@nohost
   [notice] 2026-07-31T04:13:15.716959Z nonode@nohost <0.494.0> -------- 
Missing system database _users
   [notice] 2026-07-31T04:13:15.747508Z nonode@nohost <0.124.0> -------- 
config: [couchdb] uuid set to dc428b4b9db7d61605961754bc65eec9 for reason nil
   [os_mon] memory supervisor port (memsup): Erlang has closed
   [os_mon] cpu supervisor port (cpu_sup): Erlang has closed
   grep: /opt/couchdb/etc/default.d/*.ini: No such file or directory
   [info] 2026-07-31T04:20:51.854454Z nonode@nohost <0.224.0> -------- 
Preflight check: Checking For Monsters
   
   [info] 2026-07-31T04:20:51.856824Z nonode@nohost <0.224.0> -------- 
Preflight check: Asserting Admin Account
   
   [info] 2026-07-31T04:20:51.859263Z nonode@nohost <0.224.0> -------- Apache 
CouchDB 3.5.2 is starting.
   
   [info] 2026-07-31T04:20:51.859313Z nonode@nohost <0.225.0> -------- Starting 
couch_sup
   [info] 2026-07-31T04:20:51.897861Z nonode@nohost <0.224.0> -------- Apache 
CouchDB has started. Time to relax.
   
   [info] 2026-07-31T04:20:51.901840Z nonode@nohost <0.356.0> -------- 
rexi_server : started servers
   [info] 2026-07-31T04:20:51.902602Z nonode@nohost <0.360.0> -------- 
rexi_buffer : started servers
   [notice] 2026-07-31T04:20:51.951927Z nonode@nohost <0.396.0> -------- 
mem3_reshard start init()
   [notice] 2026-07-31T04:20:51.951983Z nonode@nohost <0.397.0> -------- 
mem3_reshard db monitor <0.397.0> starting
   [notice] 2026-07-31T04:20:51.953758Z nonode@nohost <0.396.0> -------- 
mem3_reshard starting reloading jobs
   [notice] 2026-07-31T04:20:51.953823Z nonode@nohost <0.396.0> -------- 
mem3_reshard finished reloading jobs
   [info] 2026-07-31T04:20:51.972498Z nonode@nohost <0.403.0> -------- Apache 
CouchDB has started. Time to relax.
   
   [info] 2026-07-31T04:20:51.972552Z nonode@nohost <0.403.0> -------- Apache 
CouchDB has started on http://undefined:5984/
   [info] 2026-07-31T04:20:52.040523Z nonode@nohost <0.465.0> -------- 
couch_replicator_utils : loaded 150 os ca certificates
   [debug] 2026-07-31T04:20:52.052923Z nonode@nohost <0.486.0> -------- 
peruser: starting on node nonode@nohost in pid <0.486.0>
   [debug] 2026-07-31T04:20:52.052946Z nonode@nohost <0.486.0> -------- 
peruser: disabled on node nonode@nohost
   [notice] 2026-07-31T04:20:52.064075Z nonode@nohost <0.496.0> -------- All 
system databases exist.
   [os_mon] memory supervisor port (memsup): Erlang has closed
   [os_mon] cpu supervisor port (cpu_sup): Erlang has closed
   =ERROR REPORT==== 30-Jul-2026::21:13:15.637178 ===
   Error in process <0.452.0> with exit value:
   {database_does_not_exist,
       [{mem3_shards,load_from_db,
            [<<"_users">>],
            [{file,"src/mem3_shards.erl"},{line,463}]},
        {mem3_shards,load_opts_from_disk,1,
            [{file,"src/mem3_shards.erl"},{line,436}]},
        {mem3,props,1,[{file,"src/mem3.erl"},{line,122}]},
        {mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,89}]},
        {fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,38}]},
        {chttpd_auth_cache,ensure_auth_ddoc_exists,2,
            [{file,"src/chttpd_auth_cache.erl"},{line,210}]},
        {chttpd_auth_cache,listen_for_changes,1,
            [{file,"src/chttpd_auth_cache.erl"},{line,156}]}]}
   
   Eshell V14.2.5.15 (press Ctrl+G to abort, type help(). for help)
   1> *** Terminating erlang (nonode@nohost)
   [2026-07-30 21:20:51 PDT] Applying configuration...
   [2026-07-30 21:20:51 PDT] Starting CouchDB...
   Erlang/OTP 26 [erts-14.2.5.15] [source] [64-bit] [smp:16:16] [ds:16:16:10] 
[async-threads:1] [jit:ns]
   
   =INFO REPORT==== 30-Jul-2026::21:20:51.586187 ===
       alarm_handler: {set,{system_memory_high_watermark,[]}}
   Configuration Settings:
     [admins] 
admin="-pbkdf2:sha256-d8d8295b194d61552924142a15772e9c2f60f1caad2bf4b308a45061c6bb13a3,c8aa422957d07ab32a7fea28d64cf15a,600000"
     [chttpd] max_http_request_size="4294967296"
     [chttpd_auth] authentication_redirect="/_utils/session.html"
     [chttpd_auth] secret="SOMESUPERCOOLSECRETCODE?"
     [cluster] n="1"
     [cluster] q="1"
     [cluster] r="1"
     [cluster] w="1"
     [cors] credentials="true"
     [cors] headers="accept, authorization, content-type, origin, referer"
     [cors] max_age="3600"
     [cors] methods="GET, PUT, POST, HEAD, DELETE"
     [cors] 
origins="app://obsidian.md,capacitor://localhost,http://localhost,https://localhost";
     [couchdb] database_dir="/opt/couchdb/data"
     [couchdb] max_document_size="50000000"
     [couchdb] single_node="true"
     [couchdb] uuid="dc428b4b9db7d61605961754bc65eec9"
     [httpd] WWW-Authenticate="Basic realm=\"CouchDB\""
     [httpd] enable_cors="true"
     [log] level="debug"
     [log] writer="stderr"
   Eshell V14.2.5.15 (press Ctrl+G to abort, type help(). for help)
   1> *** Terminating erlang (nonode@nohost)
   
   ** Press ANY KEY to close this window ** 
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to