Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
AdamBark opened this issue Jan 17, 2023 · 2 comments · Fixed by #16
Closed

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

AdamBark opened this issue Jan 17, 2023 · 2 comments · Fixed by #16

Comments

@AdamBark
Copy link

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
Copy link

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
Copy link
Author

Thanks, that workaround seems to resolve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants