Bug #22593
closed
S3 uploads not working correctly on dev site
Added by Raymond Hoh 21 days ago.
Updated 17 days ago.
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?
- 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?
- Status changed from Testing Required to Resolved
Thanks Boone! Uploads are working correctly on cdev now!
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.
Also available in: Atom
PDF