Upload location not being "honored"
hey all, I finally got Immich up and running. I think this is going to be really nice for the family photos. I am having one small problem though. The drive I am using to store my photos isn't being used, and when I upload photos, they show up as broken images.
here is the compose:
and when I go into the container I can see the folder (screenshot)
plus I can see the photos folder
Any thoughts as to what I am missing? when I try uploading a file i am honestly not sure where it is putting it, and when I login to the Immich interface, under storage it is only showing the 100GB of free space, not the 15TB drive I have

10 Replies

Are you using AIO image?
No, I am using a docker compose file, not the AIO
Can you post your full docker-compose file? the app look for the internal path at /usr/src/app/upload/
Pastebin
version: "3.4" # this must match the version in docker-compose.yml ...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
if it is looking for that path, how do I mount that path to my external drive?
in the original docker-compose file, you can see
${UPLOAD_LOCATION}:/usr/src/app/upload
the UPLOAD_LOCATION is read from the .env file
so you should keep the volumes
section in your compose file
and then it will work
what is the reasion to modify all the servcies in the original compose file?
We set it up so that it is plug-and-play system
changing it might cause issue down the road and harder to troubleshoot issues if you run into anyOK, i will play with that. I am using a system called DockStarter, https://github.com/GhostWriters/DockSTARTer
which helps manage all of my applications. the way to add new apps is to use the docker-compose.override.yml file
GitHub
GitHub - GhostWriters/DockSTARTer: DockSTARTer helps you get starte...
DockSTARTer helps you get started with running apps in Docker. - GitHub - GhostWriters/DockSTARTer: DockSTARTer helps you get started with running apps in Docker.
UPLOAD_LOCATION is an environment variable that is only used for the compose file itself. It is not meant to be passed to the containers as a value. It dynamically generates the volume:
${UPLOAD_LOCATION}:/usr/src/app/upload
. You don't have to use it, but you will need to add the volume to the containers yourself via /storage/element/photos:/usr/src/app/upload
ok, i will give this a shot
that worked!!!