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. NodeBB
  3. clusterMonitor role for NodeBB in MongoDB

clusterMonitor role for NodeBB in MongoDB

Scheduled Pinned Locked Moved NodeBB
mongodb
5 Posts 3 Posters 874 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.
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by girish
    #1
    NodeBB was unable to query the MongoDB database for relevant statistics. Please ensure that the user in use by NodeBB contains the "clusterMonitor" role for the "admin" database. 
    

    From >settings>advanced>database

    Conscious tech

    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      Yes, this is expected. The clusterMonitor role will give monitoring access to all the databases whereas on Cloudron the apps are sandboxed to have access to only the single database they were provisioned for.

      robiR 1 Reply Last reply
      0
      • girishG girish

        Yes, this is expected. The clusterMonitor role will give monitoring access to all the databases whereas on Cloudron the apps are sandboxed to have access to only the single database they were provisioned for.

        robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #3

        @girish
        Ah I see, it's cluster wide. Perhaps that deserves a PR to add a dbMonitor for single databases instead.

        Conscious tech

        1 Reply Last reply
        0
        • nebulonN Away
          nebulonN Away
          nebulon
          Staff
          wrote on last edited by
          #4

          @robi good point, maybe you can report that upstream as a feature request. If for some reaton it would make no sense for a single db, then maybe a way to disable that would be the feature request?

          robiR 1 Reply Last reply
          0
          • nebulonN nebulon

            @robi good point, maybe you can report that upstream as a feature request. If for some reaton it would make no sense for a single db, then maybe a way to disable that would be the feature request?

            robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #5

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

            Conscious tech

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