Skip to main content

S3 Plugin: Error Uploading to S3 Bucket Any File Larger than 5MB

More
2 hours 49 minutes ago - 2 hours 46 minutes ago #100000127 by MSTACE
-- HikaShop version -- : 6.6.0
-- Joomla version -- : 6.1.4
-- PHP version -- : 8.5
-- Browser(s) name and version -- :  Chrome 154.0
-- Error-message(debug-mod must be tuned on) -- : Error

A client of mine purchased your Amazon S3 plugin at my prompting.

It is working fine except for this one issue:
  • Any file larger than 5MB shows an 'error' in the Status area of the "Move the files to the bucket" section.
  • Any file smaller than 5MB uploads successfully to the S3 bucket, showing OK in the Status area.


I have repeated this and verified the S3 bucket contents.

There are no errors in the Hikashop error log or php.error.log
The debug switch is on.

ps - love your new website redesign!

Here is the policy attached to the bucket in an attempt to fix the issue. This doesn't look like an IAM/S3 issue.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "BucketListAndLocation",
      "Effect": "Allow",
      "Action": [
        "s3:ListBucket",
        "s3:GetBucketLocation",
        "s3:ListBucketMultipartUploads"
      ],
      "Resource": "arn:aws:s3:::YOUR-BUCKET-NAME"
    },
    {
      "Sid": "ObjectReadWrite",
      "Effect": "Allow",
      "Action": [
        "s3:GetObject",
        "s3:PutObject",
        "s3:DeleteObject",
        "s3:AbortMultipartUpload",
        "s3:ListMultipartUploadParts"
      ],
      "Resource": "arn:aws:s3:::YOUR-BUCKET-NAME/*"
    }
  ]
}
Last edit: 2 hours 46 minutes ago by MSTACE.

Please Log in or Create an account to join the conversation.

Time to create page: 0.181 seconds
Powered by Kunena Forum