ImmichI
Immich5mo ago
Eladio

Have thumbs in a different folder

II'm using Immich in Docker on a VPS with a Backblaze bucket mounted at /mnt/remote for 300GB of photos. I want imported images on /mnt/remote, but thumbnails need to stay on the VPS, not remotely.

My
.env
includes:

UPLOAD_LOCATION=/mnt/remote
THUMB_LOCATION=/home/xxxxx/docker-apps/immich-app/thumbs


Initially, my
docker-compose.yml
mapped thumbs under upload:

volumes:
  - ${UPLOAD_LOCATION}:/usr/src/app/upload
  - ${THUMB_LOCATION}:/usr/src/app/upload/thumbs
  - ./backblaze:/mnt/remote


This saved thumbs remotely.

Changing
docker-compose.yml
to separate thumbs:

volumes:
  - ${UPLOAD_LOCATION}:/usr/src/app/upload
  - ${THUMB_LOCATION}:/usr/src/app/thumbs # Changed path
  - ./backblaze:/mnt/backblaze


Now I get an ENOENT error: Immich can't find /usr/src/app/upload/thumbs/.immich. How do I keep thumbnails on the VPS while uploads go to the remote disk?
Was this page helpful?