#Existing server , thumbnail location wont change.

1 messages · Page 1 of 1 (latest)

sharp phoenix
#

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

golden karmaBOT
#

:wave: Hey @sharp phoenix,

Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich immich.

References

#

Checklist

I have...

  1. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time).
  2. :blue_square: read applicable release notes.
  3. :blue_square: reviewed the FAQs for known issues.
  4. :blue_square: reviewed Github for known issues.
  5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy).
  6. :blue_square: uploaded the relevant information (see below).
  7. :blue_square: 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)

Information

In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:

  • Your docker-compose.yml and .env files.
  • Logs from all the containers and their status (see above).
  • All the troubleshooting steps you've tried so far.
  • Any recent changes you've made to Immich or your system.
  • Details about your system (both software/OS and hardware).
  • Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h).
  • The version of the Immich server, mobile app, and other relevant pieces.
  • Any other information that you think might be relevant.

Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

golden ether
#

${THUMB_LOCATION}:/usr/src/app/thumbnail what is this?

sharp phoenix
#

/usr/src/app/upload/thumbs

#

should be /thumbs ?

#

im sorry,

#

yea it works thanks!

#

i thnk this happend bc of chatgpt took a look at it once to correct my .yml layout abnd outlining , jsut hallucinated thumbnails int it. Need to be more cautious it appears

golden ether
#

yeah I figured 😉 take care

sharp phoenix
#

im afraid i cheered too early.

[Nest] 26 - 05/13/2025, 4:23:23 PM ERROR [Microservices:StorageService] Failed to read upload/thumbs/.immich: Error: ENOENT: no such file or directory, open 'upload/thumbs/.immich'

So i removed the old thumb location and it did create this filders : /upload/thumbs/.immich by itself
But the server won't start if the old location is not in place and it refuses to generate thumbnails to the location in the .env

golden ether
#

you will have to create the .immich file itself, it will not re make it

sharp phoenix
#

/mnt/external/upload/thumbs$ ls -a
. .. .immich

so this path should be the correct one

This is now in my .env
THUMB_LOCATION=/mnt/external/thumbs

Im a bit confused how the path should be like .. do i need to change .env to /mnt/external/upload/thumbs?
i didnt create the .immich file in this subfolder but i can be wrong

placid sparrow
#

the env should be whatever the host path is

sharp phoenix
#

okay i fixed it , the path in the compose file was also off . Sorry i was really confused where the issues was. Thanks for you support and patience!

agile heron