Skip to content
Discussion options

You must be logged in to vote

For people with docker setup here is a step by step:

  1. edit docker-compose.override.yml to pull image with version 8.0
  mongodb:
    image: mongo:8.0

Then restart docker compose

docker compose down
docker compose up -d
  1. check that you have v7 feature compatibility:
$ docker exec -it librechat-mongodb mongosh --eval "db.adminCommand({ getParameter: 1, featureCompatibilityVersion: 1 })"
{ featureCompatibilityVersion: { version: '7.0' }, ok: 1 }
  1. jump into mongo console:
docker exec -it librechat-mongodb mongosh

Then run upgrade command:

test> db.adminCommand({ setFeatureCompatibilityVersion: "8.0", confirm: true })
{ ok: 1 }

And exit the shell

  1. verify this worked:
$ docker exec -it …

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@aaronblair
Comment options

@jgdub
Comment options

@eshack94
Comment options

@dareima
Comment options

@djuillard
Comment options

Answer selected by danny-avila
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
9 participants
Converted from issue

This discussion was converted from issue #10304 on October 30, 2025 13:10.