mongodb - How to allow write access on system collection of a database in mongo? -
with latest meteor update, meteor trying write operation on my_database.system.dummy
in mongo database. using external mongo database authentication enabled. user i've created has full read-write access my_database
database can't write my_database.system
collection.
how can allow user able write my_database.system
collection?
update think didn't phrased question right. problem mongo db connection. when meteor tries connect mongo, connection fails because meteor tries write on "my_db.system.dummy" , db user doesn't have permission so, although db user have full read/write access on "my_db". question how can allow mongo user able write on "my_db.system.dummy" collection. confirmed meteor 0.8.2 isn't connecting mongo either. strange because app working fine till upgraded 0.8.3
update 2 use meteor-up deployment, testing locally, how connect (not same error in mup logs
:
sudo mongo_url="mongodb://<db_user>:<password>@<database_url>:27017/<db_name>" mrt --port 80
and error get:
/users/charanjitsingh/.meteor/tools/cef2bcd356/lib/node_modules/fibers/future.js:206 w20140808-09:35:09.241(5.5)? (stderr) throw(ex); w20140808-09:35:09.241(5.5)? (stderr) ^ w20140808-09:35:09.260(5.5)? (stderr) mongoerror: not authorized query on celebvidy.system.dummy w20140808-09:35:09.260(5.5)? (stderr) @ object.future.wait (/users/charnjitsingh/.meteor/tools/cef2bcd356/lib/node_modules/fibers/future.js:326:15)
Comments
Post a Comment