immich icon indicating copy to clipboard operation
immich copied to clipboard

Searching for album in android app not working

Open tobox opened this issue 5 months ago • 4 comments
trafficstars

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

  • [x] Yes

The bug

Note: The behaviour is not 100% reproducible. I can trigger it by starting the android app, clicking on albums and then start typing into the search box too rapidly.

In the android app, when i type letters into the search text box, after each "matching" letter the correct matchings albums shows up briefly, but then the whole albums list reappears (with all the non-matching albums). After typing additional letters the same thing happens, the correct results are shown briefly but then the whole album list reappears.

The OS that Immich Server is running on

Debian/Portainer/Docker

Version of Immich Server

v1.134.0

Version of Immich Mobile App

v1.134.0

Platform with the issue

  • [ ] Server
  • [ ] Web
  • [x] 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:905c4ee67b8e0aa955331960d2aa745781e6bd89afc44a8584bfd13bc890f0ae
    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:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
    image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
    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
    restart: always

volumes:
  model-cache:

Your .env content

UPLOAD_LOCATION=/opt/immich-data/library
DB_DATA_LOCATION=/opt/immich-data/postgres
IMMICH_VERSION=release
DB_PASSWORD=XXXXXXXXXXXXXXX
DB_USERNAME=postgres
DB_DATABASE_NAME=immich

Reproduction steps

See above.

Relevant log output

Contains private data and seems to be useless... Here is a redacted version:

2025-06-11 11:12:34.723190 | info     | SyncService          | Synced changes of remote album Urlaub Kroatien und Österreich 2022 to DB |
2025-06-11 11:12:33.952802 | info     | SyncService          | Synced changes of remote album Brunnenbau und Bewässerung to DB |
2025-06-11 11:12:31.430461 | info     | SyncService          | Synced changes of remote album Holz to DB |
2025-06-11 11:12:30.028609 | info     | SyncService          | Synced changes of remote album Haus Montage PV
2018 to DB |
...
2025-06-11 11:12:21.207142 | info     | BackupNotifier       | _getBackupAlbumsInfo: Found 33 available albums |
2025-06-11 11:12:19.561973 | info     | SyncService          | Synced changes of remote album Weihnachten to DB |
2025-06-11 11:12:18.853100 | info     | AlbumService         | 'Recents' is not selected, keeping only selected albums |
2025-06-11 11:12:18.853085 | info     | AlbumService         | Found 33 device albums |
2025-06-11 11:12:18.711490 | info     | SyncService          | Synced changes of remote album Konzert 2024 to DB |
2025-06-11 11:12:18.609871 | info     | BackupNotifier       | Found 33 local albums |
2025-06-11 11:12:18.332685 | info     | BackupNotifier       | [_resumeBackup] Start back up |

Additional information

No response

tobox avatar Jun 11 '25 09:06 tobox

Could you provide a video recording of the issue? I cannot seem to be able to reproduce this on my Pixel 6.

YarosMallorca avatar Jun 11 '25 22:06 YarosMallorca

Yes, I was able to reproduce it and captured a video. Can I send you download link? Please send your contact information to [email protected]

tobox avatar Jun 14 '25 06:06 tobox

I was also able to narrow it down: the bug always occurs, when I search while the spinning circle next to the albums tab is visible. As soon as the spinning circle disappears, the search works properly.

The spinning circle is visible for about 20 seconds on my device. I also noticed that scrolling up and down in the album list is very laggy (Pixel 9 Pro XL, approx. 40 albums).

tobox avatar Jun 14 '25 06:06 tobox

I was also able to narrow it down: the bug always occurs, when I search while the spinning circle next to the albums tab is visible. As soon as the spinning circle disappears, the search works properly.

The spinning circle is visible for about 20 seconds on my device. I also noticed that scrolling up and down in the album list is very laggy (Pixel 9 Pro XL, approx. 40 albums).

Exactly my experience (Me and Wife). This problem has existed since I installed Immich over a year ago.

Both Pixel 8, approximately 70 albums

derKlinz avatar Jun 15 '25 11:06 derKlinz

#19370

alextran1502 avatar Jun 20 '25 16:06 alextran1502