Smilebags
Smilebags
IImmich
Created by Smilebags on 1/1/2025 in #help-desk-support
UPLOAD_LOCATION folder on host doesn't contain Immich files
As in the title, the folder specified in UPLOAD_LOCATION env var seems to be ignored, as though it's not mounted. /usr/src/app/upload within the docker container does contain the files, but that is not reflected on the host system. I manually copied the contents from within docker to that location, but it is clear that it is still not 'connected'. I'd love some pointers as to where I might have gone wrong. Relevant config/terminal output: docker-compose.yml
services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
...
services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
...
.env
UPLOAD_LOCATION=/skyhawk/immich
...
UPLOAD_LOCATION=/skyhawk/immich
...
Exploring the contents of the docker container
$ sudo docker compose exec -it immich-server bash
root@4de1d68c4601:/usr/src/app# cd /usr/src/app/upload
root@4de1d68c4601:/usr/src/app/upload# ls
encoded-video immich library profile thumbs upload
$ sudo docker compose exec -it immich-server bash
root@4de1d68c4601:/usr/src/app# cd /usr/src/app/upload
root@4de1d68c4601:/usr/src/app/upload# ls
encoded-video immich library profile thumbs upload
External drive info
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
...
skyhawk 3771083392 3519114240 251969152 94% /skyhawk
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
...
skyhawk 3771083392 3519114240 251969152 94% /skyhawk
sudo docker system df running but is slow so pending results. Immich seems to pick up the right drive information in the UI: 3.3 TiB of 3.5 TiB used I previously had the env var mounted to a different path (which is a subfolder within my user directory and Immich would instead provide the disk usage of that drive (500gb, 80gb of which is Immich files). Using the path that the drive is actually mounted at did seem to fix the disk usage stats in the UI but hasn't otherwise fixed it. Anything obvious that I might have missed?
68 replies