Project

General

Profile

Actions

Bug #22593

closed

S3 uploads not working correctly on dev site

Added by Raymond Hoh 21 days ago. Updated 17 days ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Dev site
Target version:
Start date:
2025-04-19
Due date:
% Done:

0%

Estimated time:
Deployment actions:

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?

Actions #1

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?

Actions #2

Updated by Raymond Hoh 19 days ago

  • Status changed from Testing Required to Resolved

Thanks Boone! Uploads are working correctly on cdev now!

Actions #3

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.

Actions #4

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

Actions

Also available in: Atom PDF