Bug #22593
closedS3 uploads not working correctly on dev site
0%
Description
I'm setting up a new, test site on cdev and uploads do not appear to be working correctly.
See https://op.cunyac.reclaimhosting.dev/wp-admin/upload.php
Boone, can you take a look and see if any additional configuration needs to be done with S3 so it is working correctly on cdev?
Updated by Boone Gorges 19 days ago
- Status changed from New to Testing Required
I changed the S3_UPLOADS_BUCKET_URL to point to the reclaimhosting.dev rather than the amazonaws.com endpoint, and it appears to have fixed the issue. Could you confirm?
Updated by Raymond Hoh 19 days ago
- Status changed from Testing Required to Resolved
Thanks Boone! Uploads are working correctly on cdev now!
Updated by Raymond Hoh 17 days ago
Just to update, I ran into an issue with uploads not resolving correctly on private sites on cdev.
I looked at the S3_UPLOADS_BUCKET_URL
constant on production and saw that we were using s3.amazonaws.com
as the host, so I've changed it back to the same on cdev, but fixed the path to use the files.cunyac.reclaimhosting.dev
bucket instead of production's files.commons.gc.cuny.edu
bucket and that appears to have fixed things.
Updated by Boone Gorges 17 days ago
Awesome, thanks for catching. I feel a little like this with S3 config, so whatever you can do to make it work is OK by me https://images.squarespace-cdn.com/content/v1/609aea3b34bd7752a38e6829/1624055492490-Z1FP03TQQJCZS98A0VIE/peter_griffin_CSS.gif