Difference in the number of photos assigned to a person between the web and the mobile app #7638

Open
opened 2026-02-05 13:11:38 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @davcolme on GitHub (Oct 27, 2025).

Originally assigned to: @bwees on GitHub.

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

  • Yes

The bug

Hi everyone,

I’ve noticed a discrepancy between the web interface and the mobile app in the number of photos assigned to a person through face recognition.

On the web server, for a specific person, I see 3964 photos assigned, while in the mobile app it shows 3980.
The difference seems to come from older assignments that I manually removed a while ago (because they were incorrect), but the mobile app still shows them as if they were never deleted.

I’ve already tried the following steps:

Deleted the local database file (.sql).

Logged out of the mobile app.

Logged back in and let it fully synchronize.

However, the photo count is still inconsistent.

Has anyone else experienced this?
Is there a way to force the mobile app to completely refresh or re-sync face assignments from the server?

Thanks in advance 🙏

The OS that Immich Server is running on

24.04.3 LTS

Version of Immich Server

v.2.1.0

Version of Immich Mobile App

2.1.0 build.3022

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

samsung M31 android 12

Your docker-compose.yml content

version: "3.8"
services:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    volumes:
      - ${UPLOAD_LOCATION}:/data
      - /etc/localtime:/etc/localtime:ro
      - /mnt/immich-data/Fotos:/external-photos: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
    image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
    volumes:
      - /docker/immich/model-cache:/cache
    env_file:
      - stack.env
    restart: always
    healthcheck:
      disable: false

  redis:
    container_name: immich_redis
    image: redis:6.2
    healthcheck:
      test: redis-cli ping || exit 1
    restart: always
    volumes:
      - /docker/immich/redis:/data

  database:
    container_name: immich_postgres
    image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      POSTGRES_INITDB_ARGS: '--data-checksums'
    volumes:
      - ${DB_DATA_LOCATION}:/var/lib/postgresql/data
    shm_size: 128mb
    restart: always
    networks:
      default:
        aliases:
          - database

Your .env content

UPLOAD_LOCATION=/mnt/immich-data
DB_DATA_LOCATION=/docker/immich/postgres
IMMICH_VERSION=release
DB_PASSWORD=12345678
DB_USERNAME=postgres
DB_DATABASE_NAME=immich

Reproduction steps

  1. Wait for the automatic face scan to complete.
  2. Edit one of the assigned faces, removing it because it does not belong to that person.
  3. Check the number of photos linked to that person in the web interface.
  4. Check the number of photos linked to the same person in the mobile app.
  5. Notice that there is a discrepancy in the photo count between web and app.
    .

Relevant log output


Additional information

No response

Originally created by @davcolme on GitHub (Oct 27, 2025). Originally assigned to: @bwees on GitHub. ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug Hi everyone, I’ve noticed a discrepancy between the web interface and the mobile app in the number of photos assigned to a person through face recognition. On the web server, for a specific person, I see 3964 photos assigned, while in the mobile app it shows 3980. The difference seems to come from older assignments that I manually removed a while ago (because they were incorrect), but the mobile app still shows them as if they were never deleted. I’ve already tried the following steps: Deleted the local database file (.sql). Logged out of the mobile app. Logged back in and let it fully synchronize. However, the photo count is still inconsistent. Has anyone else experienced this? Is there a way to force the mobile app to completely refresh or re-sync face assignments from the server? Thanks in advance 🙏 ### The OS that Immich Server is running on 24.04.3 LTS ### Version of Immich Server v.2.1.0 ### Version of Immich Mobile App 2.1.0 build.3022 ### Platform with the issue - [ ] Server - [ ] Web - [x] Mobile ### Device make and model samsung M31 android 12 ### Your docker-compose.yml content ```YAML version: "3.8" services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} volumes: - ${UPLOAD_LOCATION}:/data - /etc/localtime:/etc/localtime:ro - /mnt/immich-data/Fotos:/external-photos: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 image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} volumes: - /docker/immich/model-cache:/cache env_file: - stack.env restart: always healthcheck: disable: false redis: container_name: immich_redis image: redis:6.2 healthcheck: test: redis-cli ping || exit 1 restart: always volumes: - /docker/immich/redis:/data database: container_name: immich_postgres image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0 environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_INITDB_ARGS: '--data-checksums' volumes: - ${DB_DATA_LOCATION}:/var/lib/postgresql/data shm_size: 128mb restart: always networks: default: aliases: - database ``` ### Your .env content ```Shell UPLOAD_LOCATION=/mnt/immich-data DB_DATA_LOCATION=/docker/immich/postgres IMMICH_VERSION=release DB_PASSWORD=12345678 DB_USERNAME=postgres DB_DATABASE_NAME=immich ``` ### Reproduction steps 1. Wait for the automatic face scan to complete. 2. Edit one of the assigned faces, removing it because it does not belong to that person. 3. Check the number of photos linked to that person in the web interface. 4. Check the number of photos linked to the same person in the mobile app. 5. Notice that there is a discrepancy in the photo count between web and app. . ### Relevant log output ```shell ``` ### Additional information _No response_
Author
Owner

