-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Media files not served by Discovery #69
Comments
I've created PR #70 |
Hi @angonz, |
Hi @Faraz32123, |
Closing this issue as completed by #70. |
Media files located at
/openedx/discovery/course_discovery/media
are not served. Any attempt to open<discovery host>/media/...
returns 404 Not Found error, even if the file exists in the correct directory.The problem seems to be that the
media
directory does not exists in/openedx/discovery/course_discovery/
in a fresh new container whenuwsgi
is launched. Then the--static-map /media=/openedx/discovery/course_discovery/media
option does not create the mapping, even if the directory is created afterwards.I have tested adding
RUN mkdir course_discovery/media
to the Dockerfile and it seems to fix the problem.The text was updated successfully, but these errors were encountered: