Thumbnail display errors in Android app and iOS app #5837

Closed
opened 2026-02-05 11:47:03 +03:00 by OVERLORD · 17 comments
Owner

Originally created by @ZoltrixGFC on GitHub (Apr 16, 2025).

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

This might be a known issue, I did search for open issues that might be similar, but couldn't find one.

On both the Android and iOS apps, I've seen it happen multiple times now, where thumbnails that used to display ok, stop working. Eg:

Image

To fix this, I need to clear the app data on Android (or for iOS remove and reinstall the app), log back into the app, and they appear fine again. Eg:

Image

This issue doesn't occur on the web:

Image

The OS that Immich Server is running on

Ubuntu 22.04.5

Version of Immich Server

v1.131.3

Version of Immich Mobile App

1.131.3 build 193

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

name: immich

services:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    # extends:
    #   file: hwaccel.transcoding.yml
    #   service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
    volumes:
      # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - stack.env
    ports:
      - '2283:2283'
    depends_on:
      - redis
      - database
    restart: always
    healthcheck:
      disable: false

  immich-machine-learning:
    container_name: immich_machine_learning
    # For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.
    # Example tag: ${IMMICH_VERSION:-release}-cuda
    image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
    # extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
    #   file: hwaccel.ml.yml
    #   service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable
    volumes:
      - model-cache:/cache
    env_file:
      - stack.env
    restart: always
    healthcheck:
      disable: false

  redis:
    container_name: immich_redis
    image: docker.io/redis:6.2-alpine@sha256:148bb5411c184abd288d9aaed139c98123eeb8824c5d3fce03cf721db58066d8
    healthcheck:
      test: redis-cli ping || exit 1
    restart: always

  database:
    container_name: immich_postgres
    image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:739cdd626151ff1f796dc95a6591b55a714f341c737e27f045019ceabf8e8c52
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      POSTGRES_INITDB_ARGS: '--data-checksums'
    volumes:
      # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
      - ${DB_DATA_LOCATION}:/var/lib/postgresql/data
    healthcheck:
      test: >-
        pg_isready --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" || exit 1;
        Chksum="$$(psql --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" --tuples-only --no-align
        --command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')";
        echo "checksum failure count is $$Chksum";
        [ "$$Chksum" = '0' ] || exit 1
      interval: 5m
      start_interval: 30s
      start_period: 5m
    command: >-
      postgres
      -c shared_preload_libraries=vectors.so
      -c 'search_path="$$user", public, vectors'
      -c logging_collector=on
      -c max_wal_size=2GB
      -c shared_buffers=512MB
      -c wal_compression=on
    restart: always

volumes:
  model-cache:

Your .env content

UPLOAD_LOCATION=/mnt/immich
DB_DATA_LOCATION=./postgres
IMMICH_VERSION=release
DB_PASSWORD=
DB_USERNAME=postgres
DB_DATABASE_NAME=immich

Reproduction steps

  1. Open mobile app
  2. View thumbnails are missing
    ...

Relevant log output


Additional information

No response

