🇵🇭Philippines @josiahcavitana

Account created on 8 August 2023, over 1 year ago
#

Recent comments

🇵🇭Philippines josiahcavitana

Hello, cmlara. Thank you for taking the time answering my concerns. It's already fixed.

Problem is due to IAM role. I added codes to assume role from my s3 bucket user.

🇵🇭Philippines josiahcavitana

I have implemented the bucket logging. Is there any thing that I need to check in particular?

The logger just showed the same message -- Error executing "PutObject" . Access Denied.

🇵🇭Philippines josiahcavitana

I can confirm that the permissions/policies are working.
I've tried using the dev S3 credentials in stg server and it worked. I was able to successfully validate my dev s3 bucket. My stg server runs on PHP 7, Drupal 8, and s3fs 3.0-alpha15.

Tried the other way around, stg S3 credentials in dev server does not work.

I'm not sure if this is a valid point but Im thinking, is it possible that the 403 issue is because of headers validation set by the module?
Or configuration in the php version?

🇵🇭Philippines josiahcavitana

Hello, cmlara. Thanks for the response.

Im getting this bucket error:

Unable to validate your s3fs configuration settings. Please configure S3 File System from the admin/config/media/s3fs page or settings.php and try again.
An unexpected error occurred. Error executing "PutObject" on "s3-url/s3fs-tests-results/write-test-060923-1305.txt"; AWS HTTP error: Client error: `PUT s3-url/s3fs-tests-results/write-test-060923-1305.txt` resulted in a `403 Forbidden` response: <?xml version="1.0" encoding="UTF-8"?> AccessDeniedAccess Denied0Q32M7 (truncated...) AccessDenied (client): Access Denied - <?xml version="1.0" encoding="UTF-8"?> AccessDeniedAccess Denied0Q32M7EDSMG3GWVY

But I have PutObject in my permissions:

{
"Action": [
"s3:PutObject",
"s3:PutObjectAcl",
"s3:GetObject",
"s3:GetObjectAcl",
"s3:DeleteObject"
],
"Resource": "arn:aws:s3:::cms/*",
"Effect": "Allow"
},

🇵🇭Philippines josiahcavitana

Hello, folks.

I'm using Drupal 9.5.10 and stumbled upon the same error.
"DivisionByZeroError: Division by zero in docroot/core/modules/image/image.admin.inc on line 72 #0 [internal function]: template_preprocess_image_style_preview(Array, 'image_style_pre...', Array)"

I'm always seeing solutions about permissions. How do I set the right permissions for it to work? Thank you.

🇵🇭Philippines josiahcavitana

Hello, I'm also using drupal/simplesamlphp_auth: ^4 for my site running in Drupal 10.

However, I encountered this problem:
Uncaught PHP Exception Error: "Typed property SimpleSAML\Session::$trackid must not be accessed before initialization" at vendor/simplesamlphp/simplesamlphp/src/SimpleSAML/Session.php line 570

anyone who also encountered the same?

Production build 0.71.5 2024