Where are my docker volumes located on disk
The docker compose file says I have my volumes in /usr/src/app/upload, but my actual /usr/src on my machine has no /app. I was told the right side is a relative path, so where is the actual volume file for the docker volume located on my machine?

25 Replies
I've deleted my images from my upload location on the disk, but the images still appear in the immich server, so I am wondering where the actual images are stored if the ones from my UPLOAD_LOCATION have been deleted but still persist on the immich server


images do not show their thumbnails or load, but the server still thinks I have 37gb of content uploaded

what is the value in your .env?
the upload location?

yeah, so the files is at
/media/debian/hhd/immichuploads
I deleted them to try to reupload my library from my phone as it is fairly small, so theres nothing there
but its still showing on the web interface
i restarted the container too

Does immich have some sort of cache?
Ah you want a completely new instance
yes
the volume doesn't get deleted when you bring down the container, you have to explicitly delete them
FAQ | Immich
What is the difference between the cloud icon on the mobile app?

pg_data volume
got it
so if I remove it and rebuild the container, it will be like a new instance?
Yes
thanks
I was so confused since I thought docker would store the files literally on disk and not relative to container
š
those are called volume and for store persistence data like database, so the data doesn't get removed upon container restart
I see
makes sense
So my earlier issue of docker volumes disappearing is unrelated
?
Perhaps since the volume can still be seen here
They reappeared after I signed into the Gnome gui lockscreen manually, but when connecting remotely, they would not appear
but i used terminal remotely through 3rd party and not direct ssh, so that's probably the issue
thanks for the help!
Still says 37gb used on the web interface, but my db volume is 50mb


nevermind, it was just this folder

now its good to go