catalyst / mahara-module_objectfs

Object file system for Mahara.
GNU General Public License v3.0
3 stars 2 forks source link

The HeadBucket operation requires non-empty parameter: Bucket #15

Closed AdamBark closed 1 year ago

AdamBark commented 1 year ago

I installed this module and the AWS module but I get the following error when opening the "Plugin Administration"

[WAR] d5 (lib/errors.php:529) [InvalidArgumentException]: The HeadBucket operation requires non-empty parameter: Bucket at /var/www/html/module/aws/sdk/Aws/InputValidationMiddleware.php:64

Is there extra configuration required other than what is mentioned in the README?

jsmith20231 commented 1 year ago

This appears to be an issue with the configuration page not creating the s3_bucket field when it loads. It requires a value or you'll get the above error. As a workaround this field can be added manually via a query to the database, after which the page should load and allow you to configure the other settings needed: insert into module_config (plugin,field,value) values ('objectfs','s3_bucket','<your_bucket_name>');

AdamBark commented 1 year ago

Thanks, that workaround seems to resolve the issue.