Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-69620

The Google Drive plugin / mod does not work well with large files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.0
    • Fix Version/s: None
    • Component/s: Repositories
    • Affected Branches:
      MOODLE_400_STABLE

      Description

      I have a situation related to uploading large files with Google Drive Plugin, > 200MB. The Google Drive plugin / mod does not work well with large files.

      I have the plugin configured as External (Only Links stored in Moodle), however when loading the plugin try to download the file. As the file is very large, a failure occurs.

      Shouldn't the plug-in store just the link?
      What is the need to download?
      Is there a possibility to change the code so as not to download it?

      I await reply. Thank you.

       

      Failure:

      The file cannot be read. The file does not exist or there are permission problems.

       

      [localcachedir] /XXXX-ba90-4543-bbe9-YYYY/ZZZZZ-f436-4591-8b53-YYYYY/XXXX.mp4
      Error code: storedfilecannotread

      • line 489 de /lib/filestorage/file_system.php: file_exception lançada
      • line 348 de /lib/filestorage/file_system_filedir.php: chamada para file_system- & gt; validate_hash_and_file_size ()
      • line 1794 de /lib/filestorage/fpile: chamada para file_system_filedir- & gt; add_file_from_path ()
      • line 1323 de /lib/filestorage/file_storage.php: chamada para file_storage- & gt; add_file_to_pool ()
      • line 1373 de /repository/lib.php: call to file_storage- & gt; )
      • line 324 de /repository/repository_ajax.php: chamada ao repositório :: move_to_filepool ()

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ana.silva Ana
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            10 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated: