Grandnode on MongoDB Atlas

5 czerwca 2020 20:04:25
  • Wysłany: 12 października 2018 15:10
  • 1
Hi - Have you tried installing Grandnode against a MDB Atlas cluster? When I try to install against my Atlas cluster, I get the following:

Setup failed: Command createIndexes failed: not authorized on admin to execute command { createIndexes: "GrandNodeVersion", indexes: [[{key [{DataBaseVersion 1}]} {name db} {unique true}]], $db: "admin", lsid: { id: {4 [137 220 99 93 15 143 79 120 164 91 174 127 185 209 203 97]} }, $clusterTime: { clusterTime: 6611487417817890819, signature: { hash: [35 6 70 184 145 168 240 24 137 74 213 132 85 117 242 34 60 110 68 10], keyId: %!d(float64=6.577678173998154e+18) } } }.

I am using the short connection string, i.e., mongodb://[username:password@]host1[:port1]/databaseName format.

I use Atlas daily - just wondering if we need to provision a user on the DB prior to running the install so that it works.
0
  • Wysłany: 15 października 2018 13:32
  • Moderator
  • 571
You need to give a proper permissions to user. It should be enough. This error means that user you use does not have the appropriate permissions to this operation.
Best regards,
Patryk

GrandNode Team
0
  • Wysłany: 16 września 2019 19:22
  • 3
I have the same problem..could you provide a sample of a command to create an user with the desired permissions?
0
back to top
Filters