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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    clusterMonitor role for NodeBB in MongoDB

    NodeBB
    mongodb
    3
    5
    237
    Loading More Posts
    • 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.
    • robi
      robi last edited by girish

      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

      Life of Advanced Technology

      1 Reply Last reply Reply Quote 0
      • girish
        girish Staff last edited by

        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.

        robi 1 Reply Last reply Reply Quote 0
        • robi
          robi @girish last edited by

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

          Life of Advanced Technology

          1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff last edited by

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

            robi 1 Reply Last reply Reply Quote 0
            • robi
              robi @nebulon last edited by

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

              Life of Advanced Technology

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB