immich icon indicating copy to clipboard operation
immich copied to clipboard

[BUG] Android: Stuck on the start screen when the server not reachable

Open cfpwastaken opened this issue 1 year ago • 0 comments

The bug

Immich gets stuck on its start screen (the one with just the logo) when the server isnt reachable.

The OS that Immich Server is running on

Alpine Linux, but it is dockerized, another image creator

Version of Immich Server

v1.66.1

Version of Immich Mobile App

v1.66.1

Platform with the issue

  • [ ] Server
  • [ ] Web
  • [X] Mobile

Your docker-compose.yml content

version: "3"
services:
  immich:
    image: ghcr.io/imagegenius/immich:latest
    container_name: immich
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Berlin
      - DB_HOSTNAME=postgres
      - DB_USERNAME=postgres
      - DB_PASSWORD=postgres
      - DB_DATABASE_NAME=immich
      - REDIS_HOSTNAME=redis
      #- DISABLE_MACHINE_LEARNING=false
      #- DISABLE_TYPESENSE=false
      - DB_PORT=5432 #optional
      - REDIS_PORT=6379 #optional
      - REDIS_PASSWORD= #optional
      - CUDA_ACCELERATION=false #optional
    volumes:
      - ./config:/config
      - ./photos:/photos
      - ./ml:/config/machine-learning #optional
    ports:
      - 1034:8080
    restart: unless-stopped
  redis:
    image: redis
    ports:
      - 6379:6379
    container_name: redis
  postgres:
    image: postgres:14
    ports:
      - 5432:5432
    container_name: postgres14
    environment:
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: postgres
      POSTGRES_DB: immich
    volumes:
      - postgres:/var/lib/postgresql/data

volumes:
   postgres:

Your .env content

I put the environment vars in the docker compose file

Reproduction steps

1. Have your server not working
2. Open the App
3. Never get past the logo

Additional information

Immich should either just show an error or show a cached version of the timeline and everything.

cfpwastaken avatar Jul 13 '23 17:07 cfpwastaken