I
Immich2w ago
TK423

People - Error Loading Image

Hi there, On the People page, the Featured Photo is not loading for the majority of identified individuals. Attempting to manually select a featured photo does not resolve the issue. Instead of showing an photo, most people entries display an “Error loading image” image. This cannot be replaced. Running Face Detection job does not tfix the issue. I’m new to Immich and running it via Docker. I’ve done my best to research the issue, but I may have missed something — appreciate any guidance and patience. Below are my docker-compose.yml, .env, and relevant logs for reference. Thanks in advance for your help!
53 Replies
Immich
Immich2w ago
:wave: Hey @TK423, 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.
TK423
TK423OP2w ago
.env
volumes:
model-cache:
# 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=/mnt/immich
# The location where your database files are stored
DB_DATA_LOCATION=./postgres

# 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

# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=***********

# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
volumes:
model-cache:
# 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=/mnt/immich
# The location where your database files are stored
DB_DATA_LOCATION=./postgres

# 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

# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=***********

# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
!
!2w ago
can you upload it as a txt file discord should give you an option to upload it as a text file instead if its longer than 4000 characters
TK423
TK423OP2w ago
Container Status
44226393ff94 ghcr.io/immich-app/immich-server:release "tini -- /bin/bash s…" 5 days ago Up 18 hours (healthy) 0.0.0.0:2283->2283/tcp, :::2283->2283/tcp immich_server
278304031b5d ghcr.io/immich-app/immich-machine-learning:release "tini -- python -m i…" 5 days ago Up 18 hours (healthy) immich_machine_learning
9a8659dcd24e tensorchord/pgvecto-rs:pg14-v0.2.0 "docker-entrypoint.s…" 5 days ago Up 18 hours (healthy) 5432/tcp immich_postgres
7bc5491d7ce5 redis:6.2-alpine "docker-entrypoint.s…" 5 days ago Up 18 hours (healthy) 6379/tcp immich_redis
44226393ff94 ghcr.io/immich-app/immich-server:release "tini -- /bin/bash s…" 5 days ago Up 18 hours (healthy) 0.0.0.0:2283->2283/tcp, :::2283->2283/tcp immich_server
278304031b5d ghcr.io/immich-app/immich-machine-learning:release "tini -- python -m i…" 5 days ago Up 18 hours (healthy) immich_machine_learning
9a8659dcd24e tensorchord/pgvecto-rs:pg14-v0.2.0 "docker-entrypoint.s…" 5 days ago Up 18 hours (healthy) 5432/tcp immich_postgres
7bc5491d7ce5 redis:6.2-alpine "docker-entrypoint.s…" 5 days ago Up 18 hours (healthy) 6379/tcp immich_redis
No use of reverse proxy, only accessing local via IP. Ubuntu Server running in a VMWare VM.
TK423
TK423OP2w ago
Server v1.131.3. App Android 1.131.3 build.193. Issue appears on both devices.
Mraedis
Mraedis2w ago
hi @TK423 are you running this in snap docker?
TK423
TK423OP2w ago
Hi @Mraedis. No on snap docker. Docker version 26.1.3, build 26.1.3-0ubuntu1~22.04.1.
Mraedis
Mraedis2w ago
Hi @TK423 if I had to guess, your upload location is mounted on a network drive? And said drive has disconnected during part of the operation
TK423
TK423OP2w ago
The Ubuntu server is running via a VMWare VM with Immich installed in a VMWare shared folder on a drive in a Windows box. Acknowledge that may be a bit niche or unorthodox. With that said, I wouldn't think it would've disconnected. The DAS the drive is in is consistently up and accessible. If it did disconnect during the operation, rerunning the Faces job or manually selecting a featured photo for each person should both work, right? But at the moment neither of those options do.
Mraedis
Mraedis2w ago
in a VMWare shared folder on a drive in a Windows box
what 👀
TK423
TK423OP2w ago
Yeah, sorry. Didn't explain that super well.
Mraedis
Mraedis2w ago
It sounds like you're running a VM on windows, which should be fine Are there other images that have errors or is it just the people page?
TK423
TK423OP2w ago
Correct, that's exactly the situation. Photos are stored on a Windows-attached DAS and shared to the VM using VMware Shared Folders. A:\Locker\Photos\Immich Library on the Windows DAS shared to VM as .host:/immich, mounts inside the VM at /mnt/immich. No, the only issue is with the People page. No issues anywhere else, functionality everywhere else in Immich is great.
Mraedis
Mraedis2w ago
People thumbnails are made during the face detection+grouping phases, when you ran those, did the logs output anything? docker compose logs should should anything relevant ongoing or when you access the web page, it might also show errors
TK423
TK423OP2w ago
Just reran the job now, will send over log details once it completes. Really appreciate your assistance.
TK423
TK423OP2w ago
TK423
TK423OP2w ago
I'm admittedly an absolute and complete beginner but seeing a lot of
immich_server | [Nest] 6 - 04/11/2025, 11:57:35 PM ERROR [Microservices:{"id":"70c0a6b9-8c32-4c07-add7-7644b307ac6b"}] Unable to run job handler (thumbnailGeneration/generate-person-thumbnail): Error: Asset adc18c62-8082-4b05-bff5-42e34676b4bc dimensions are unknown
immich_server | [Nest] 6 - 04/11/2025, 11:57:35 PM ERROR [Microservices:{"id":"70c0a6b9-8c32-4c07-add7-7644b307ac6b"}] Unable to run job handler (thumbnailGeneration/generate-person-thumbnail): Error: Asset adc18c62-8082-4b05-bff5-42e34676b4bc dimensions are unknown
Mraedis
Mraedis2w ago
What happens when you navigate to http(s)://your.url.or.ip/photos/dc18c62-8082-4b05-bff5-42e34676b4bc ?
TK423
TK423OP2w ago
No description
Mraedis
Mraedis2w ago
I forgot an a in front of the hash, so adc... Now you forgot a c at the end 😛
TK423
TK423OP2w ago
Haha, sorry about that. Brought me to the photo, loaded no issue.
Mraedis
Mraedis2w ago
Can you post the image details?
Mraedis
Mraedis2w ago
For instance
No description
TK423
TK423OP2w ago
No description
Mraedis
Mraedis2w ago
Note the lack of dimensions, as the job was complaining about if you tick "Refresh Metadata" in the 3 dots menu, does that go well (just follow the logs)
TK423
TK423OP2w ago
immich_server | Error: Asset d8d03a97-2eb6-4198-9b46-440e5be2b320 dimensions are unknown
immich_server | at PersonService.getInputDimensions (/usr/src/app/dist/services/person.service.js:520:19)
immich_server | at PersonService.handleGeneratePersonThumbnail (/usr/src/app/dist/services/person.service.js:445:57)
immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
immich_server | at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:156:28)
immich_server | at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:126:13)
immich_server | at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
error from daemon in stream: Error grabbing logs: invalid character '\x00' looking for beginning of value
immich_server | Error: Asset d8d03a97-2eb6-4198-9b46-440e5be2b320 dimensions are unknown
immich_server | at PersonService.getInputDimensions (/usr/src/app/dist/services/person.service.js:520:19)
immich_server | at PersonService.handleGeneratePersonThumbnail (/usr/src/app/dist/services/person.service.js:445:57)
immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
immich_server | at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:156:28)
immich_server | at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:126:13)
immich_server | at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
error from daemon in stream: Error grabbing logs: invalid character '\x00' looking for beginning of value
Mraedis
Mraedis2w ago
Well that's certainly concerning
error from daemon in stream: Error grabbing logs: invalid character '\x00' looking for beginning of value
Is a docker error btw, not an immich one You could try exiftool -ee3 -U -G3:1 -api requestall=3 -api largefilesupport INSERT_FILEPATH_HERE on a file selection and see if it shows you anything ^ on the vm
TK423
TK423OP2w ago
Nothing standing out strange that I can see.
Mraedis
Mraedis2w ago
mm yeah even has size in there Well I'm stumped, calling in the cavalry
TK423
TK423OP2w ago
Appreciate your help and time.
aviv
aviv2w ago
Can you take a picture of the settings you set under Image Settings? https://my.immich.app/admin/system-settings?isOpen=image I encountered a similar problem when trying to find a solution to another problem https://github.com/immich-app/immich/issues/17292#issuecomment-2775524938 Can you see if this is the same problem as yours?
TK423
TK423OP2w ago
No description
TK423
TK423OP2w ago
I cannot speak to the potential cause outlined in that post but the issue itself is the same. Some users don't get featured photos and they can't be manually set.
No description
aviv
aviv2w ago
Can you check the resolution of this image?
TK423
TK423OP2w ago
24 MP 6000 x 4000
Alex Tran
Alex Tran2w ago
@sogan Any thought?
aviv
aviv2w ago
Can you check by the image's filename in your system's file manager whether it has thumbnails created? For example:
No description
aviv
aviv2w ago
When I experienced the problem here, I noticed that all the Peoples that have associated faces have their images on disk, but there is something strange about the faces with the error: The images do appear when you go to the images of the People with the error But when you zoom in, the image displays an error (even when you try to download the image) Therefore, you should also check that the image does exist on your disk and that you are able to view it properly through your system's image viewer
TK423
TK423OP2w ago
Hm, I don't think I'm seeing a preview or thumbnail for d78aafca-d345-47fe-8ba5-c711b96de394.
master@linux-virtual-machine:~/immich-app$ find /mnt/immich/thumbs -name "*d78aafca*"
master@linux-virtual-machine:~/immich-app$ find /mnt/immich/thumbs -name "*d78aafca*"
master@linux-virtual-machine:~/immich-app$ find /mnt/immich -name "*d78aafca*"
/mnt/immich/upload/618f8428-2f6f-4c69-8431-62760081fbbf/d7/8a/d78aafca-d345-47fe-8ba5-c711b96de394.jpg
master@linux-virtual-machine:~/immich-app$
master@linux-virtual-machine:~/immich-app$ find /mnt/immich/thumbs -name "*d78aafca*"
master@linux-virtual-machine:~/immich-app$ find /mnt/immich/thumbs -name "*d78aafca*"
master@linux-virtual-machine:~/immich-app$ find /mnt/immich -name "*d78aafca*"
/mnt/immich/upload/618f8428-2f6f-4c69-8431-62760081fbbf/d7/8a/d78aafca-d345-47fe-8ba5-c711b96de394.jpg
master@linux-virtual-machine:~/immich-app$
Confirmed able to zoom in and open d78aafca-d345-47fe-8ba5-c711b96de394 no problem.
aviv
aviv2w ago
Can you try performing a manual refresh and see if there are any errors?
No description
TK423
TK423OP2w ago
All three refresh options?
aviv
aviv2w ago
No, just the last one.
TK423
TK423OP2w ago
I get a confirmation in the Immich UI but I'm not seeing anything in the log.
immich_server | [Nest] 7 - 04/18/2025, 2:58:15 PM LOG [Microservices:PersonService] Creating new person for face 1e771a4c-249f-4366-9d5c-cd25c39c6cb7
immich_server | [Nest] 7 - 04/18/2025, 2:58:15 PM LOG [Microservices:PersonService] Creating new person for face 1e771a4c-249f-4366-9d5c-cd25c39c6cb7
That's the last entry I see from when I did the face detection job earlier.
Alex Tran
Alex Tran2w ago
can you try incognito?
sogan
sogan2w ago
Thumbnail generation doesn’t have any logs if there are no errors It sounds like there are two issues: 1) missing (or at least inaccessible) thumbnails and 2) missing metadata To confirm, after refreshing metadata, then refreshing thumbnails for an asset, then refreshing faces for the asset, can you select it as the featured photo?
TK423
TK423OP2w ago
Like, access Immich via browser in incognito? Will try this. Refresh Metadata is "EXTRACT METADATA" under Jobs?
sogan
sogan2w ago
You can do it for just one asset by opening the asset and clicking the option It’ll be quicker
TK423
TK423OP2w ago
Everyone now has a featured photo on the People page but it does not seem I'm able to manually select featured photos for people. The issue appears to limited to all photos from the set of the specific photo we've been working off d78aafca-d345-47fe-8ba5-c711b96de394. Every photo from that shoot I'm unable to select as featured photos for people.
aviv
aviv2w ago
If you wish, you can upload some images as a zip file so we can diagnose the problem.

Did you find this page helpful?