ForestAdmin / lumber

Install Forest Admin in minutes.
https://www.forestadmin.com
MIT License
2.08k stars 106 forks source link

[*] MongoDB Atlas - Does not work with Free plan (mapReduce() function not allowed) #184

Closed louisteenbrink closed 2 years ago

louisteenbrink commented 5 years ago

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

SeyZ commented 5 years ago

Fixed

gsm4 commented 5 years ago

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" } :

marcperrinp commented 5 years ago

Hi @gsm4, does your issue have anything to do with Lumber and/or Forest Admin?

arnaudbesnier commented 4 years ago

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.

๐ŸŒฒ๐ŸŒฒ๐ŸŒฒ

saifsmailbox98 commented 4 years ago

Is this something we can expect getting fixed in the near future?

louisteenbrink commented 4 years ago

@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).

Scra3 commented 2 years ago

Hello, this issue is fixed since this release