Grandnode on MongoDB Atlas

Saturday, May 4, 2024 12:57:11 PM
  • Posted: Friday, October 12, 2018 3:10 PM
  • 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
  • Posted: Monday, October 15, 2018 1:32 PM
  • 953
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
  • Posted: Monday, September 16, 2019 7:22 PM
  • 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