Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-3403

Wagtail movie file upload is not able to be embedded

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Django Portal
    • None

    Description

      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.

      workaround

      Make the file world readable:

      chmod a+r /var/www/portals/django-delta/airavata-django-portal/django_airavata/media/documents/tutorialVideoFinal.webm 
      

      Attachments

        Activity

          People

            marcuschristie Marcus Christie
            marcuschristie Marcus Christie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: