Files
wekan/docs/Databases/MongoDB
Lauri Ojansivu 11babe27f2 Docs: snap keys, setting guide and Docker examples that match this WeKan.
- Three snap set lines named keys the snap does not have, which snapd
  stores without a word: MONGO_OPLOG_URL (the key is mongo-oplog-url),
  oauth-enabled (oauth2-enabled) and "snap set wekan set disable-mongodb".
  tests/docsSnapKeysExist.test.cjs checks every snap set in the docs
  against the KEY_ names in snap-src/bin/config.
- Adding-new-Snap-settings-to-code.md used setting names that do not
  exist (LDAP_ENABLED, LDAP_SEARCH_FILTER, a wrong KEY_ line), the edge
  branch and Travis CI. It now follows the real config and wekan-help
  entries, says that a login setting goes through the Admin Panel catalog
  and authEnv(), and lists the other platform files a setting belongs in.
- The LDAP and Traefik Docker examples ran MongoDB 3.2/4.0 with
  --smallfiles, which MongoDB 4.2 removed, and WeKan images from 2018. They
  use mongo:7 and ghcr.io/wekan/wekan:latest; Traefik stays at v1.7, since
  that guide's labels and traefik.toml are v1 syntax.
- The Windows page no longer sets RICHER_CARD_EDITOR, which WeKan does not
  read, and points to build.bat for building from source.

Thanks to xet7 !
2026-10-16 23:52:46 +03:00
..

MongoDB

WeKan's classic database. WeKan runs on MongoDB 3.0 … 8.0, and picks the Node driver for the server it finds; docker-compose-mongodb-v7.yml is the compose file for it. The default database of WeKan is FerretDB v1 instead, which needs no database server.

File What it answers
Driver-System.md Which Node driver is used for which server version, and how that is decided
Version-Management.md Detecting the server version and switching to the matching binary + driver
Compatibility-Guide.md What breaks between MongoDB 3.0 and 8.0 with Meteor, and the fixes
Storage-Requirements.md Why the data directory must be on a local filesystem, and what an SMB/NFS-backed one does (fsync ENOSPC aborts, slow queries)
Oplog-Configuration.md Why the OpLog matters for pub/sub, and how to turn it on
OpLog-Enablement.md Whether it IS on, per deployment platform
avx-qemu.md Running MongoDB 5+ on a CPU with no AVX, through qemu-user
raspi4-qemu.md The same on a Raspberry Pi 4 and older (ARMv8.0, no ARMv8.2-A)

Both qemu pages describe what WeKan's cpu-exec helper now does by itself: it runs a binary under qemu-user when the CPU lacks the features that binary needs.

See also