Marcus Christie created AIRAVATA-3403:
-----------------------------------------
Summary: Wagtail movie file upload is not able to be embedded
Key: AIRAVATA-3403
URL: https://issues.apache.org/jira/browse/AIRAVATA-3403
Project: Airavata
Issue Type: Bug
Components: Django Portal
Reporter: Marcus Christie
Assignee: Marcus Christie
Embedding a video file (mp4 and webm were tried) isn't working because the
video file fails to load. Apache complains the file has the wrong permissions.
When I check the file permissions were only accessible by the user of the
django process (user 'pga').
Possible something changed with the new version of Django and/or Wagtail (see
AIRAVATA-3376) with how media file upload permissions are handled. See
https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-FILE_UPLOAD_PERMISSIONS
which may need to be adjusted.
h2. workaround
Make the file world readable:
{code}
chmod a+r
/var/www/portals/django-delta/airavata-django-portal/django_airavata/media/documents/tutorialVideoFinal.webm
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)