iwind / rockmongo

RockMongo is a MongoDB administration tool, written in PHP 5.
http://rockmongo.com
Other
1.04k stars 408 forks source link

not compatible with WiredTiger engine #116

Open ghost opened 8 years ago

ghost commented 8 years ago

rockmongo error :

Execute failed:not authorized on events to execute command { $eval: CodeWScope( function (){ return db.getCollectionNames(); }, {}), args: [] } function (){ return db.getCollectionNames(); }

For MongoDB 3.0 deployments using the WiredTiger storage engine, if you run db.getCollectionNames() from a version of the mongo shell before 3.0 or a version of the driver prior to 3.0 compatible version, db.getCollectionNames() will return no data, even if there are existing collections. For more information, see WiredTiger and Driver Version Compatibility.