Closed kaby76 closed 8 years ago
Reading the code, https://github.com/dokku/dokku-mongo/blob/master/commands, I now see that two users are created: 'admin', which has userAdminAnyDatabase privileges, and 'kendb', which has eadWrite privileges only to the Mongo database called 'kendb'. So, this makes sense.
Hi Folks,
I'm trying to get Restheart to work with this plugin. I've got it to the point where I'm trying to get "http://localhost:8080/" from the server. Unfortunately, the Mongo plugin returns 'The full response is { "ok" : 0.0, "errmsg" : "not authorized on admin to execute command { listDatabases: 1 }", "code" : 13 }'.
I then try to bypass the Restheart server, and just connect to the Dokku/Mongo plugin via telnet directly using 'dokku mongo:connect kendb'. I then try the command to show databases, but that also fails:
I can't do a 'show users' either. So, something is obviously not correct with the installation and/or configuration.
--Ken