-
Hello, So far, I was using "php artisan lychee:sync" command to import photos and that worked fine But on the new install, I am planing on using drag and drop "upload photo" from UI. And this is not working for me as it should. This is fresh install. Photos get uploaded, but thumbnails don't get generated. So it looks like this: In the diagnostic windows, under errors: It is clearly some problem with the permissions. I changed \uploads\ foleder to lychee/lychee 775, but it didn't work. And anytime I upload some pictures, folders that pictures land into change again to www-data/lychee 770. Also, as error log notes, "/v**********************lic/uploads/..." i don't know if this is "/uploads/..."? I am runing it on Truenas Electric Eel (supports docker natively), in docker. As a template, this docker compose file was used: Thank you :) Whole diagnostic tab: Errors Space |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
No it is a problem of URL. The permission is usually a problem when the folders/images are not created. This is clearly the case here. Here is the important error:
Can you go in your |
Beta Was this translation helpful? Give feedback.
-
Hello, You are correct. I also checked this, by downloading differnt size images from the menu, and that works fine. In the default docker-compose file, the environment variable APP_URL is commented out, so the default value is used. As it turns out, the default value is localhost. And this was not working for me. It now works OK, if I set the variable to the actual IP address:port, and it also works OK, if I use APP_URL="" . What is interesting though, If you just write APP_URL= (without the brackets) docker-compose doesn't recognize it as an empty string and just uses the previously used value. Thank you, for your quick support. |
Beta Was this translation helpful? Give feedback.
No it is a problem of URL. The permission is usually a problem when the folders/images are not created. This is clearly the case here.
Here is the important error:
Can you go in your
.env
file probably in thelychee/conf
folder and see the value ofAPP_URL
if it is defined.If not, I think you can just set it to empty
APP_URL=
that should make Lychee use an empty value for the pr…