-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Hello!
I am trying to self-host Notesnook on a specific setup (restricted MongoDB with naming conventions for database, among other things), and I faced a problem:
Even if I change the variable MONGODB_DATABASE_NAME in the docker-compose.yml file, Notesnook still tries to write in a "notesnook" database:
{"s":"I", "c":"ACCESS", "msg":"Checking authorization failed","attr":{"error":{"code":13,"codeName":"Unauthorized","errmsg":"not authorized on notesnook to execute command { find: \"monographs\", filter: { ItemId: \"version\" }, limit: 1, $db: \"notesnook\" }"}}}
The error seems to come from here, where the database name is literally hardcoded.
And BTW, thanks for this amazing piece of software!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels