"No Preview Available" with cloud storage

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.10
What app is this about: Pixelfed

Describe your issue

I’m trying to set up cloud storage at CloudFare R2 Bucket but I get “No Preview Available”

I set Cloud Storage ON in Settings

At .env I set:

PF_ENABLE_CLOUD=true
FILESYSTEM_CLOUD=s3
AWS_ACCESS_KEY_ID=access-key
AWS_SECRET_ACCESS_KEY=secret-key
AWS_DEFAULT_REGION=weur
AWS_BUCKET=bucketname
AWS_URL=https://[edited].r2.cloudflarestorage.com/bucketname
AWS_ENDPOINT=https://[edited].r2.cloudflarestorage.com
AWS_USE_PATH_STYLE_ENDPOINT=false

When I post a photo I see the object at my budget, so it uploads correctly to cloudfare.
I see no errors at Laravel Horizon.
If I set Cloud Storage OFF the problem disappears.

Thanks in advance.

Share relevant logs or error messages

no error messages.

Solved.
In case it helps anyone the problem was in the configuration of CloudFare: Add custom domain to Bucket and CORS policy.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.