I have installed Nutmeg using the Tutor. I have enabled the Program in discovery but I’m facing one issue in the discovery portal. My discovery running on https://discovery.mydomain.com.
Once I upload a program Banner image or Card image it’s stored in the database and generate media URL like: https://discovery.mydomain.com/media/media/programs/banner_images/f6fd6c11-7cf7-4b6d-9ab3-63977856a643-8995646ade42.jpg.
When I open the program banner image
[URL](https://discovery.mydomain.com/media/media/programs/banner_images/f6fd6c11-7cf7-4b6d-9ab3-63977856a643-8995646ade42.jpg) I’m getting “Not Found”, as per below screenshot.
Am I missing any configuration ? Can anybody help me, please?
I have checked the
settings.MEDIA_ROOT configuration in discovery, I’m getting the below output for
I checked inside the discovery tutor container media folder is not created. As compared to the LMS media folder should be auto-created. Do I need to create a media folder manually at
Please let me know if anyone has a solution for this. Because of this issue, I’m not able to launch a program in my LMS.
Have you figured it out ? facing an same issue with nutmeg release.
Yes, I got a solution for this.
I replaced the default local storage with an S3 bucket. I changed
DEFAULT_FILE_STORAGE = "storages.backends.s3boto3.S3Boto3Storage" and it works for me.
@Mahendra Any idea where the above settings need to be configured ? LMS or discovery?
You need to create a plugin for discovery. You can refer to this documentation: Creating a Tutor plugin — Tutor documentation
Thanks @Mahendra , working