Closed louisteenbrink closed 2 years ago
Fixed
hi, iยดm trying to learn mongoDB with the atlas free account and give me this error
2019-07-04T16:53:38.683-0700 E QUERY [js] Error: map reduce failed:{ "ok" : 0, "errmsg" : "CMD_NOT_ALLOWED: mapreduce", "code" : 8000, "codeName" : "AtlasError" } :
Hi @gsm4, does your issue have anything to do with Lumber and/or Forest Admin?
Hi guys,
Let me reopen the issue. Some warnings have been added to explain that this error may come from the Mongo Atlas Free Tier limitation. If that the reason, so far, you have no other choice than to upgrade to a Mongo Atlas paying plan.
We'll try to investigate in the coming weeks on how to support Mongo Atlas Free plan with Lumber.
๐ฒ๐ฒ๐ฒ
Is this something we can expect getting fixed in the near future?
@saifsmailbox98 we don't have an ETA for this, unfortunately. However, you'll find a workaround in our help center.
You can do a local installation (using a local DB to mirror the atlas one) to generate your project and then change the data source from local to the Atlas DB. (The idea is to bypass Atlas limitation to still be able to generate a project locally, and then plug it to the remote DB).
I have a FREE MongoDB Atlas account and during Lumber generate it thrown the following error:
error: ๐ Oops, operation aborted ๐ due to the following error: message=CMD_NOT_ALLOWED: mapreduce, stack=MongoError: CMD_NOT_ALLOWED: mapreduce