I
Immich4mo ago
Leñador

Switched thumbs to another disk, disaster

Hi all, im running immich on docker under a ubuntu server VM. I was storing the original files on a external nas and all the other files in the proxmox disk, but with time the size increase so i bought another disk just for the immich tems (thumb, encoded-video, etc...) I read the changelog and i can see that the /data is optional, so i dont know what im doing wrong, because now i cant see the pictures on the gui, but i can download it, so immich have access to the original ones If i add new ones, they work Immich 1.137.3 This is the docker compose (focused on the volumes) #version: "3.8" services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload - ${THUMBS_LOCATION}:/usr/src/app/upload/thumbs - ${PROFILE_LOCATION}:/usr/src/app/upload/profile - ${ENCODED_VIDEO_LOCATION}:/usr/src/app/upload/encoded-video - ${BACKUP_LOCATION}:/usr/src/app/upload/backups - /etc/localtime:/etc/localtime:ro env_file: - .env extends: #file: hwaccel.yml #service: hwaccel file: hwaccel.transcoding.yml service: quicksync ports: - 2283:2283 depends_on: - redis - database networks: - proxy - immich restart: always volumes: fotos-familia-originales: external: true networks: proxy: external: true immich: and the .env # The location where your uploaded files are stored UPLOAD_LOCATION=fotos-familia-originales #/home/docker/docker/immich/upload THUMBS_LOCATION=/mnt/immich-speed/upload/thumbs ENCODED_VIDEO_LOCATION=/mnt/immich-speed/upload/encoded-video PROFILE_LOCATION=/mnt/immich-speed/upload/profile #VIDEO_LOCATION=/usr/src/app/upload/encoded-video BACKUP_LOCATION=/mnt/immich-speed/upload/backups
18 Replies
Immich
Immich4mo ago
:wave: Hey @Leñador, 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 - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA 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.
Leñador
LeñadorOP4mo ago
No description
Alex Tran
Alex Tran4mo ago
You should troubleshoot to see if those mount points can be seen inside the server container
Leñador
LeñadorOP4mo ago
i need to effectively mount the folders like /mnt/immich-speed/upload/thumbs inside the immich container
Leñador
LeñadorOP4mo ago
a volume mount on /data is created... thats because is not recognizing the mount points?
No description
Leñador
LeñadorOP4mo ago
Just want to store the thumb and encoded video on another place
Alex Tran
Alex Tran4mo ago
yeah make sure that
THUMBS_LOCATION=/mnt/immich-speed/upload/thumbs
ENCODED_VIDEO_LOCATION=/mnt/immich-speed/upload/encoded-video
THUMBS_LOCATION=/mnt/immich-speed/upload/thumbs
ENCODED_VIDEO_LOCATION=/mnt/immich-speed/upload/encoded-video
Is accessible from within the container
Leñador
LeñadorOP4mo ago
I checked and is all accesible from inside the container. I tried running a job to rebuild thumbnails but i receive `[Nest] 7 - 08/05/2025, 6:18:05 PM ERROR [Microservices:{"id":"6ef98742-0a16-4d4e-a6bf-e30c0564227c"}] Unable to run job handler (AssetGenerateThumbnails): Error: VipsJpeg: ./lib/jpegli/decode_scan.cc:535: Incomplete scan detected. VipsJpeg: ./lib/jpegli/decode_marker.cc:554: Unexpected marker 0xd7 Error: VipsJpeg: ./lib/jpegli/decode_scan.cc:535: Incomplete scan detected. VipsJpeg: ./lib/jpegli/decode_marker.cc:554: Unexpected marker 0xd7 at Sharp.toBuffer (/usr/src/app/server/node_modules/sharp/lib/output.js:163:17) at MediaRepository.decodeImage (/usr/src/app/server/dist/repositories/media.repository.js:105:68) at MediaService.decodeImage (/usr/src/app/server/dist/services/media.service.js:177:59) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async MediaService.generateImageThumbnails (/usr/src/app/server/dist/services/media.service.js:189:44) at async MediaService.handleGenerateThumbnails (/usr/src/app/server/dist/services/media.service.js:116:25) at async JobService.onJobStart (/usr/src/app/server/dist/services/job.service.js:198:28) at async EventRepository.onEvent (/usr/src/app/server/dist/repositories/event.repository.js:126:13) at async /usr/src/app/server/node_modules/bullmq/dist/cjs/classes/worker.js:499:32 at async Worker.retryIfFailed (/usr/src/app/server/node_modules/bullmq/dist/cjs/classes/worker.js:775:24) [Nest] 7 - 08/05/2025, 6:18:05 PM ERROR [Microservices:{"id":"7acb2cc7-0d35-4bb5-ae7d-08421387f30f"}] Unable to run job handler (AssetGenerateThumbnails): Error: VipsJpeg: premature end of JPEG image Error: VipsJpeg: premature end of JPEG image
Alex Tran
Alex Tran4mo ago
hmm looks like something is up with your system, can you try remove the docker images and re pull them?
Leñador
LeñadorOP4mo ago
I did: 1) Docker compose down 2) Erase all images related to immich 3) Docker compose up -d This error appears when opening a image [Nest] 18 - 08/05/2025, 7:40:06 PM ERROR [Api:PersonController~9kcpe25u] Unable to send file: Error Error: ENOENT: no such file or directory, access '/usr/src/app/upload/thumbs/474f6c2d-38e3-4183-bfdb-4ff9e4321898/2b/43/2b43422a-cb29-4002-849d-db0acd404a6c.jpeg' at async access (node:internal/fs/promises:606:10) at async sendFile (/usr/src/app/server/dist/utils/file.js:49:9) at async PersonController.getPersonThumbnail (/usr/src/app/server/dist/controllers/person.controller.js:62:9) [Nest] 18 - 08/05/2025, 7:40:06 PM ERROR [Api:GlobalExceptionFilter~9kcpe25u] Unknown error: Error: ENOENT: no such file or directory, access '/usr/src/app/upload/thumbs/474f6c2d-38e3-4183-bfdb-4ff9e4321898/2b/43/2b43422a-cb29-4002-849d-db0acd404a6c.jpeg' Error: ENOENT: no such file or directory, access '/usr/src/app/upload/thumbs/474f6c2d-38e3-4183-bfdb-4ff9e4321898/2b/43/2b43422a-cb29-4002-849d-db0acd404a6c.jpeg' at async access (node:internal/fs/promises:606:10) at async sendFile (/usr/src/app/server/dist/utils/file.js:49:9) at async PersonController.getPersonThumbnail (/usr/src/app/server/dist/controllers/person.controller.js:62:9) For the new images, they are well stored on the external volume "fotos-familia-originales", but i dont get were are all the produced files being stored, its seem that on that new volume created mounted on /data, but if i go to that folder inside the container is empty
Alex Tran
Alex Tran4mo ago
so from the docker immich server, it is looking for this path
/usr/src/app/upload/thumbs/474f6c2d-38e3-4183-bfdb-4ff9e4321898/2b/43/2b43422a-cb29-4002-849d-db0acd404a6c.jpeg
/usr/src/app/upload/thumbs/474f6c2d-38e3-4183-bfdb-4ff9e4321898/2b/43/2b43422a-cb29-4002-849d-db0acd404a6c.jpeg
if you are exec into the immich_server container, I am pretty sure that the file isn't exist there
Leñador
LeñadorOP4mo ago
thats true, i dont know why but its not there. Its seems i need to regenerate all the thumbs
Alex Tran
Alex Tran4mo ago
make sure to double check your mount point at /mnt/immich-speed/upload/thumbs and /mnt/immich-speed/upload/encoded-video
Leñador
LeñadorOP4mo ago
I checked and its searching on the "new" second folder, i think my original thumbs where on the 4.1G
No description
Leñador
LeñadorOP4mo ago
but anyway, if its gonna work just rebuilding the thumbnails i can wait
Alex Tran
Alex Tran4mo ago
it means there is a new users?
Leñador
LeñadorOP4mo ago
not at all, but i copy the original upload folder and move it to another disk, so maybe that move broke the relation?

Did you find this page helpful?