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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. `mongo` binary appears to be missing from the Cloudron base image 4.0.0

`mongo` binary appears to be missing from the Cloudron base image 4.0.0

Scheduled Pinned Locked Moved Solved Support
7 Posts 3 Posters 1.1k Views 3 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
    #1

    Steps to reproduce:

    • Open web terminal for app that uses MongoDB
      • Example Wekan
    • Click the MongoDB button
      • This will insert the command mongo -u "${CLOUDRON_MONGODB_USERNAME}" -p "${CLOUDRON_MONGODB_PASSWORD}" ${CLOUDRON_MONGODB_HOST}:${CLOUDRON_MONGODB_PORT}/${CLOUDRON_MONGODB_DATABASE} into the terminal
    • Press Enter
    • This results in the error message bash: mongo: command not found

    This occurs with the latest version of wekan which has the new Cloudron base image to 4.0.0.

    I am guessing that the mongo binary is not present in the 4.0.0 base image.

    I have confirmed that the first version of Paperless-NGX with the 4.0.0 base image is also missing the mongo binary.

    Currently this is causing cron jobs which use this binary to now fail when they would have succeeded in the past.

    1 Reply Last reply
    0
    • subvenS Offline
      subvenS Offline
      subven
      wrote on last edited by
      #2

      Since base image 4.0, MongoDB 6 is in use. Instead of using the binary (mongo) like before, you should be able to use mongosh. Please take a look at the documentation.

      ChristopherMagC 1 Reply Last reply
      0
      • subvenS subven

        Since base image 4.0, MongoDB 6 is in use. Instead of using the binary (mongo) like before, you should be able to use mongosh. Please take a look at the documentation.

        ChristopherMagC Offline
        ChristopherMagC Offline
        ChristopherMag
        wrote on last edited by
        #3

        @subven Gotcha, working on using mongosh instead now.

        If this is now the correct way to access Mongo then the MongoDB button in the webterminal needs to be updated to use that as currently when clicked it still tries to use mongo.

        subvenS 1 Reply Last reply
        1
        • ChristopherMagC ChristopherMag

          @subven Gotcha, working on using mongosh instead now.

          If this is now the correct way to access Mongo then the MongoDB button in the webterminal needs to be updated to use that as currently when clicked it still tries to use mongo.

          subvenS Offline
          subvenS Offline
          subven
          wrote on last edited by
          #4

          @ChristopherMag said in `mongo` binary appears to be missing from the Cloudron base image 4.0.0:

          to access Mongo then the MongoDB button in the webterminal needs to be updated

          Thats a fair point and should be added to the todo list ^^

          ChristopherMagC 1 Reply Last reply
          0
          • subvenS subven

            @ChristopherMag said in `mongo` binary appears to be missing from the Cloudron base image 4.0.0:

            to access Mongo then the MongoDB button in the webterminal needs to be updated

            Thats a fair point and should be added to the todo list ^^

            ChristopherMagC Offline
            ChristopherMagC Offline
            ChristopherMag
            wrote on last edited by
            #5

            @subven Thanks for the help, using mongosh with everything else the same worked perfectly, cron jobs updated and things working as expected again aside from the MongoDB button not doing what it should 🙂.

            ChristopherMagC 1 Reply Last reply
            0
            • nebulonN nebulon marked this topic as a question on
            • nebulonN nebulon has marked this topic as solved on
            • ChristopherMagC ChristopherMag

              @subven Thanks for the help, using mongosh with everything else the same worked perfectly, cron jobs updated and things working as expected again aside from the MongoDB button not doing what it should 🙂.

              ChristopherMagC Offline
              ChristopherMagC Offline
              ChristopherMag
              wrote on last edited by
              #6

              @nebulon Do I need to make a second post or add this somewhere else to get the MongoDB button in the web terminal fixed?

              nebulonN 1 Reply Last reply
              0
              • ChristopherMagC ChristopherMag

                @nebulon Do I need to make a second post or add this somewhere else to get the MongoDB button in the web terminal fixed?

                nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #7

                @ChristopherMag I will fix it up now for the next release. We were kinda aware of this already, but wanted the last release out sooner rather than later.

                1 Reply Last reply
                2
                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