Skip to content
Discussion options

You must be logged in to vote

I am running podman on Windows and had the same MongoDB error:

"category_id":12,"verbose_level":"ERROR","verbose_level_id":-3,
"msg":"__posix_open_file:924:/data/db/WiredTiger.wt: handle-open: open",
"error_str":"Operation not permitted","error_code":1

Its reproducible independent of LibreChat:

podman run -d -v ./dn:/data/db mongo mongod --noauth

This summary about podman-mongodb helped me understand the situation better. So I was able to make mongodb work with --userns keep-id:

podman run -d --name self_mongodb --userns keep-id -v ./dn:/data/db mongo mongod --noauth

I added this to the docker-compose.override.yml:

services:
  mongodb:
    userns_mode: "keep-id"

Unfortunately now LibreCh…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@james-williams0
Comment options

@fuegovic
Comment options

@fuegovic
Comment options

@lam584
Comment options

@james-williams0
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by danny-avila
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓ question Further information is requested
4 participants
Converted from issue

This discussion was converted from issue #2052 on March 10, 2024 13:42.