Closed akvareli2 closed 1 year ago
Which database are you using?
Mongo DB
You mean Atlas?
this
Perfect, can you check your database user has all rights? https://nightscout.github.io/troubleshoot/atlas/#mongodb-in-read-only-mode
I added admin rights. Now everything is fine. Thanks a lot!
Great!
Errors occurred during startup:
Unable to setup authorization {"stack":"MongoError: user is not allowed to do action [find] on [test.auth_roles] at MessageStream.messageHandler (/app/node_modules/mongodb/lib/cmap/connection.js:266:20) at MessageStream.emit (node:events:513:28) at processIncomingData (/app/node_modules/mongodb/lib/cmap/message_stream.js:144:12) at MessageStream._write (/app/node_modules/mongodb/lib/cmap/message_stream.js:42:5) at writeOrBuffer (node:internal/streams/writable:391:12) at _write (node:internal/streams/writable:332:10) at MessageStream.Writable.write (node:internal/streams/writable:336:10) at TLSSocket.ondata (node:internal/streams/readable:754:22) at TLSSocket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:315:12)","message":"user is not allowed to do action [find] on [test.auth_roles]","ok":0,"code":8000,"codeName":"AtlasError","name":"MongoError"}