Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media uploaded to custom S3-compatible backend is private #496

Closed
benaltair opened this issue Sep 29, 2021 · 1 comment
Closed

Media uploaded to custom S3-compatible backend is private #496

benaltair opened this issue Sep 29, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@benaltair
Copy link

Version:

  • listmonk: v2.0.0
  • OS: Configured through Heroku one-click

Description of the bug and steps to reproduce:

Media uploaded through the UI is marked as private when using the S3-compatible DigitalOcean Spaces platform. This results in 403 errors when trying to load the thumbnails, and the same would go for the files themselves when opened outside of Listmonk. To be clear, this isn't a CORS issue - the files are marked as Private on upload.

I've contacted DO about this issue and they suggested ensuring that uploads should be marked with the --acl-public flag when uploading to make sure they are marked as Public. This should work across any S3-compatible platform.

Screenshots:

Settings:
image
Gallery:
image
Console:
image

@benaltair
Copy link
Author

Perhaps editing the params here would be relevant? I'm not sure.

upParams := simples3.UploadInput{

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant