self-hosted icon indicating copy to clipboard operation
self-hosted copied to clipboard

bug: The problem of authorization in MongoDB

Open Alexey-Gribchenkov opened this issue 1 year ago • 1 comments

What happened?

Image

I want to install Mango on an external server. But I get an error when registering.

Image

Maybe you will have some ideas how to fix it?

Alexey-Gribchenkov avatar Oct 13 '24 17:10 Alexey-Gribchenkov

Image Image

Alexey-Gribchenkov avatar Oct 13 '24 17:10 Alexey-Gribchenkov

The error states that the user you've created does not have adequate permissions, please refer to the MongoDB documentation:

  • https://www.mongodb.com/docs/manual/reference/command/createUser/
  • https://www.mongodb.com/docs/manual/reference/command/grantRolesToUser/

You are likely looking for readWrite to the revolt database for these users.

insertish avatar Nov 13 '24 14:11 insertish