clusterMonitor role for NodeBB in MongoDB
-
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
-
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.
-
@girish
Ah I see, it's cluster wide. Perhaps that deserves a PR to add a dbMonitor for single databases instead. -
@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?
-
@nebulon I am going to pass on that one.
Any volunteers?