pulsejet / memories

Fast, modern and advanced photo management suite. Runs as a Nextcloud app.
https://memories.gallery
GNU Affero General Public License v3.0
2.82k stars 76 forks source link

Photos and previews only showing in grey, live photos are working #1146

Closed trvrcr closed 3 weeks ago

trvrcr commented 4 weeks ago

Describe the bug No photos show in overview of any page

To Reproduce Steps to reproduce the behavior Open Memories, Photos are grey, small broken icon when clicking photo Live photos start showing, yet after the live part the photo becomes grey again

Screenshots image image image

Platform:

Additional context I have gone over the configuration multiple times I have re-initiated the indexing multiple times I cannot get it to work which is a bummer, as i find the app really cool. hope you can help me find the issue, or where i have gone wrong.

pulsejet commented 3 weeks ago

Can you see previews in the files and photos apps? I'd check the preview generation settings in the Memories admin panel.

trvrcr commented 3 weeks ago

I have checked. In the files and photo's app the previews and photo's are both shown.

The preview generation settings in de admin panel are as follows: image image

are the "Additional configuration may still be required." options explained in the configuration pages?

pulsejet commented 3 weeks ago

Okay, what about these?

Any errors in the JS console?
Any errors in the Nextcloud server logs?
trvrcr commented 3 weeks ago

No errors in the nextcloud server logs. image

But errors in the JS console: image

How can I check what is blocking the content? Is this server-side or client-side?

Mayor thanks to put me on this track!!

pulsejet commented 3 weeks ago

Your http server or reverse proxy is setting a wrong CSP. Just remove any CSP headers from your http config.

trvrcr commented 2 weeks ago

I can confirm this is the solution. I took my time to find the header that was causing the problem. Thank you very much for the expertise.