Internal Error - Not authorized



  • So I have this weird error that shows only in ADVANCED > Database
    Everything other works well. I wonder if this may cause problems in the future
    Should I be worried about this?
    (NodeBB is installed on server, not locally)

    0_1522407908327_ss.PNG


  • Global Moderator

    @naifu yeah that means the mongodb permissions for the nodebb user aren't exactly what they should be. It's a non-fatal error but if you want to fix it you need to give the nodebb user the clusterMonitor role for the admin database:

    $ mongo admin
    
    > db.grantRolesToUser('nodebb', [ { role: "clusterMonitor", db: "admin" } ])
    

 

Suggested Topics

| |