-
|
Hi all! I deleted the previous instance of the app, so starting a fresh install. I've created a stack with Portainer, using the preferred compose file (https://github.com/LycheeOrg/Lychee?tab=readme-ov-file#docker-recommended). Just customized the port, APP_URL, APP_KEY and passwords values. Launching the stack leads to the following error: I just can't see where to set up this path value in the compose file... 🤔 Any help would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 16 comments 23 replies
-
|
I am not sure this docker compose is fully functional. I will need to double check. In the meantime, I strongly recommend you use one of those two:
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks Benoit, I'll update the current stack and will also check the normal docker-compose file (I hate hard coded secrets 😉)... |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the quick answer! I instinctively tried to clear the browser cache, open a new tab and point at https://pictures.mydomain.com and landed on an error page saying This is a new issue: I'll certainly have to tweak some parameters... APP_URL is certainly OK, I didn't set any TRUSTED_PROXIES value in the compose file, so this one is missing, the service is sitting behind a Nginx proxy and I don't think I need the APP_FORCE_HTTPS=true as the secure link is with NPM, not Lychee... However, if I point to the internal IP address, I land on the Lychee homepage. The diagnostic page seems to enter a deadloop ("Auto-diagnostic : loading" displays forever) and the network tab lists I also get a lot of |
Beta Was this translation helpful? Give feedback.
-
|
OK, I need some clarification:
Thanks in advance for your explanation! |
Beta Was this translation helpful? Give feedback.
-
|
I don't think the PUID/PGID values have a positive impact... I now get There's 256GB left... |
Beta Was this translation helpful? Give feedback.
-
|
Sorry for the shortcut: the PUID and PGID values have actually been both set to www-data (33) and the host folder (/data/compose/46/lychee/logs/) gives full rights to www-data:www-data This is why I'm a bit lost... |
Beta Was this translation helpful? Give feedback.
-
|
Hi @ildyria ! Finally got a new instance running: new server, new platform (CasaOS), new compose file and... same behavior! Here's what I found:
Thanks for any clue! |
Beta Was this translation helpful? Give feedback.
-
|
This instance is not behind any proxy yet (the previous was), so everything is fetched from the LAN... Here's what I get when I access the homepage: Here's what I get when I open the album: Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
|
Success! I made a fix in the compose file by adding the port to the APP_URL variable and it now works fine! Thanks a lot for your help! |
Beta Was this translation helpful? Give feedback.
-
|
I don't know, I'm not really familiar with the compose syntax, but it definitely needs a delay between the DB container running up and the app container creation... |
Beta Was this translation helpful? Give feedback.
-
|
Is there any way to add a file manually (file copy to the upload folder), then re-index all files of an album? |
Beta Was this translation helpful? Give feedback.
-
|
Oh, fine! |
Beta Was this translation helpful? Give feedback.
-
|
Seems you read my mind... 😁 OK, I'll try this and will let you know of the outcome! |
Beta Was this translation helpful? Give feedback.
-
|
Got a strange message: Actually, /DATA/Gallery IS a directory, which contains many subfolders... 🤔 |
Beta Was this translation helpful? Give feedback.







@jlgarnier I update the docker compose: #4091
The file mount were a bit too broad. Tested locally to work. Thank you for the heads up.