Need higher version of Mongodb
-
We have an internal application that uses the mongodb addon and I recently was adding a feature that needed the
$dateAdd
function in mongodb and was happy to see that Cloudron 7.6 had mongo 5 so I upgraded and things have been working well.I am now adding features again and need to use the
$concatArray
function which was added in version 5.2. Looking at their documentation it looks like MongoDB calls 5.X versions rapid releases and does not support those being run on premise.I am guessing there is a non technical motivation behind MongoDB not supporting minor versions to be run on premise like pushing customers to their cloud offerings. I see that they don't offer docker containers for minor versions of the database and googling didn't turn up anyone else building it from source and packaging these minor version releases.
I have started exploring how difficult it will be to switch to using the postgresql addon with the same documents that were in mongo stored in a jsonb column but if there were plans to get to mongodb 6 or higher then I might not need to go down that path depending on how far out that is.
Is there a specific reason for using version 5 of mongo in the mongo addon instead of the latest stable release, which I believe is 6.0.7?
-
@ChristopherMag yes, my understanding was that one cannot jump from mongodb 4 to 6 directly . You have to go via 5. Next release of Cloudron will have mongodb 6.
-
For example, see https://www.mongodb.com/community/forums/t/mongodb-upgrade-from-4-2-and-4-4-to-6-0/205176
"To upgrade an existing MongoDB deployment to 6.0, you must be running a 5.0-series release.
To upgrade from a version earlier than the 5.0-series, you must successively upgrade major releases until you have upgraded to 5.0-series. For example, if you are running a 4.4-series, you must upgrade first to 5.0 before you can upgrade to 6.0."
-
Nice, ok so 5 was a transitionary step and the plan is to go to 6, great to hear!
When you say the next release of cloudron, are you referring to 7.7 or 8?
-
-