How Do I change what directory Immich is using for uploads
Hey everyone! I wanted to share that I'm working on my first home server project. I've done quite a bit of research on how immich works, including editing the env and docker-compose file. However, there's still one thing that has me stumped. I've configured immich to utilize my 4 TB hard drive in the server, but it seems to be using the home directory instead. This is evident on the web app, which only shows around 200 gigabytes, whereas it should be displaying at least 3.5 TB. By the way, in the .env file, I've set the upload location to one of the folders I created on the 4 TB hard drive, specifically "/media/server/media/immich". By the way this is all being done through portainer and the stack feature ( I followed the guide on the docs part of the website).
my docker compose file : https://hastebin.com/share/iluregoyax.yaml
my .env file : https://hastebin.com/share/niticizeye.shell
Hastebin
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
Hastebin
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.


11 Replies
When you upload a file where does it physically appear?
On your home directory or on your NAS? I’m just wondering if that storage indicator has a bug
I would check if the 4TB drive is actually mounted to that path. I've had a drive not mounted before and data was written to that path, but on the OS drive.
from what I'm seeing it's uploading to the directory pointed in the .env file
I guess the storage indicator is buged
it's mounted correctly to the path
So I guess it's just a bug within immichs storage indicator
Restart the containers
Maybe it’ll fix the bug
do be honest
how do i do that
Portainer right?
yes
I think you can go to the page that shows all your containers and then click restart
bring down and bring up the stack
restart might not work correctly
redeploy it ?
yup found it
looks like a restart didn't fix it
i'll try to redeploy
hm it said it failed
check the log, it should show you some clue