I
Immich4mo ago
Sam

'Error loading image' starting recently and only effecting new parts of library

Hi all, Been using Immich for a number of months now, after some unspecified recent update, I began having issues with photos not wanting to load once uploaded into Immich. In this case, my last few weeks of uploaded photos all show 'Error loading image'. Here's an example of an error that gets thrown into console when click on one:
[Nest] 926 - 01/12/2025, 9:09:10 PM ERROR [Api:GlobalExceptionFilter~y1s3t5gt] Unknown error: Error: ENOENT: no such file or directory, access '/photos/thumbs/269b10a7-26c2-4815-9b53-7e9ecf2fe541/34/ba/34ba76f1-3a61-4fc2-84fd-cad7fd817675-preview.jpeg'
Error: ENOENT: no such file or directory, access '/photos/thumbs/269b10a7-26c2-4815-9b53-7e9ecf2fe541/34/ba/34ba76f1-3a61-4fc2-84fd-cad7fd817675-preview.jpeg'
at async access (node:internal/fs/promises:606:10)
at async sendFile (/app/immich/server/dist/utils/file.js:54:9)
at async AssetMediaController.viewAsset (/app/immich/server/dist/controllers/asset-media.controller.js:58:9)
[Nest] 926 - 01/12/2025, 9:09:10 PM ERROR [Api:GlobalExceptionFilter~y1s3t5gt] Unknown error: Error: ENOENT: no such file or directory, access '/photos/thumbs/269b10a7-26c2-4815-9b53-7e9ecf2fe541/34/ba/34ba76f1-3a61-4fc2-84fd-cad7fd817675-preview.jpeg'
Error: ENOENT: no such file or directory, access '/photos/thumbs/269b10a7-26c2-4815-9b53-7e9ecf2fe541/34/ba/34ba76f1-3a61-4fc2-84fd-cad7fd817675-preview.jpeg'
at async access (node:internal/fs/promises:606:10)
at async sendFile (/app/immich/server/dist/utils/file.js:54:9)
at async AssetMediaController.viewAsset (/app/immich/server/dist/controllers/asset-media.controller.js:58:9)
Entering into the Console mode of the Docker container shows that the file does seem to be accessible, but under ownership of nobody with -rw-rw-rw- permissions:
root@2291ed0dd770:/# cd /photos/thumbs/269b10a7-26c2-4815-9b53-7e9ecf2fe541/34/ba
root@2291ed0dd770:/photos/thumbs/269b10a7-26c2-4815-9b53-7e9ecf2fe541/34/ba# ls
34ba3072-6356-4d7d-9120-47e470c53014-preview.jpeg 34ba3072-6356-4d7d-9120-47e470c53014-thumbnail.webp
root@2291ed0dd770:/photos/thumbs/269b10a7-26c2-4815-9b53-7e9ecf2fe541/34/ba# ls -l 34ba3072-6356-4d7d-9120-47e470c53014-preview.jpeg
-rw-rw-rw- 1 abc users 265677 Jan 12 16:27 34ba3072-6356-4d7d-9120-47e470c53014-preview.jpeg
root@2291ed0dd770:/# cd /photos/thumbs/269b10a7-26c2-4815-9b53-7e9ecf2fe541/34/ba
root@2291ed0dd770:/photos/thumbs/269b10a7-26c2-4815-9b53-7e9ecf2fe541/34/ba# ls
34ba3072-6356-4d7d-9120-47e470c53014-preview.jpeg 34ba3072-6356-4d7d-9120-47e470c53014-thumbnail.webp
root@2291ed0dd770:/photos/thumbs/269b10a7-26c2-4815-9b53-7e9ecf2fe541/34/ba# ls -l 34ba3072-6356-4d7d-9120-47e470c53014-preview.jpeg
-rw-rw-rw- 1 abc users 265677 Jan 12 16:27 34ba3072-6356-4d7d-9120-47e470c53014-preview.jpeg
I have tried re-running the thumbnail build job for the entire library, but it doesn't seem to make a difference. I had googled around for my error and searched in this chat and found some errors pointing to a misconfiguration within the volumes. I've tried modifying those to be more in line with the docs but that didn't do the trick
11 Replies
Immich
Immich4mo ago
:wave: Hey @Sam, 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
Immich
Immich4mo ago
Checklist I have... 1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time). 2. :ballot_box_with_check: read applicable release notes. 3. :ballot_box_with_check: reviewed the FAQs for known issues. 4. :ballot_box_with_check: reviewed Github for known issues. 5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy). 6. :ballot_box_with_check: uploaded the relevant information (see below). 7. :ballot_box_with_check: 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.
GitHub
immich-app immich · Discussions
Explore the GitHub Discussions forum for immich-app immich. Discuss code, ask questions & collaborate with the developer community.
GitHub
Issues · immich-app/immich
High performance self-hosted photo and video management solution. - Issues · immich-app/immich
Tempest
Tempest4mo ago
Immich version?
Sam
SamOP4mo ago
v1.124.2 Unraid system, here's my Docker CLI that get's output upon reloading the container: https://hastebin.skyra.pw/itebuqecev.dockerfile Ran through Caddy
photos.xy.z {
request_body {
max_size 50000MB
}
reverse_proxy abc:9396
}
photos.xy.z {
request_body {
max_size 50000MB
}
reverse_proxy abc:9396
}
Previously I just had path mappings for: /mnt/user/photos_immich/ : /photos and /mnt/user/photos_import/ : /import which seemed to work. The recent addition of a bunch of trying things out based on what I've searched around. Sept 1st is my last full day of photos loading, theres a few scattered until Sept 6th, then after that it's all errors. Aug 30th had this release: https://github.com/immich-app/immich/discussions/12151 which I do remember having to fix OAuth, since I've got SSO through Authentik
Alex Tran
Alex Tran4mo ago
looks like your mount is not mounting correctly?
Sam
SamOP4mo ago
Any thoughts on how to troubleshoot?
Alex Tran
Alex Tran4mo ago
Do you use external library feature? what happen if you select those missing thumbnail photo and run thumbnail generation job for them?
Sam
SamOP4mo ago
No external libraries
[Nest] 708 - 01/12/2025, 11:52:53 PM ERROR [Microservices:JobService] Error: Input file is missing: /photos/upload/269b10a7-26c2-4815-9b53-7e9ecf2fe541/f1/ca/f1ca11fa-6b40-43de-84f4-5494f2fcd689.PNG
at Sharp.toBuffer (/app/immich/server/node_modules/sharp/lib/output.js:163:17)
at MediaRepository.decodeImage (/app/immich/server/dist/repositories/media.repository.js:57:68)
at MediaService.generateImageThumbnails (/app/immich/server/dist/services/media.service.js:161:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async MediaService.handleGenerateThumbnails (/app/immich/server/dist/services/media.service.js:111:25)
at async JobService.onJobStart (/app/immich/server/dist/services/job.service.js:148:28)
at async EventRepository.onEvent (/app/immich/server/dist/repositories/event.repository.js:134:13)
at async Worker.processJob (/app/immich/server/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
at async Worker.retryIfFailed (/app/immich/server/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
[Nest] 708 - 01/12/2025, 11:52:53 PM ERROR [Microservices:JobService] Object:
{
"id": "0239dbcb-2470-4df6-adca-1d280059bdc9"
}
[Nest] 708 - 01/12/2025, 11:52:53 PM ERROR [Microservices:JobService] Error: Input file is missing: /photos/upload/269b10a7-26c2-4815-9b53-7e9ecf2fe541/f1/ca/f1ca11fa-6b40-43de-84f4-5494f2fcd689.PNG
at Sharp.toBuffer (/app/immich/server/node_modules/sharp/lib/output.js:163:17)
at MediaRepository.decodeImage (/app/immich/server/dist/repositories/media.repository.js:57:68)
at MediaService.generateImageThumbnails (/app/immich/server/dist/services/media.service.js:161:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async MediaService.handleGenerateThumbnails (/app/immich/server/dist/services/media.service.js:111:25)
at async JobService.onJobStart (/app/immich/server/dist/services/job.service.js:148:28)
at async EventRepository.onEvent (/app/immich/server/dist/repositories/event.repository.js:134:13)
at async Worker.processJob (/app/immich/server/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
at async Worker.retryIfFailed (/app/immich/server/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
[Nest] 708 - 01/12/2025, 11:52:53 PM ERROR [Microservices:JobService] Object:
{
"id": "0239dbcb-2470-4df6-adca-1d280059bdc9"
}
When attempting to manually refresh thumbnail I went looking on the disk, this file actually does not exist ?
Alex Tran
Alex Tran4mo ago
Did you happen to remove files from upload location at some points? please post your docker-compose and .env file
Sam
SamOP4mo ago
Docker CLI output in this hastebin post. unRAID, not using compose.
Mraedis
Mraedis4mo ago
Check in at the guys over at #unraid (Unraid is not an "official" way of installing things)

Did you find this page helpful?