What could prevent delete from S3 from succeeding?
-
Hi. I have a problem between development and production. On local development, I can use the plugin to post and delete content from the media library, and it uploads to S3 as expected, and deletes as expected.
When moving to production, I’m unable to figure out why deletes fail with a 500 error from the server. I’ve checked permissions locally, against recommended settings several times. I’m presuming that permissions on S3 are correct, since I’m able to delete from development.
On the development environment, I’m using a EC2 instances, running the AMI – Amazon Linux 2. I’m using an access key tied to an account which is a member of a group, which has the permissions attached. I’m using this same access key and bucket for both development and production.
I have another site, which runs this same plugin, but uses a role attached to the EC2 instance, and the AMI is Amazon Linux (not 2). It is able to delete thru to the S3 bucket.
I’m grateful for any suggestions anyone may have. I’ve been reviewing this configuration for the last week. Clearly I’m overlooking something. Hopefully, someone else has come across this problem. Thanks for reviewing!
- The topic ‘What could prevent delete from S3 from succeeding?’ is closed to new replies.