Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Need higher version of Mongodb

Need higher version of Mongodb

Scheduled Pinned Locked Moved Solved Support
mongodbaddons
5 Posts 2 Posters 1.7k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ChristopherMagC Offline
    ChristopherMagC Offline
    ChristopherMag
    wrote on last edited by girish
    #1

    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?

    girishG 1 Reply Last reply
    0
    • ChristopherMagC ChristopherMag

      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?

      girishG Do not disturb
      girishG Do not disturb
      girish
      Staff
      wrote on last edited by
      #2

      @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.

      1 Reply Last reply
      1
      • girishG Do not disturb
        girishG Do not disturb
        girish
        Staff
        wrote on last edited by
        #3

        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."

        1 Reply Last reply
        0
        • ChristopherMagC Offline
          ChristopherMagC Offline
          ChristopherMag
          wrote on last edited by ChristopherMag
          #4

          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?

          1 Reply Last reply
          0
          • girishG Do not disturb
            girishG Do not disturb
            girish
            Staff
            wrote on last edited by
            #5

            Cloudron 8 will have it.

            1 Reply Last reply
            2
            • girishG girish marked this topic as a question on
            • girishG girish has marked this topic as solved on

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search