@shiuh67 commented on GitHub (Jan 6, 2026):

I'm experiencing a very similar issue with v2.4.1.

My Situation:
The same photo shows different face tags between Web and Android app.

Example from my screenshots:

Photo: 2023-04-30 23.38.04.jpg (the group photo with kids in yellow shirts)
Android app (Image 1):

Shows 5 people tagged, including "陳艷秋" (65歲)
Web interface (Image 3):

Only shows 3 people tagged (幼稚園-曾, 幼稚園-陳, and two more)
"陳艷秋" is NOT tagged in this photo
Person profile view:

Android (Image 2): "陳艷秋" profile shows 250 items, including this 2023-04-30 photo
Web (Image 4): "陳艷秋" profile shows 249 items, and this photo appears to be correctly excluded
Summary:
Android app: Incorrectly includes "陳艷秋" in the group photo
Web interface: Correctly shows this person is not in that photo
The person's photo count differs by 1 between platforms (250 vs 249)
Environment:
Immich Version: v2.4.1
Platform: Web + Android
Issue: Face tags are inconsistent between platforms for the same photo
This seems to be a data synchronization issue where the Android app is showing incorrect or outdated face recognition data.

Screenshots attached:

Image 1: Android - Photo detail showing wrong person tagged
Image 2: Android - Person profile with incorrect photo count (250)
Image 3: Web - Same photo with correct tags (person not included)
Image 4: Web - Person profile with correct photo count (249)

Image
Image
Image
Image

@shiuh67 commented on GitHub (Jan 6, 2026): I'm experiencing a very similar issue with v2.4.1. My Situation: The same photo shows different face tags between Web and Android app. Example from my screenshots: Photo: 2023-04-30 23.38.04.jpg (the group photo with kids in yellow shirts) Android app (Image 1): Shows 5 people tagged, including "陳艷秋" (65歲) Web interface (Image 3): Only shows 3 people tagged (幼稚園-曾, 幼稚園-陳, and two more) "陳艷秋" is NOT tagged in this photo Person profile view: Android (Image 2): "陳艷秋" profile shows 250 items, including this 2023-04-30 photo Web (Image 4): "陳艷秋" profile shows 249 items, and this photo appears to be correctly excluded Summary: Android app: Incorrectly includes "陳艷秋" in the group photo Web interface: Correctly shows this person is not in that photo The person's photo count differs by 1 between platforms (250 vs 249) Environment: Immich Version: v2.4.1 Platform: Web + Android Issue: Face tags are inconsistent between platforms for the same photo This seems to be a data synchronization issue where the Android app is showing incorrect or outdated face recognition data. Screenshots attached: Image 1: Android - Photo detail showing wrong person tagged Image 2: Android - Person profile with incorrect photo count (250) Image 3: Web - Same photo with correct tags (person not included) Image 4: Web - Person profile with correct photo count (249) ![Image](https://github.com/user-attachments/assets/1e555923-8ed6-49d0-b62d-bbb56dfac93c) ![Image](https://github.com/user-attachments/assets/477b1b5d-58e5-4430-ac75-e68d45217751) ![Image](https://github.com/user-attachments/assets/62b0b3c3-1dff-45d0-a335-c8f652e18b8e) ![Image](https://github.com/user-attachments/assets/43a82d0e-4516-4bad-8575-dcd93ea2932e)
Author
Owner

@Chrimbus9000 commented on GitHub (Jan 24, 2026):

I have the same issue on v2.4.1. It seems to have occurred after I manually removed a face tag on the web that was incorrectly tagged (photo info -> edit people -> delete face). This face tag was removed from the photo on the web, but remains on mobile. This seems to have occurred for half a dozen photos.

@Chrimbus9000 commented on GitHub (Jan 24, 2026): I have the same issue on v2.4.1. It seems to have occurred after I manually removed a face tag on the web that was incorrectly tagged (photo info -> edit people -> delete face). This face tag was removed from the photo on the web, but remains on mobile. This seems to have occurred for half a dozen photos.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#7638