Trying to store thumbs on another device than main images, but can't get it to work

Hi,

I'm trying to follow this (https://immich.app/docs/guides/custom-locations/) documentation page, to move thumbs and the other "fast needed" storage to a locally mounted block volume. I have my main images on a rclone mounted SFTP drive at /mnt/hetzner_storage_box/immich-library, and trying to move the thumbs to a locally mounted block volume /mnt/block_volume/immich.

However immich keeps complaining that it can't find the thumbs folders. I'll put some useful info below:

docker-compose.yml and .env: https://bpa.st/IC2Q

Error log:
immich_server            | [Nest] 17  - 06/02/2025, 1:16:17 PM   ERROR [Api:GlobalExceptionFilter~c6zoalyr] Unknown error: Error: ENOENT: no such file or directory, access 'upload/thumbs/dbae834e-2cb3-4a05-9fe6-03cfdaf920b9/5b/d0/5bd08f04-aa8f-4349-8036-990298dfbef5-thumbnail.webp'
immich_server            | Error: ENOENT: no such file or directory, access 'upload/thumbs/dbae834e-2cb3-4a05-9fe6-03cfdaf920b9/5b/d0/5bd08f04-aa8f-4349-8036-990298dfbef5-thumbnail.webp'
immich_server            |     at async access (node:internal/fs/promises:605:10)
immich_server            |     at async sendFile (/usr/src/app/dist/utils/file.js:53:9)
immich_server            |     at async AssetMediaController.viewAsset (/usr/src/app/dist/controllers/asset-media.controller.js:60:13)


A command that shows there is definitely a file there:
$ ls -lha /mnt/block_volume/immich/thumbs/dbae834e-2cb3-4a05-9fe6-03cfdaf920b9/5b/d0/5bd08f04-aa8f-4349-8036-990298dfbef5-thumbnail.webp
-rw-rw-r-- 1 root root 16K May 24 16:40 /mnt/block_volume/immich/thumbs/dbae834e-2cb3-4a05-9fe6-03cfdaf920b9/5b/d0/5bd08f04-aa8f-4349-8036-990298dfbef5-thumbnail.webp


Not sure what I'm doing wrong. Also I can't seem to bash into the container to do an ls from there.
Was this page helpful?