ImmichI
Immich•8mo ago
Gurry

Existing server , thumbnail location wont change.

Hi i have a issue with my thumbnails.
as far as i know ive set them to get stored on the ssd which i mounted on a specific location . I just won't take over that location and puts them in the upload location.. The server won't even start if i remove the folder with .immich in it while it is in place on the location in the . env . The weird part is is that the db loaction take the correct location but thumbs just refuse to follow the path.
So the thumbs are now here and refuse to go anywher else . : /tank/library/thumbs/f342e33 ( this is a hdd zfs pool)
I want them to go here but ...
ls -a /mnt/external/thumbs/
. .. .immich
Sorry about the confusing name of the mountpoint. Its an internal SSD 🙂
It happend when i set the server up and now my DB is there im too afraid to try to move it now since i can't even move the thumbnails without crashing it all.


.env file:

You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables


The location where your uploaded files are stored

UPLOAD_LOCATION=/tank/library

The location where your database files are stored

DB_DATA_LOCATION=/mnt/external/postgres
THUMB_LOCATION=/mnt/external/thumbs

To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List

TZ=Etc/UTC


The Immich version to use. You can pin this to a specific version like "v1.71.0"

IMMICH_VERSION=release



Docker compose.yml partial

networks:
default:
name: immich_network

services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
volumes:
  • ${UPLOAD_LOCATION}:/usr/src/app/upload
  • ${THUMB_LOCATION}:/usr/src/app/thumbnail
  • /etc/localtime:/etc/localtime:ro
    env_file:
  • .env
    ports:
  • 2283:2283
    depends_on:
  • redis
  • database
    restart: always
Was this page helpful?