Photoprism 186 is not responding

Hi team,
Photoprism is not responding ( 502 Bad Gateway—nginx/1.24.0). Here follows what I have already tried and observed:

snap start photoprism

→ nothing changes

snap stop photoprism
snap start photoprism

→ nothing changes.

Do you want me to send you a fresh LOG? If so, pls specify the operations to do before sending it to make visible specific behaviours.
Thanks in advance.
p.s. everything described in this memo has been tested and reproduced after 2 reboots.

Simone

send the logs please

just sent. Thx a lot

error:

Jun 26 13:00:30 syncloud photoprism.web[21451]: time="2025-06-26T13:00:30Z" level=error msg="config: .ppstorage file in /data/nextcloud/[user]/files/FOTO/.photoprism/storage could not be created"

Photoprism cannot create files in Nexcloud owned dir.
How exactly did you configure photoprism?

For me this setup works:

ls -la /data/photoprism/photos/originals/
total 20
drwxr-xr-x 5 photoprism photoprism 4096 Jun  5  2024  .
drwxr-xr-x 4 photoprism photoprism 4096 Sep 15  2023  ..
lrwxrwxrwx 1 photoprism photoprism   27 Sep 15  2023  boris -> /data/nextcloud/boris/files
drwxr-xr-x 3 photoprism photoprism 4096 Sep 15  2023  .photoprism

As you can see .photoprism is outside of my nextcloud link boris

1 Like

thanks, I have solved it. I was still pointing to Nextcloud folder through explicit path instead of symbolic links as you suggested months ago, I was sure of having already implemented it…but I was wrong. Thanks a lot. Precious help, appreciated.