F
Filament12mo ago
map1960

Can't upload to S3 in production

I'm using the Spatie Media Library plugin to upload images. The files are stored in S3. Everything works fine on the development site. But on the production site, I hit a filepond error about 1/3 of the way through the upload, "Error during upload" (no errors in console). The AWS credentials in env are the same on both development and production. I've set the APP_URL correctly on production. I've added the production site's URL to the CORS permissions on the bucket. I think the permissions must be okay otherwise, because uploads work fine from the local development site. (?) I'm hosting the production site on Forge. Any idea what could be preventing uploads on the production site? Thank you!
1 Reply
map1960
map1960OP12mo ago
Never mind. Had to change the setting for max upload size on the new server I'd just set up in Forge. Problem solved.
Want results from more Discord servers?
Add your server