Skip to content

fix: switched mongo version to 8.0 inside docker-compose.yml#1443

Open
Chuwee wants to merge 2 commits intooverleaf:mainfrom
Chuwee:fix-docker-compose-mongodb-version-mismatch
Open

fix: switched mongo version to 8.0 inside docker-compose.yml#1443
Chuwee wants to merge 2 commits intooverleaf:mainfrom
Chuwee:fix-docker-compose-mongodb-version-mismatch

Conversation

@Chuwee
Copy link
Copy Markdown

@Chuwee Chuwee commented Jan 7, 2026

Description

The minimum MongoDB version is enforced at startup in
services/web/modules/server-ce-scripts/scripts/check-mongodb.mjs,
where MIN_MONGO_VERSION is set to [8, 0].

If MongoDB < 8.0 is detected, the container exits immediately with:

The MongoDB server has version X, but Overleaf requires at least version 8.0. Aborting.

This PR updates the MongoDB version in docker-compose.yml

Related issues / Pull Requests

Fixes #1441

Contributor Agreement

@Chuwee Chuwee changed the title Switched mongo version to 8.0 Switched mongo version to 8.0 inside docker-compose.yml Jan 7, 2026
@Chuwee Chuwee changed the title Switched mongo version to 8.0 inside docker-compose.yml feat: switched mongo version to 8.0 inside docker-compose.yml Feb 10, 2026
@Chuwee Chuwee changed the title feat: switched mongo version to 8.0 inside docker-compose.yml fix: switched mongo version to 8.0 inside docker-compose.yml Feb 10, 2026
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

Successfully merging this pull request may close these issues.

docker-compose.yml does not work out of the box due to mongoDB incompatible version with Sharelatex image

1 participant