Change UPLOAD_LOCATION= with an smb share #20479
|
Hi, I installed immich a while ago, I think it was version 1.99. Then there were a lot of updates, and I didn't have time to keep up with it. I have a Debian VM with Docker installed. I had previously managed to change the path from local to an SMB share managed by TrueNAS, and everything worked perfectly. I made the following changes in the docker-compose.yml file: In the .env file, I changed the path to: I deleted the old container and started over, but I can't get it to work. I'm no expert, so I guess I'm stuck on something stupid, but I can't find it. Could you tell me how to edit the .env and .yml files to get the same functionality as in the old version? Thanks. |
Replies: 5 comments 5 replies
|
You're not using the UPLOAD_LOCATION var in the compose file, so it's not applying at all. |
|
Sorry for my ignorance, I don't understand you. The docker-compose.yml file says: This makes me think I only need to edit the .env file. |
|
I wasn't clear with Google Translate. The same changes made on the new version don't work. |
|
I noticed I use UPLOAD_LOCATION=/mnt/photos/ in my .env file because everything is stored on a network share. So this seems to overrule the location in the docker-compose file - am I right? |
|
I think I succeeded by editing the files like this: docker-compose.yml .env |
I think I succeeded by editing the files like this:
docker-compose.yml
.env