ImmichI
Immich3mo ago
rose

UPLOAD_LOCATION and DB_DATA_LOCATION changing each time when container is restarted

I am on Ubuntu and I am having trouble changing my UPLOAD_LOCATION and DB_DATA_LOCATION in the .env file. I have my Immich docker compose file and other docker containers all on my user folder on my SSD, and the UPLOAD_LOCATION + DB_DATA_LOCATION specified on a hard disk drive. Everything worked great except whenever I bring my immich container down and back up it actually doesn't refer to that specified file anymore in the .env file and instead increments that original Immich folder by adding a "1" to the end of the folder name and makes a new folder in my SSD then refers to that one instead. In the screenshot provided, I'd have to delete the created "Almond's Data" folder because Immich has created that one and I'd have to go into my .env file and change the path to: /media/almond/Almond's Data1/Immich

This would fix it, but I would have to manually repeat this process everytime my computer restarted. I feel like I have definitely screwed up somewhere and just need a helping hand, thank you!
image.png
Was this page helpful?