docker-pritunl icon indicating copy to clipboard operation
docker-pritunl copied to clipboard

Mongo version

Open 9ov7 opened this issue 3 years ago • 2 comments

Hi! Hello! Could you update the mongo version in your project? Now version - 3.2 . I need to learn how to backup Mongo Atlas via docker-compose . Ty

9ov7 avatar Jan 06 '21 07:01 9ov7

mongodump not work in container. I updated mongo version and everything is fine

9ov7 avatar Jan 06 '21 08:01 9ov7

Looks like mongo was updated to 4.4 along with the switch from xenial to bionic, in a recent commit. But the problem is that migration doesn't happen automatically, so for anyone who built their server based on the earlier docker image and then updated the tag, it fails to start if it finds the 3.x mongodb directory.

nbryant42 avatar Nov 03 '21 21:11 nbryant42

I've covered upgrade paths and so forth in a new README section, that includes a script that can automate it :)

https://github.com/jippi/docker-pritunl#upgrading-mongodb

jippi avatar Aug 20 '22 00:08 jippi