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

Error ATTO editor RecordRTC Video: "You have attained the maximum size limit for file uploads"

    XMLWordPrintable

    Details

    • Database:
      Any
    • Testing Instructions:
      Hide
      Prerequisite
      1. Webcam
      2. Firefox browser (Chrome won't let you record if your test server is not on HTTPS)
      Setup
      1. Edit your php.ini file
        e.g. if you're using LinuxMint and on PHP 7.2

        sudo xed /etc/php/7.2/apache2/php.ini
        

      2. Set the following config values:
        upload_max_filesize = 2G
        post_max_size = 2G
      3. Save the php.ini file.
      4. Restart your web server
        e.g. if you're on Apache

        sudo service apache2 restart
        

      Test
      1. Log in as admin
      2. Go to "Site administration / Courses / Course default settings"
      3. Make sure that the "Maximum upload size" is set to "Site upload limit (2GB)"
      4. Go to site home
      5. Turn editing on
      6. Add a page activity
      7. In the editor for the page content, click on the "record video" button and record a video of yourself
      8. Allow the video to be recorded for 2 minutes
      9. Verify that the recording finishes and you don't see a warning about reaching to the maximum limit
      10. Attach the file.
      11. Confirm that you can successfully attach the file.
      Show
      Prerequisite Webcam Firefox browser (Chrome won't let you record if your test server is not on HTTPS) Setup Edit your php.ini file e.g. if you're using LinuxMint and on PHP 7.2 sudo xed /etc/php/7.2/apache2/php.ini Set the following config values: upload_max_filesize = 2G post_max_size = 2G Save the php.ini file. Restart your web server e.g. if you're on Apache sudo service apache2 restart Test Log in as admin Go to " Site administration / Courses / Course default settings " Make sure that the " Maximum upload size " is set to " Site upload limit (2GB) " Go to site home Turn editing on Add a page activity In the editor for the page content, click on the "record video" button and record a video of yourself Allow the video to be recorded for 2 minutes Verify that the recording finishes and you don't see a warning about reaching to the maximum limit Attach the file. Confirm that you can successfully attach the file.
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE
    • Pull from Repository:
    • Pull 3.5 Branch:
    • Pull 3.6 Branch:
    • Pull Master Branch:
      MDL-62872-master

      Description

      Environment: Moodle 3.5 with PHP 7.1.16, apache 2.4.

      These are defined in php.ini:

      post_max_size = 1G
      upload_max_filesize = 1G

       

      When try to record a video, in 4 seconds return this error:

      You have attained the maximum size limit for file uploads

       

      Plugin only record 1024 KB of file size.

       

       

        Attachments

          Activity

            People

            • Votes:
              6 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/May/19

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 30 minutes
                3h 30m