# "No Preview Available" with cloud storage

**URL:** https://forum.yunohost.org/t/no-preview-available-with-cloud-storage/34912
**Category:** Support apps
**Tags:** pixelfed, storage, english
**Created:** [January 20, 2025, 6:17pm UTC](https://forum.yunohost.org/t/no-preview-available-with-cloud-storage/34912 "2025-01-20T18:17:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![xhabih](https://forum.yunohost.org/user_avatar/forum.yunohost.org/xhabih/32/11311_2.png) [@xhabih](https://forum.yunohost.org/u/xhabih)
#### Post date: [January 20, 2025, 6:17pm UTC](https://forum.yunohost.org/t/no-preview-available-with-cloud-storage/34912/1 "2025-01-20T18:17:04Z")

</div>

**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.

---

<div class="post-metadata">

### Author: ![xhabih](https://forum.yunohost.org/user_avatar/forum.yunohost.org/xhabih/32/11311_2.png) [@xhabih](https://forum.yunohost.org/u/xhabih)
#### Post date: [January 22, 2025, 8:18am UTC](https://forum.yunohost.org/t/no-preview-available-with-cloud-storage/34912/2 "2025-01-22T08:18:03Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [February 6, 2025, 8:18am UTC](https://forum.yunohost.org/t/no-preview-available-with-cloud-storage/34912/3 "2025-02-06T08:18:25Z")

</div>

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