I
Immich2y ago
model

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.
No description
No description
11 Replies
ddshd
ddshd2y ago
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
EnochPrime
EnochPrime2y ago
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.
model
modelOP2y ago
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
ddshd
ddshd2y ago
Restart the containers Maybe it’ll fix the bug
model
modelOP2y ago
do be honest how do i do that
ddshd
ddshd2y ago
Portainer right?
model
modelOP2y ago
yes
ddshd
ddshd2y ago
I think you can go to the page that shows all your containers and then click restart
Alex Tran
Alex Tran2y ago
bring down and bring up the stack restart might not work correctly
model
modelOP2y ago
redeploy it ? yup found it looks like a restart didn't fix it i'll try to redeploy hm it said it failed
Alex Tran
Alex Tran2y ago
check the log, it should show you some clue

Did you find this page helpful?