MongoError: not autorized on db to execute command { listIndexes: "users", cursor: {}}

#1

W20170126-06:05:12.041(0)? (STDERR) /home/ubuntu/.meteor/packages/meteor-tool/.1.1.10.1vksuv2++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:278
W20170126-06:05:12.044(0)? (STDERR) throw(ex);
W20170126-06:05:12.046(0)? (STDERR) ^
W20170126-06:05:12.153(0)? (STDERR) MongoError: not authorized on to execute command { listIndexes: “users”, cursor: {} }
W20170126-06:05:12.153(0)? (STDERR) at Object.Future.wait (/home/ubuntu/.meteor/packages/meteor-tool/.1.1.10.1vksuv2++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:398:15)
W20170126-06:05:12.153(0)? (STDERR) at [object Object].MongoConnection._ensureIndex (packages/mongo/mongo_driver.js:790:1)
W20170126-06:05:12.154(0)? (STDERR) at [object Object].Mongo.Collection._ensureIndex (packages/mongo/collection.js:635:1)
W20170126-06:05:12.154(0)? (STDERR) at setupUsersCollection (accounts_server.js:1413:9)
W20170126-06:05:12.154(0)? (STDERR) at new AccountsServer (accounts_server.js:49:5)
W20170126-06:05:12.154(0)? (STDERR) at Package (globals_server.js:5:12)
W20170126-06:05:12.154(0)? (STDERR) at /home/ubuntu/nube-desarrollo-master/.meteor/local/build/programs/server/packages/accounts-base.js:1814:4
W20170126-06:05:12.154(0)? (STDERR) at /home/ubuntu/nube-desarrollo-master/.meteor/local/build/programs/server/packages/accounts-base.js:1825:3
W20170126-06:05:12.155(0)? (STDERR) at /home/ubuntu/nube-desarrollo-master/.meteor/local/build/programs/server/boot.js:242:10
W20170126-06:05:12.155(0)? (STDERR) at Array.forEach (native)
W20170126-06:05:12.155(0)? (STDERR) - - - - -
W20170126-06:05:12.155(0)? (STDERR) at Object.toError (/home/ubuntu/.meteor/packages/npm-mongo/.1.4.39_1.hvm34g++os+web.browser+web.cordova/npm/node_modules/mongodb/lib/mongodb/utils.js:114:11)
W20170126-06:05:12.155(0)? (STDERR) at /home/ubuntu/.meteor/packages/npm-mongo/.1.4.39_1.hvm34g++os+web.browser+web.cordova/npm/node_modules/mongodb/lib/mongodb/db.js:1196:31
W20170126-06:05:12.156(0)? (STDERR) at /home/ubuntu/.meteor/packages/npm-mongo/.1.4.39_1.hvm34g++os+web.browser+web.cordova/npm/node_modules/mongodb/lib/mongodb/db.js:1905:9
W20170126-06:05:12.156(0)? (STDERR) at Server.Base._callHandler (/home/ubuntu/.meteor/packages/npm-mongo/.1.4.39_1.hvm34g++os+web.browser+web.cordova/npm/node_modules/mongodb/lib/mongodb/connection/base.js:453:41)
W20170126-06:05:12.156(0)? (STDERR) at /home/ubuntu/.meteor/packages/npm-mongo/.1.4.39_1.hvm34g++os+web.browser+web.cordova/npm/node_modules/mongodb/lib/mongodb/connection/server.js:488:18
W20170126-06:05:12.157(0)? (STDERR) at [object Object].MongoReply.parseBody (/home/ubuntu/.meteor/packages/npm-mongo/.1.4.39_1.hvm34g++os+web.browser+web.cordova/npm/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
W20170126-06:05:12.157(0)? (STDERR) at [object Object]. (/home/ubuntu/.meteor/packages/npm-mongo/.1.4.39_1.hvm34g++os+web.browser+web.cordova/npm/node_modules/mongodb/lib/mongodb/connection/server.js:446:20)
W20170126-06:05:12.157(0)? (STDERR) at [object Object].emit (events.js:95:17)
W20170126-06:05:12.159(0)? (STDERR) at [object Object]. (/home/ubuntu/.meteor/packages/npm-mongo/.1.4.39_1.hvm34g++os+web.browser+web.cordova/npm/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:207:13)
W20170126-06:05:12.159(0)? (STDERR) at [object Object].emit (events.js:98:17)

The user is
{
"_id" : “admin.meteorapp”,
“user” : “meteorapp”,
“db” : “admin”,
“roles” : [
{
“role” : “readWriteAnyDatabase”,
“db” : “admin”
},
{
“role” : “dbOwner”,
“db” : “nube-medika”
}
]
}

I have tried many combinations and nothing.

Mongo is 3.2.4
Meteor 1.2.1

#2

Hi,

+1
Have you found a solution?