I
Immich•2y ago
neonz

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?
No description
25 Replies
neonz
neonzOP•2y ago
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
neonz
neonzOP•2y ago
No description
No description
neonz
neonzOP•2y ago
images do not show their thumbnails or load, but the server still thinks I have 37gb of content uploaded
No description
Alex Tran
Alex Tran•2y ago
what is the value in your .env?
neonz
neonzOP•2y ago
the upload location?
neonz
neonzOP•2y ago
No description
Alex Tran
Alex Tran•2y ago
yeah, so the files is at /media/debian/hhd/immichuploads
neonz
neonzOP•2y ago
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
neonz
neonzOP•2y ago
No description
neonz
neonzOP•2y ago
Does immich have some sort of cache?
Alex Tran
Alex Tran•2y ago
Ah you want a completely new instance
neonz
neonzOP•2y ago
yes
Alex Tran
Alex Tran•2y ago
the volume doesn't get deleted when you bring down the container, you have to explicitly delete them
Alex Tran
Alex Tran•2y ago
FAQ | Immich
What is the difference between the cloud icon on the mobile app?
neonz
neonzOP•2y ago
No description
neonz
neonzOP•2y ago
pg_data volume got it so if I remove it and rebuild the container, it will be like a new instance?
Alex Tran
Alex Tran•2y ago
Yes
neonz
neonzOP•2y ago
thanks I was so confused since I thought docker would store the files literally on disk and not relative to container šŸ™
Alex Tran
Alex Tran•2y ago
those are called volume and for store persistence data like database, so the data doesn't get removed upon container restart
neonz
neonzOP•2y ago
I see makes sense So my earlier issue of docker volumes disappearing is unrelated ?
Alex Tran
Alex Tran•2y ago
Perhaps since the volume can still be seen here
neonz
neonzOP•2y ago
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!
neonz
neonzOP•2y ago
Still says 37gb used on the web interface, but my db volume is 50mb
No description
No description
neonz
neonzOP•2y ago
nevermind, it was just this folder
No description
neonz
neonzOP•2y ago
now its good to go

Did you find this page helpful?