Hi all,
Environment is:
Problem:
One day, without any reason or change, CouchDB container failed to start. It keeps restarting constantly.
"Docker ps -a" shows this:
20028208f4eb 127.0.0.1:5000/planninganalytics/couchdb-init:1.0.806-ltsc2016 "C:\\entrypoint.cmd p…" 6 weeks ago Exited (4294967295) 7 days ago couchdb-init
af972e9a6e54 127.0.0.1:5000/planninganalytics/couchdb:174-ltsc2016 "C:\\entrypoint.cmd C…" 6 weeks ago Restarting (0) 10 seconds ago couchdb
Nothing useful in couchdb.log:
[info] 2024-03-18T07:39:58.068000Z couchdb@localhost <0.202.0> -------- Starting couch_sup
[info] 2024-03-18T07:40:29.603000Z couchdb@localhost <0.7.0> -------- Application couch_log started on node couchdb@localhost
[info] 2024-03-18T07:40:29.638000Z couchdb@localhost <0.7.0> -------- Application folsom started on node couchdb@localhost
[info] 2024-03-18T07:40:30.422000Z couchdb@localhost <0.7.0> -------- Application couch_stats started on node couchdb@localhost
[info] 2024-03-18T07:40:30.422000Z couchdb@localhost <0.7.0> -------- Application khash started on node couchdb@localhost
[info] 2024-03-18T07:40:30.613000Z couchdb@localhost <0.7.0> -------- Application couch_event started on node couchdb@localhost
[info] 2024-03-18T07:40:30.637000Z couchdb@localhost <0.7.0> -------- Application ibrowse started on node couchdb@localhost
[info] 2024-03-18T07:40:30.701000Z couchdb@localhost <0.7.0> -------- Application ioq started on node couchdb@localhost
[info] 2024-03-18T07:40:30.701000Z couchdb@localhost <0.7.0> -------- Application mochiweb started on node couchdb@localhost
[info] 2024-03-18T07:40:30.701000Z couchdb@localhost <0.7.0> -------- Application oauth started on node couchdb@localhost
[info] 2024-03-18T07:40:30.840000Z couchdb@localhost <0.201.0> -------- Apache CouchDB 2.0.0 is starting.
"docker logs couchdb" shows this:
Invoking startup script C:\startup\MoveHosts.cmd
Starting the main application
kernel-poll not supported; "K" parameter ignored
[os_mon] win32 supervisor port (win32sysinfo): Erlang has closed
C:\CouchDB>Invoking startup script C:\startup\HealthCheck.cmd
Invoking startup script C:\startup\MoveHosts.cmd
What can be the reason and how it can be fixed?
------------------------------
Alexander Dvoinev
------------------------------