Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependency failed to start: container mongo is unhealthy #215

Open
oanhcuongdo opened this issue Feb 5, 2024 · 2 comments
Open

dependency failed to start: container mongo is unhealthy #215

oanhcuongdo opened this issue Feb 5, 2024 · 2 comments

Comments

@oanhcuongdo
Copy link

I got this error with setup on Ubuntu 22.04, please help me fix:
mongo | {"t":{"$date":"2024-02-05T17:23:54.197+00:00"},"s":"I", "c":"STORAGE", "id":22315, "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=47708M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),builtin_extension_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress,compact_progress],"}}
mongo | {"t":{"$date":"2024-02-05T17:23:55.004+00:00"},"s":"E", "c":"STORAGE", "id":22435, "ctx":"initandlisten","msg":"WiredTiger error","attr":{"error":1,"message":"[1707153835:4279][1:0x7f7a31cd7c80], file:WiredTiger.wt, connection: __posix_open_file, 815: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted"}}
mongo | {"t":{"$date":"2024-02-05T17:23:55.011+00:00"},"s":"E", "c":"STORAGE", "id":22435, "ctx":"initandlisten","msg":"WiredTiger error","attr":{"error":1,"message":"[1707153835:11365][1:0x7f7a31cd7c80], file:WiredTiger.wt, connection: __posix_open_file, 815: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted"}}
mongo | {"t":{"$date":"2024-02-05T17:23:55.017+00:00"},"s":"E", "c":"STORAGE", "id":22435, "ctx":"initandlisten","msg":"WiredTiger error","attr":{"error":1,"message":"[1707153835:17592][1:0x7f7a31cd7c80], file:WiredTiger.wt, connection: __posix_open_file, 815: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted"}}
mongo | {"t":{"$date":"2024-02-05T17:23:55.018+00:00"},"s":"W", "c":"STORAGE", "id":22347, "ctx":"initandlisten","msg":"Failed to start up WiredTiger under any compatibility version. This may be due to an unsupported upgrade or downgrade."}
mongo | {"t":{"$date":"2024-02-05T17:23:55.018+00:00"},"s":"F", "c":"STORAGE", "id":28595, "ctx":"initandlisten","msg":"Terminating.","attr":{"reason":"1: Operation not permitted"}}
mongo | {"t":{"$date":"2024-02-05T17:23:55.018+00:00"},"s":"F", "c":"-", "id":23091, "ctx":"initandlisten","msg":"Fatal assertion","attr":{"msgid":28595,"file":"src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp","line":689}}
mongo | {"t":{"$date":"2024-02-05T17:23:55.018+00:00"},"s":"F", "c":"-", "id":23092, "ctx":"initandlisten","msg":"\n\n***aborting after fassert() failure\n\n"}

@codydunne
Copy link

I had this issue running Ubuntu on Win 11 WSL, but fixed it by creating config/docker-compose.override.yml per
https://github.com/overleaf/toolkit/blob/master/doc/persistent-data.md#volumes

@pr3l14t0r
Copy link

I had this issue running Ubuntu on Win 11 WSL, but fixed it by creating config/docker-compose.override.yml per https://github.com/overleaf/toolkit/blob/master/doc/persistent-data.md#volumes

Thank you, that helped me as well. Had the same issue running WSL2 on Win11...
@oanhcuongdo just create the file as described in the link and run bin/up again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants