Closed yodaphone closed 9 months ago
The problem is that Meshcentral fails to use mongodump from container as it is too old(3.4.14 if i remember correctly) for your database (problem is regarding with mongodb snapshots). Lowering mongodb version to 3.6 (minimum supported by current MeshCentral) will do the trick.
As a workaround you can dump your database and try to restore it on older mongodb version. I rolled back from mongodb 5.0 to 3.6, no issues so far.
But i suggest author to try updating base container image to later Debian version (currently it is node:lts-buster-slim
, which is Debian 10)
@Typhonragewind, mind if i ask how did you fix this?
main/builds/mongoDB/Dockerfile
still references node:lts-buster-slim
, so it is using ancient MongoDB, while builds/regular/Dockerfile
using node:lts-slim
, which is Debian 12
Update: apparently newer version of Debian does not ship mongo-tools package[1]
@Pinkbyte Hmm, it seems i forgot to save the changes on that one. Thanks for letting me know!
Hi
I used your docker-compose & created the container. everything works but i get this error message on the server
Server Warnings WARNING: Unable to find mongodump, MongoDB database auto-backup will not be performed.
I used your compose file as it with my modifications. I can run the mongodump command in the mongocentral_db container just fine but see this message. this is my compose file. can you please let me know how to solve this?
this is my config.json