How Do I use a USB External Hard Drive for UPLOAD_LOCATION
I want to use my external hard drive connected via USB as the
UPLOAD-LOCATION
for my immich app. I'm using the latest release of immich on docker desktop for Windows 10. I've purged the project several time, making sure to delete everything related to the project.
Most recent attempt I've kept everything as defaults excpet changing the UPLOAD_LOCATION
in the .env
file:
I know that the docker knows where the D: drive is now because I added D:\immich\library without creating the library directory before launch and docker created that directory for me. When uploading via the webapp, the image was not put into that directory and it still sits empty.
I'm using an 8TB usb hard drive and the immich web app says the storage is only 1,006.9GiB
I have no idea where this photo gets uploaded to my computer because even searching for it returns no results. The only place I can see data for that image is on Docker Desktop app in the immich_server files under `src/app/upload/upload/81c3d...e78/96/6f/imagefile.png26 Replies
:wave: Hey @brain,
Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich :immich:.
References
- Container Logs:
docker compose logs
docs
- Container Status: docker compose ps
docs
- Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
Checklist
1. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
2. :ballot_box_with_check: I have read applicable release notes.
3. :ballot_box_with_check: I have reviewed the FAQs for known issues.
4. :ballot_box_with_check: I have reviewed Github for known issues.
5. :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
6. :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files using the buttons below or the /upload
command.
7. :ballot_box_with_check: I have tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable
(an item can be marked as "complete" by reacting with the appropriate number)
If this ticket can be closed you can use the /close
command, and re-open it later if needed.@brain uploaded
@brain uploaded
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
Please open powershell and type
Get-ChildItem D:\immich -File -Recurse
I did that and it returned nothing and still doesnt show anything in the folder
can you please post a screenshot?
Let's try this:
Get-ChildItem D:\ -Recurse

That one did a lot more
but I assume you have other files on D:
non Imimch
How did you install Docker? WSL, or Docker Desktop ?
I do but not a lot and I got Docker via Docker Desktop
Stack Overflow
Cannot mount volume for drive d:\ or e:\ in Docker Desktop for Windows
Searched the internet and Stackoverflow for this but had no success
Using Docker for Desktop version 4.12.0 on Windows 10 with WSL2 as the backend.
In the Windows command prompt window, the following
This might be related
Either way this is definitely a Docker dekstop related issue, maybe someone here who uses it can chime in later. We recommend linux/docker compose as Docker on other OS is not a great experience
That makes a lot of sense, its certainly because of the other files on that drive
Thanks for all the help I really appreciate it
you said Immich made the folder this time.. then you uploaded images?
and when you go to
cd D:\immich
, what do you see ?Yea when I did it the last time I just tried adding \librabry to the end of D:\immich and it created that folder for me
but wont upload there
can you describe what you tried?
when you say "won't upload"
does the web UI work? how many pictures did you upload?
Just 1 picture upload on the web and it uploads but only to the docker /src/
can you download the picture from the web?
can you run
docker inspect immich_server
and post it here?
Can't tell you if I can download from the web becasue I shut down the server to try mounting just the full D: drive
I'm getting new errors

Docker Community Forums
Docker Data Volumes and Windows mounts
Hello – I have browsed the forums here, lots of google searches, the git-hub documents and anywhere else I have been pointed. The question I cannot seem to get a firm answer for is the following Does docker volumes for Windows only mount volumes on C:\ ? Or can I create standard windows mounts for a secondary drive letter, like say an E:\ Or ...
I'll have to look at that tomorrow, thanks again
Great news, I got the usb external hard drive mounted; only thing I needed to update from the default settings was
UPLOAD_LOCATION=D:\
I can see the 8TB available on my immich web app and when uploading it uploads right to D:\upload
That post you sent from stackoverflow was correct docker only allows the full drive to be mounted not subfolders in the drive @Zeus