Android app crashes on startup after update to v1.123.0 #4982

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

Originally created by @ln-12 on GitHub (Dec 19, 2024).

The bug

After the update to to 1.123.0 of the mobile app in Android, it crashes right after opening it:
https://github.com/user-attachments/assets/58f8f206-e7e1-4934-a1c2-ec3ae0919eb8

It also happens if I turn off any internet connection.

The OS that Immich Server is running on

Android 15

Version of Immich Server

v1.122.3 or v1.123.0

Version of Immich Mobile App

1.123.0

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:v1.123.0
    # extends:
    #   file: hwaccel.transcoding.yml
    #   service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
    volumes:
      - ./data/library:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - .env
    depends_on:
      - immich_redis
      - immich_postgres
    restart: unless-stopped
    labels:
      - traefik.enable=true
      - traefik.http.routers.immich.entrypoints=https
      - traefik.http.routers.immich.rule=Host(`XXXXXX`)
      - traefik.http.services.immich.loadbalancer.server.port=2283
    networks:
      immich_network:
      traefik_network:
        ipv4_address: XXX.XXX.XXX.XXX


  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:v1.123.0
    # 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:
      - ./data/model-cache:/cache
    env_file:
      - .env
    restart: unless-stopped
    healthcheck:
      disable: false
    networks:
      - immich_network

  immich_redis:
    container_name: immich_redis
    image: docker.io/redis:6.2-alpine@sha256:eaba718fecd1196d88533de7ba49bf903ad33664a92debb24660a922ecd9cac8
    healthcheck:
      test: redis-cli ping || exit 1
    restart: unless-stopped
    networks:
      - immich_network

  immich_postgres:
    container_name: immich_postgres
    image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      POSTGRES_INITDB_ARGS: '--data-checksums'
    volumes:
      - ./data/pgdata:/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: unless-stopped
    networks:
      - immich_network

networks:
  immich_network: {}
  traefik_network:
    external: true

Your .env content

# Connection secret for postgres. You should change it to a random password
DB_PASSWORD=XXX

# 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

Reproduction steps

  1. Use Android app v1.123.0
  2. Try to open the app

Relevant log output

No response

Additional information

No response

Originally created by @ln-12 on GitHub (Dec 19, 2024). ### The bug After the update to to 1.123.0 of the mobile app in Android, it crashes right after opening it: https://github.com/user-attachments/assets/58f8f206-e7e1-4934-a1c2-ec3ae0919eb8 It also happens if I turn off any internet connection. ### The OS that Immich Server is running on Android 15 ### Version of Immich Server v1.122.3 or v1.123.0 ### Version of Immich Mobile App 1.123.0 ### 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:v1.123.0 # extends: # file: hwaccel.transcoding.yml # service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding volumes: - ./data/library:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro env_file: - .env depends_on: - immich_redis - immich_postgres restart: unless-stopped labels: - traefik.enable=true - traefik.http.routers.immich.entrypoints=https - traefik.http.routers.immich.rule=Host(`XXXXXX`) - traefik.http.services.immich.loadbalancer.server.port=2283 networks: immich_network: traefik_network: ipv4_address: XXX.XXX.XXX.XXX 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:v1.123.0 # 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: - ./data/model-cache:/cache env_file: - .env restart: unless-stopped healthcheck: disable: false networks: - immich_network immich_redis: container_name: immich_redis image: docker.io/redis:6.2-alpine@sha256:eaba718fecd1196d88533de7ba49bf903ad33664a92debb24660a922ecd9cac8 healthcheck: test: redis-cli ping || exit 1 restart: unless-stopped networks: - immich_network immich_postgres: container_name: immich_postgres image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_INITDB_ARGS: '--data-checksums' volumes: - ./data/pgdata:/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: unless-stopped networks: - immich_network networks: immich_network: {} traefik_network: external: true ``` ### Your .env content ```Shell # Connection secret for postgres. You should change it to a random password DB_PASSWORD=XXX # 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 ``` ### Reproduction steps 1. Use Android app v1.123.0 2. Try to open the app ### Relevant log output _No response_ ### Additional information _No response_
Author
Owner

@alextran1502 commented on GitHub (Dec 19, 2024):

Hello,

What method do you use to acquire the app? Can you try to remove and reinstall the app?

@alextran1502 commented on GitHub (Dec 19, 2024): Hello, What method do you use to acquire the app? Can you try to remove and reinstall the app?
Author
Owner

@ln-12 commented on GitHub (Dec 19, 2024):

I downloaded it through the Google Play store. After deleting and reinstalling, it seems to work again.

Is there any additional information I can provide to help you avoid this behavior in the future?

@ln-12 commented on GitHub (Dec 19, 2024): I downloaded it through the Google Play store. After deleting and reinstalling, it seems to work again. Is there any additional information I can provide to help you avoid this behavior in the future?
Author
Owner

@ln-12 commented on GitHub (Dec 20, 2024):

These are the latest log messages after reinstalling the app. There seems to be no indication for an error:

Screenshot_20241219-220058

@ln-12 commented on GitHub (Dec 20, 2024): These are the latest log messages after reinstalling the app. There seems to be no indication for an error: ![Screenshot_20241219-220058](https://github.com/user-attachments/assets/b57c2148-e79b-4ae5-a7b1-c16616d696b1)
Author
Owner

@alextran1502 commented on GitHub (Dec 20, 2024):

I am not sure, it could be internal state hiccup. If it happens again, please let me know! I will also keep an eyes out and check the crash logs

Thank you for reporting

@alextran1502 commented on GitHub (Dec 20, 2024): I am not sure, it could be internal state hiccup. If it happens again, please let me know! I will also keep an eyes out and check the crash logs Thank you for reporting
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#4982