I have inherited an old server that uses MongoDB. I’ve successfully upgraded to 3.6 but Ubuntu 22.04 no longer contains MongoDB so it was removed when I upgraded. I’m trying to upgrade to 4.0 but https://www.mongodb.com/try/download/community-edition/releases/archive doesn’t have Ubuntu 22.04 deb packages. I also checked MongoDB Repositories and it only has 4.2 and higher.
I’d love to get this upgraded to a newer OS and MongoDB but I am stuck here for now.
Support for Ubuntu 22.04 was first included with MongoDB 6.0.4
To run version 4.0 on a supported OS version mongodb could be run in a docker(or other) container running ubuntu 14.04, 16.04 or 18.04. mongo:4.0 container works for this purpose.
The Linux tarball installation may work on Ubuntu 22.04 this ran in a very basic configuration on a ubuntu 22.04 contianer.
Thanks, yes, I ended up finding this and using it. I’m going to use that to upgrade all the way to 8.0 and then switch to Ubuntu 24.04 and use the deb repo from there on. Thanks Chris.