What happen to that proposal? Is there a way of using S3 or Minio instead of GridFS? It is too expensive for us to store static assets in MongoDB.
On Monday, August 11, 2014 at 12:58:37 PM UTC-5, John Eskew wrote: > > The proposal to which Don refers is publicly accessible here: > > https://openedx.atlassian.net/wiki/display/PLAT/GridFS+Replacement > > > On Mon, Aug 11, 2014 at 9:09 AM, Don-edX Mitchell <[email protected] > <javascript:>> wrote: > >> Assets (file uploads) for Studio based courses are currently and have >> always been stored in GridFS which we identify as the xcontent mongo >> database but that name is just a string in the setup and has nothing to do >> with technology nor collection naming which have not changed. If your >> server is unable to find the content, then look at your configuration files >> for CONTENTSTORE. In one of your active configs, there should be a decl >> similar to this from lms.envs.cms.dev: >> >>> CONTENTSTORE = { >>> 'ENGINE': 'xmodule.contentstore.mongo.MongoContentStore', >>> 'DOC_STORE_CONFIG': { >>> 'host': 'localhost', >>> 'db': 'xcontent', >>> } >>> } >> >> >> You'll notice the db name in this config. >> >> We are, however, preparing to remove assets completely from the app >> server and position them in the web server. I don't know if this proposal >> is accessible, but I'll put the link here >> <https://edx-wiki.atlassian.net/wiki/display/~jeskew/GridFS+replacment>. >> If it's not accessible yet, it will be very soon or will go out under >> separate cover (if it hasn't already). >> >> >> On Mon, Aug 11, 2014 at 8:39 AM, Sébastien Hinderer < >> [email protected] <javascript:>> wrote: >> >>> Dear all, >>> >>> It seems that the files associated with courses are stored in an fs >>> mongo database. IS hat correct? >>> It also seems it has not always been so, and at some point in the past >>> the files were stored somewhere in the xcontent mongo database. >>> >>> If all this is correct, is there an automated way to migrate the data >>> from their old to their new location / format? >>> >>> Thanks, >>> Sébastien. >>> >>> >> > -- You received this message because you are subscribed to the Google Groups "General Open edX discussion" group. To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/61120c75-1109-4f4b-b627-762048869533%40googlegroups.com.
