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


Skip to content
  • Need higher version of Mongodb

    Solved Support
    5
    0 Votes
    5 Posts
    234 Views
    girishG

    Cloudron 8 will have it.

  • Addons mongoDb Connection String

    Solved Support
    4
    1 Votes
    4 Posts
    224 Views
    girishG

    @philkunz true... too late to change the name now 🙂

  • Backup fails repeatedly because of mongodbdump timeout

    Solved Support
    6
    0 Votes
    6 Posts
    424 Views
    G

    @girish So after the upgrade to 7.2.2 the problem vanished. Closing the Ticket.
    Thank you for the help!

  • Failed to backup

    Solved Support
    4
    0 Votes
    4 Posts
    317 Views
    andres.moyaA

    Good point. I checked the services and some of them are yellow (without error, but stalled in loading). I've restarted one app that uses mongodb and now the backup works. But it's very close to the memory limit. If this happens again, I'll increase the memory assigned.

    Thanks for pointing it out.

  • Can't migrate Rocket.Chat

    Moved Solved Rocket.Chat
    2
    1 Votes
    2 Posts
    291 Views
    potemkin_aiP

    Found an issue: MongoDB needed up 600Mb of RAM (to be adjusted in services page).

  • mongodb not starting/reachable

    Solved Support
    6
    0 Votes
    6 Posts
    755 Views
    rmdesR

    @girish Thanks, will try this !

  • wiredtiger & mongodb restarting loop

    Solved Support
    5
    0 Votes
    5 Posts
    782 Views
    rmdesR

    @nebulon I was having a similar issue with Mongodb since a few days, I backuped the mongodb folder, created a new one, restarted the mongodb service, restarted the apps and the problem is solved 🙂

  • cannot start : shell and server versions do not match

    Solved Wekan
    4
    0 Votes
    4 Posts
    728 Views
    ruihildtR

    I found restarting Mongodb service manually fixes the error. Or maybe it was just a coincidence.

  • Reading Wekan Mongo DB from Metabase/Grafana

    Solved Support
    3
    1 Votes
    3 Posts
    404 Views
    ChristopherMagC

    I am trying to only do this from the Cloudron hosted versions of Metabase/Grafana.

    I followed your instructions and this worked perfectly, took the username, password, port, host, and database name from the environment variables within the Wekan web console, entered them in Metabase, and was able to connect and see the data.

    Thank you!

  • MongoDB for general usage

    Discuss
    17
    0 Votes
    17 Posts
    1k Views
    necrevistonnezrN

    @roofboard this is nice sounding word salad nonsense 😵
    ChatGPT does have its limits.

  • clusterMonitor role for NodeBB in MongoDB

    Moved NodeBB
    5
    0 Votes
    5 Posts
    411 Views
    robiR

    @nebulon I am going to pass on that one.
    Any volunteers?

  • database error

    NodeBB
    4
    0 Votes
    4 Posts
    467 Views
    girishG

    @JohnGuan If you want to backup NodeBB's mongodb, then go to the app's backup -> create backup. In the backup, there will be a mongodbdump file.

    As for importing, please see https://docs.cloudron.io/guides/import-mongodb/

  • Trouble importing mongodb data to Rocket.Chat

    Rocket.Chat
    10
    2 Votes
    10 Posts
    2k Views
    girishG

    @robw @alex-adestech An update on this.

    Crux of the issue is that the indices name generated are too long. @alex-adestech pointed out to me that this issue only sorted out in MongoDB 4.4 and not even MongoDB 4.2. Searching through the rocket.chat issue tracker I saw only person hit this and nobody replied. Search further, I found that Rocket.Chat doesn't even support MongoDB 4.2. The releases page mentions the versions they test with - https://github.com/RocketChat/Rocket.Chat/releases. This got me wondering why we hit this issue. Well, the answer it turns out is that Cloudron generates 32 byte mongodb database names for apps. This in turn ends up affecting the length of the index.

    I have made a fix now for Cloudron 5.6 that generates shorter names. (We have had to do something similar for apps using MySQL as well in the past).

  • Import data from another installation

    Solved Rocket.Chat
    9
    0 Votes
    9 Posts
    758 Views
    kaxlineK

    @girish Ah yes, sorry. Should've looked. At least maybe this will direct someone to the docs if they end up here again.

  • Accessing MongoDB using Compass

    Solved Support
    8
    0 Votes
    8 Posts
    732 Views
    girishG

    Compass guide is here - https://docs.cloudron.io/guides/connect-mongodb/#mongodb-compass