Amazon S3 bucket

Repositories ::: repository_s3bucket
Maintained by RenaatRenaat Debleu
S3 folder (bucket) repository.
Latest release:
95 sites
11 fans
Current versions available: 2

Instead of giving all users access to your complete S3 account, this plugin makes it possible to give teachers and managers access to a specific S3 folder (bucket).

Multiple instances are supported, you only have to create a IAM user who has read access to your S3 bucket (but also to your S3 root folder).

This plugin makes it possible to keep large files completely outside your Moodle installation, these files are served to the students using safe urls (urls that are only accessible for a limited time).

The latest versions are depending on the local_aws plugin.  However, if you want to use the latest sdk version, you will have to use the eWallah version that supports all new regions.

build status Coverage Status



Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5


Renaat Debleu (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS


  • Wed, Mar 25, 2020, 1:16 AM
    Hi, we are using Moode 3.6.5 and PHP version is 7.1. When We try to install the plugin, in the package unzipping screen, the entire site stop responding and we get the HTTP error 500 and most of the links stop working. Luckily we were trying this on a test server. We installed different types of plugins (around 10) to test that the issue is not from our system and they worked fine. Can you please let me know if you know any similar issues and how can we resolve it?

    Thank you.
  • Renaat
    Wed, Mar 25, 2020, 2:32 AM
    Hello Mohammed,

    Please read the documentation carefully before installing a plugin, the latest version is depending on the local_aws plugin.
    When you have problems, use the bug report where you can provide full error logs and screenshots to help me solve your problem.


  • Tue, Jul 21, 2020, 2:11 PM

    I am facing the same problem as
    Mohammad Yaseen

    http 500 error when installing. And the site crashes

    Please help!
  • Tue, Jul 21, 2020, 3:18 PM
    Managed to resolve the http 500 error. You need to install/upgrade the local plugin AWS first. Then install this plugin.
  • Thu, Oct 1, 2020, 6:51 AM
    When I select a file from S3, it gets downloaded to the moodledata. Is this how should it work? Or should it be served directly from S3?
  • Renaat
    Thu, Oct 1, 2020, 5:54 PM
    Hi Eduardo,

    This is NOT normal, there seems to be a functionality loss in the latest version. This should be fixed this afternoon.

  • Fri, Oct 2, 2020, 2:09 AM
    Hi Renaat! That would be great, thank you!
  • Fri, Nov 6, 2020, 5:03 PM
    Hi Renaat,

    Getting error, The media could not be loaded, either because the server or network failed or because the format is not supported. What could be the cause? And what could be the solution?
  • Renaat
    Fri, Nov 6, 2020, 5:20 PM
    Problems are reported and solved in the tracker.
  • Sat, Nov 7, 2020, 10:38 PM
    Hi Renaat,

    Thanks a lot for the wonderful plugin. I could solve the problem. It was S3 config issue. Couple of queries
    1) Not able to find an upload option. Is it again S3 issue? where I can find the Upload option?
    2) I am having multiple separate instances. Is it possible to restrict access for specific repository instance either to a specific course/category or a user group? This would be really helpful.
  • Renaat
    Mon, Nov 9, 2020, 4:40 PM
    The upload option was removed some years ago, it was almost never used and there are multiple tools available who do this job better (no upload limit) and faster (multiple channels without the step to copy the files to your server and move the files away to S3).

    The implementation to restrict access based on user/group/course/category/keyholder was planned from the beginning. After so many years I'm still searching for a way to finance this feature.
  • Thu, May 27, 2021, 8:26 AM
    I can't see the any large size video files in folders of my bucket through moodle, while adding video to content page.
    I'm receiving error message "No files available".

    What should I do.

    I've followed all procedures.

    Created the bucket. Properly used all keys.

    I'm able to access all folders and image files in the bucket but can't see video files.
  • Renaat
    Sun, May 30, 2021, 9:41 PM
    Hello Omlet,

    When you can see the folders and images and no videos - you are trying to add an image to your content page, Try adding a Moodle media file, then all images should be hidden and only folders and videos will be shown.

    If you still do not see any videos, check if your media files are using a simple storage engine (Standard - One Zone-IA - Reduced Redundancy - ...) as this plugin skips archives that have the DEEP_ARCHIVE or GLACIER attribute.

  • Tue, Jun 8, 2021, 4:35 PM
    Hi Reenat!

    I am having and issue with the update to 3.9. When I choose a file from my S3 bucket, and click at Save and return to course button, always appears the same error:
    Cannot read file. Either the file does not exist or there is a permission problem.
    The IAM credentials are fine and I can see all the files. I updated the local_aws pluginto the eWallah version too... If I downgrade to the older version then the plugin works... Any suggest?

    Thanks a lot!
  • Renaat
    Tue, Jun 8, 2021, 9:50 PM
    Hello Juandi,

    THX for the problem report. I could reproduce the error and I am now uploading a fixed version.
    Could you use in the future the Bug tracker to report problems? More bells start ringing when a bug is found.

Please login to post comments