I created a custom plugin to increase file size upload limit in Studio and changed it to 200mb, which worked for one course but is not working for a new course I created. I also changed the contentstore.new_studio_mfe.use_new_files_uploads_page in Django admin and set “everyone” to no.
I’m not sure why I’m not able to upload larger files in my second course when it works for the first one. It’s stuck on “The file should be less than 20MB”. This is my plugin:
As far as I can tell the waffle flag contentstore.new_studio_mfe.use_new_files_uploads_page no longer has any effect and the MFE uploads page is used regardless the flag setting. According to the docs here it was targeted for removal by 2023-8-31 so this is probably a deprecated setting now.
The only way I’m aware of to work around the 20MB limit is to create a fork of the frontend-app-authoring MFE and edit the UPLOAD_FILE_MAX_SIZE constant then use your fork with a plugin like this, followed by a rebuild of the MFE container with tutor images build mfe and a restart.
The last I tested it the patches for openedx-cms-production-settings and the caddyfile-cms are also still required.
In an ideal scenario the MFE’s UPLOAD_FILE_MAX_SIZE should be getting the value from MAX_ASSET_UPLOAD_FILE_SIZE_IN_MB instead of a hard defined constant, but those relationships have not been coded out yet…