Originally created by @ZoltrixGFC on GitHub (Apr 16, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug This might be a known issue, I did search for open issues that might be similar, but couldn't find one. On both the Android and iOS apps, I've seen it happen multiple times now, where thumbnails that used to display ok, stop working. Eg: ![Image](https://github.com/user-attachments/assets/f84075c1-f5e3-4142-909d-e2e5842bb672) To fix this, I need to clear the app data on Android (or for iOS remove and reinstall the app), log back into the app, and they appear fine again. Eg: ![Image](https://github.com/user-attachments/assets/2b2ca28f-0b50-4f08-b6d4-83a45c330beb) This issue doesn't occur on the web: ![Image](https://github.com/user-attachments/assets/4781558e-bc44-4418-9a62-e603047647ba) ### The OS that Immich Server is running on Ubuntu 22.04.5 ### Version of Immich Server v1.131.3 ### Version of Immich Mobile App 1.131.3 build 193 ### Platform with the issue - [ ] Server - [ ] Web - [x] Mobile ### Your docker-compose.yml content ```YAML name: immich services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} # extends: # file: hwaccel.transcoding.yml # service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding volumes: # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file - ${UPLOAD_LOCATION}:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro env_file: - stack.env ports: - '2283:2283' depends_on: - redis - database restart: always healthcheck: disable: false immich-machine-learning: container_name: immich_machine_learning # For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag. # Example tag: ${IMMICH_VERSION:-release}-cuda image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} # extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration # file: hwaccel.ml.yml # service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable volumes: - model-cache:/cache env_file: - stack.env restart: always healthcheck: disable: false redis: container_name: immich_redis image: docker.io/redis:6.2-alpine@sha256:148bb5411c184abd288d9aaed139c98123eeb8824c5d3fce03cf721db58066d8 healthcheck: test: redis-cli ping || exit 1 restart: always database: container_name: immich_postgres image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:739cdd626151ff1f796dc95a6591b55a714f341c737e27f045019ceabf8e8c52 environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_INITDB_ARGS: '--data-checksums' volumes: # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file - ${DB_DATA_LOCATION}:/var/lib/postgresql/data healthcheck: test: >- pg_isready --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" || exit 1; Chksum="$$(psql --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" --tuples-only --no-align --command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = '0' ] || exit 1 interval: 5m start_interval: 30s start_period: 5m command: >- postgres -c shared_preload_libraries=vectors.so -c 'search_path="$$user", public, vectors' -c logging_collector=on -c max_wal_size=2GB -c shared_buffers=512MB -c wal_compression=on restart: always volumes: model-cache: ``` ### Your .env content ```Shell UPLOAD_LOCATION=/mnt/immich DB_DATA_LOCATION=./postgres IMMICH_VERSION=release DB_PASSWORD= DB_USERNAME=postgres DB_DATABASE_NAME=immich ``` ### Reproduction steps 1. Open mobile app 2. View thumbnails are missing ... ### Relevant log output ```shell ``` ### Additional information _No response_
OVERLORD added the 📱mobile label 2026-02-05 11:47:03 +03:00
Author
Owner

@alextran1502 commented on GitHub (Apr 16, 2025):

Do you know if you have deleted those assets from the phone's file browser?

@alextran1502 commented on GitHub (Apr 16, 2025): Do you know if you have deleted those assets from the phone's file browser?
Author
Owner

@esammier commented on GitHub (Apr 16, 2025):

This seems to be a duplicate of https://github.com/immich-app/immich/issues/2486 and https://github.com/immich-app/immich/issues/4874. It happened to me as well today, just playing around with the app to test out Immich before migrating to it.

Logging out and back in seems to fix the corrupted assets, but it's still only a workaround.

@esammier commented on GitHub (Apr 16, 2025): This seems to be a duplicate of https://github.com/immich-app/immich/issues/2486 and https://github.com/immich-app/immich/issues/4874. It happened to me as well today, just playing around with the app to test out Immich before migrating to it. Logging out and back in seems to fix the corrupted assets, but it's still only a workaround.
Author
Owner

@ZoltrixGFC commented on GitHub (Apr 17, 2025):

@alextran1502 @esammier I don't think it is related to those other issues as I'm not deleting any images from the phones file browser. I'll see if I can replicate though.

@ZoltrixGFC commented on GitHub (Apr 17, 2025): @alextran1502 @esammier I don't think it is related to those other issues as I'm not deleting any images from the phones file browser. I'll see if I can replicate though.
Author
Owner

@kurt-k commented on GitHub (Apr 17, 2025):

Maybe related to this? #17500

@kurt-k commented on GitHub (Apr 17, 2025): Maybe related to this? #17500
Author
Owner

@AtmosphericIgnition commented on GitHub (Apr 18, 2025):

I've observed a similar issue lately. For me, the fix has been to go into the admin portal, and hit "Missing" for the "Generate Thumbnails" job.

@AtmosphericIgnition commented on GitHub (Apr 18, 2025): I've observed a similar issue lately. For me, the fix has been to go into the admin portal, and hit "Missing" for the "Generate Thumbnails" job.
Author
Owner

@ZoltrixGFC commented on GitHub (Apr 18, 2025):

But if they are showing in the web interface, wouldn't that mean the thumbnails are not missing?

@ZoltrixGFC commented on GitHub (Apr 18, 2025): But if they are showing in the web interface, wouldn't that mean the thumbnails are not missing?
Author
Owner

@ZoltrixGFC commented on GitHub (Apr 30, 2025):

Happening again (on version v1.132.1) and carried over to version v1.132.3. So it appears now photos that have been uploaded on my partners phone (iPhone), don't have the proper thumbnails when viewing on my Android phone. But the web intertace shows the thumbnails fine. My partners iPhone also shows the thumbails for the photos I've uploaded, and the ones they have uploaded fine.

Image

@ZoltrixGFC commented on GitHub (Apr 30, 2025): Happening again (on version v1.132.1) and carried over to version v1.132.3. So it appears now photos that have been uploaded on my partners phone (iPhone), don't have the proper thumbnails when viewing on my Android phone. But the web intertace shows the thumbnails fine. My partners iPhone also shows the thumbails for the photos I've uploaded, and the ones they have uploaded fine. ![Image](https://github.com/user-attachments/assets/1bdfb968-1147-4c26-986d-0c15523c3fef)
Author
Owner

@alextran1502 commented on GitHub (Apr 30, 2025):

Can you try logout and log back in? Also, can you share the image settings from the admin panel?

@alextran1502 commented on GitHub (Apr 30, 2025): Can you try logout and log back in? Also, can you share the image settings from the admin panel?
Author
Owner

@ZoltrixGFC commented on GitHub (Apr 30, 2025):

@alextran1502 hey mate, I tried logging out and back in before posting above, and still same issue. In terms of image settings, were these the ones you were after:

Image

@ZoltrixGFC commented on GitHub (Apr 30, 2025): @alextran1502 hey mate, I tried logging out and back in before posting above, and still same issue. In terms of image settings, were these the ones you were after: ![Image](https://github.com/user-attachments/assets/55ee1826-fde4-4ea2-9d03-de4a4bafbfe8)
Author
Owner

@alextran1502 commented on GitHub (Apr 30, 2025):

@ZoltrixGFC I have a feeling the UPLOAD_LOCATION might be unmounted. So what you see on the web is cached information. Can you try in incognito windows to see if the thumbnails are still displayed correctly? And check the UPLOAD_LOCATION mounting point

@alextran1502 commented on GitHub (Apr 30, 2025): @ZoltrixGFC I have a feeling the UPLOAD_LOCATION might be unmounted. So what you see on the web is cached information. Can you try in incognito windows to see if the thumbnails are still displayed correctly? And check the UPLOAD_LOCATION mounting point
Author
Owner

@ndewijer commented on GitHub (May 1, 2025):

I'm seeing the same issue on iPhone. Mostly only with pictures of the same day. Issue dissapears if logged out-logged back in or the next morning.

I haven't touched my Immich server for months except to make modifications due to breaking changes. I have a script that auto-updates the containers every month so I'm current on 1.132.3.

Compose file:


services:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    restart: always
    networks:
      - dockerlan
    ports:
      - 2283:2283
    env_file:
      - .env
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
    depends_on:
      - redis
      - database

  immich-machine-learning:
    container_name: immich_machine_learning
    image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
    networks:
      - dockerlan
    volumes:
      - ${DOCKERPATH}/immich/model:/cache
    env_file:
      - .env
    restart: always

  redis:
    container_name: immich_redis
    image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3
    networks:
      - dockerlan
    restart: always

  database:
    container_name: immich_postgres
    #image: tensorchord/pgvecto-rs:pg14-v0.1.11
    image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
    restart: always
    networks:
      - dockerlan
    env_file:
      - .env
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
    volumes:
      - ${DOCKERPATH}/immich/postgresql:/var/lib/postgresql/data
    labels:
      - "postgresql-backup"   

networks:
  dockerlan:
    external: true
@ndewijer commented on GitHub (May 1, 2025): I'm seeing the same issue on iPhone. Mostly only with pictures of the same day. Issue dissapears if logged out-logged back in or the next morning. I haven't touched my Immich server for months except to make modifications due to breaking changes. I have a script that auto-updates the containers every month so I'm current on 1.132.3. Compose file: ```version: "3.8" services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} restart: always networks: - dockerlan ports: - 2283:2283 env_file: - .env volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload depends_on: - redis - database immich-machine-learning: container_name: immich_machine_learning image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} networks: - dockerlan volumes: - ${DOCKERPATH}/immich/model:/cache env_file: - .env restart: always redis: container_name: immich_redis image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3 networks: - dockerlan restart: always database: container_name: immich_postgres #image: tensorchord/pgvecto-rs:pg14-v0.1.11 image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 restart: always networks: - dockerlan env_file: - .env environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} volumes: - ${DOCKERPATH}/immich/postgresql:/var/lib/postgresql/data labels: - "postgresql-backup" networks: dockerlan: external: true ```
Author
Owner

@ZoltrixGFC commented on GitHub (May 4, 2025):

@ZoltrixGFC I have a feeling the UPLOAD_LOCATION might be unmounted. So what you see on the web is cached information. Can you try in incognito windows to see if the thumbnails are still displayed correctly? And check the UPLOAD_LOCATION mounting point

Sorry this is on the Android app, browser is fine. So incognito mode won't work here.

Logging out and back in didn't fix it. I know that clearing the app and data cache on the Android app will fix it, but I've done that so many times now, rather not do it again :p

@ZoltrixGFC commented on GitHub (May 4, 2025): > [@ZoltrixGFC](https://github.com/ZoltrixGFC) I have a feeling the UPLOAD_LOCATION might be unmounted. So what you see on the web is cached information. Can you try in incognito windows to see if the thumbnails are still displayed correctly? And check the UPLOAD_LOCATION mounting point Sorry this is on the Android app, browser is fine. So incognito mode won't work here. Logging out and back in didn't fix it. I know that clearing the app and data cache on the Android app will fix it, but I've done that so many times now, rather not do it again :p
Author
Owner

@alextran1502 commented on GitHub (May 4, 2025):

@ZoltrixGFC hello, I meant to try on the browser incognito mode

@alextran1502 commented on GitHub (May 4, 2025): @ZoltrixGFC hello, I meant to try on the browser incognito mode
Author
Owner

@ZoltrixGFC commented on GitHub (May 5, 2025):

@alextran1502 sorry mate, I misunderstood your original question.

I've just tried now in a separate browser (Chrome), I normally use Firefox. I also used incognito mode in Chrome. But all of the thumbnails that don't show on the Android app, are still showing ok in incognito mode.

@ZoltrixGFC commented on GitHub (May 5, 2025): @alextran1502 sorry mate, I misunderstood your original question. I've just tried now in a separate browser (Chrome), I normally use Firefox. I also used incognito mode in Chrome. But all of the thumbnails that don't show on the Android app, are still showing ok in incognito mode.
Author
Owner

@derguenner commented on GitHub (May 8, 2025):

I have a similiar issue and it occurs a few times a day. I just need to close the app on iOs completly and after reopening it, everything is fine:

Image

@derguenner commented on GitHub (May 8, 2025): I have a similiar issue and it occurs a few times a day. I just need to close the app on iOs completly and after reopening it, everything is fine: ![Image](https://github.com/user-attachments/assets/081097a7-9a38-4832-aaaf-1b014d3056b7)
Author
Owner

@ghost commented on GitHub (May 11, 2025):

i Have a similar issue on IOS, and it happen i don't know why, it can even happen when i do litterally nothing on it i come back later and the issue is there.

But unlike on the Creator of the issue only "log out and login fix the issue ... thar reapear later without explaination", as the only thing i do is open time to time (and the auto upload of new one)

@ghost commented on GitHub (May 11, 2025): i Have a similar issue on IOS, and it happen i don't know why, it can even happen when i do litterally nothing on it i come back later and the issue is there. But unlike on the Creator of the issue only "log out and login fix the issue ... thar reapear later without explaination", as the only thing i do is open time to time (and the auto upload of new one)
Author
Owner

@ghost commented on GitHub (May 14, 2025):

I know how to get the error on iOS and fix it,

To get the error, open the app and let it backup photos don't close it or enter the app again for a day/two then once you open the app you will see the blur.

Close the app and re open it everything is normal again.

I think something to do with how Apple changes the state of the application in the background.. idk 😏

@ghost commented on GitHub (May 14, 2025): I know how to get the error on iOS and fix it, To get the error, open the app and let it backup photos don't close it or enter the app again for a day/two then once you open the app you will see the blur. Close the app and re open it everything is normal again. I think something to do with how Apple changes the state of the application in the background.. idk 😏
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#5837