Skip to content

Immich app not showing all pictures #23057

Description

@andrzej-r

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

  • Yes

The bug

There are a number of similar issues, e.g. #17645, but the description that is best matching my experience is: https://www.reddit.com/r/immich/comments/1dev1ym/immich_app_not_showing_all_pictures/

After some time, usually several weeks after installation, Android Immich app starts missing some of the photos in the monitored directories. They are not shown in the Photos section at all, and therefore cannot be uploaded/backed up on the server. Uninstalling/reinstalling the app fixes the issue for another several weeks.

The issue is difficult to notice when it first occurs. Most of the photos appear in Photos as expected and only a small number of random photos is missing.

The OS that Immich Server is running on

Debian (LXC on Proxmox)

Version of Immich Server

v1.142.1

Version of Immich Mobile App

v2.1.0

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

Samsung M31

Your docker-compose.yml content

version: "3.8"
name: immich

services:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - .env
    ports:
      - 2283:2283
    depends_on:
      - redis
      - database
    restart: unless-stopped
    healthcheck:
      disable: false

  immich-machine-learning:
    container_name: immich_machine_learning
    # For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn] 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, rocm, openvino, openvino-wsl, rknn] for accelerated inference - use the `-wsl` version for WSL2 where applicable
    volumes:
      - ./model-cache:/cache
    env_file:
      - .env
    restart: unless-stopped
    healthcheck:
      disable: false

  redis:
    container_name: immich_redis
    #image: redis:6.2-alpine@sha256:c5a607fb6e1bb15d32bbcf14db22787d19e428d59e31a5da67511b49bb0f1ccc
    image: docker.io/valkey/valkey:8-bookworm@sha256:fea8b3e67b15729d4bb70589eb03367bab9ad1ee89c876f54327fc7c6e618571
    restart: unless-stopped
    healthcheck:
      test: redis-cli ping || exit 1

  database:
    container_name: immich_postgres
    image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:c44be5f2871c59362966d71eab4268170eb6f5653c0e6170184e72b38ffdf107
    env_file:
      - .env
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      POSTGRES_INITDB_ARGS: '--data-checksums'
      # Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
      # DB_STORAGE_TYPE: 'HDD'
    volumes:
      - ./pgdata:/var/lib/postgresql/data
    shm_size: 128mb
    restart: unless-stopped

Your .env content

# 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=/storage/photos

# 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
DB_PASSWORD=***

# The values below this line do not need to be changed
###################################################################################
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_DATABASE_NAME=immich

REDIS_HOSTNAME=immich_redis

IMMICH_SERVER_URL=https://***

Reproduction steps

  • I'm importing photos from my camera to my android phone (the specific application I use is OI.Share by Olympus/OM System, it saves photos in /SD card/DCIM/OMDS)
  • I open Immich, and I can see the imported images in Photos section, ready to upload.
    • At this stage I do not yet realise several random images are not showing up in this section
  • I upload all new (available) images to the server, put them in the albums etc.
  • Some time later I realise (by accident) a few images I expected to see were not uploaded to the Immich server.
    • I inspect the above import directory with a file browser - the missing images are in there together with all the successfully uploaded images.
    • I inspect the list of photos in the Android Immich app - it is missing some random photos
  • Updating the app to the newest version (currently 2.1.0 build.3022) does not resolve the issue.
  • Uninstalling and installing the app again fixes the issue - missing photos are now shown in the Photos section and can be uploaded to the Immich server. Immich app seems to work reliably.
  • The issue re-occurs a few weeks later. Once it misses some photos the issue starts occurring every time I import/upload photos (but still affecting only a small and random subset of all photos).

Relevant log output

Additional information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions