Mobile app not loading 'Photos' tab after logging out + logging back in as same user #7320

Closed
opened 2026-02-20 05:01:57 -05:00 by deekerman · 2 comments
Owner

Originally created by @Ivan8or on GitHub (Nov 9, 2025).

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

  • Yes

The bug

After logging out of a user on the android mobile app, and then immediately logging back in as the same user, the initial 'Photos' tag of the app does not load any photos.

Leaving the app for a different one and coming back resolves this issue, as well as logging in as a second user (whos images load correctly) and then logging back in as the first user (now images load correctly)

This issue is not present when using the web UI.

EDIT:
this issue was happening consistently when i was using password auth.

I have now been testing oauth (selfhosted keycloak) and the issue both does not happen with oauth and also seems to have gone away with password auth too...

The OS that Immich Server is running on

Debian; uname -a => 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 GNU/Linux

Version of Immich Server

v2.2.3

Version of Immich Mobile App

2.2.3 build.3026

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

Google Pixel 6 Android 16

Your docker-compose.yml content

name: immich

services:
  nginx:
    image: nginx:1.28.0
    hostname: <<<redacted>>>
    ports:
      - "22020:443"
    volumes:
      - ./app/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
      - ./app/nginx/ssl:/etc/nginx/ssl:ro
    restart: unless-stopped

  immich-server:
    container_name: immich_server
    hostname: <<<redacted>>>
    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:
      - .env
    ports:
      - 2283:2283
    depends_on:
      - redis
      - database
    restart: always
    healthcheck:
      disable: false

  immich-machine-learning:
    container_name: immich_machine_learning
    hostname: <<<redacted>>>
    # 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:
      - .env
    restart: always
    healthcheck:
      disable: false

  redis:
    container_name: immich_redis
    hostname: <<<redacted>>>
    image: docker.io/redis:6.2-alpine@sha256:e3b17ba9479deec4b7d1eeec1548a253acc5374d68d3b27937fcfe4df8d18c7e
    healthcheck:
      test: redis-cli ping || exit 1
    restart: always

  database:
    container_name: immich_postgres
    hostname: tmux.io
    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

# 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=./data/immich
# The location where your database files are stored
DB_DATA_LOCATION=./data/postgres

# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
# TZ=Etc/UTC

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=v2.2.3

# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=<<<redacted>>>

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

Reproduction steps

  1. open the android mobile app and ensure you are logged in as a user
  2. click on the user profile in the top right and press 'Sign Out', ensure you are taken back to the login page
  3. login as the same user
  4. you should now see that the 'Photos' view does not load any photos, even after waiting
  5. use your android gestures to navigate to a different application
  6. wait a few seconds, then navigate back to the immich app
  7. you should now see the 'Photos' view load photos properly after a short period
    ...

Relevant log output


Additional information

I recently upgraded from 1.119 before encountering this error. However, I did my due diligence and looked through every intermediate changelog, addressing all breaking changes notices. The app logs are free of any error / warning messages.

Originally created by @Ivan8or on GitHub (Nov 9, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug After logging out of a user on the android mobile app, and then immediately logging back in as the same user, the initial 'Photos' tag of the app does not load any photos. Leaving the app for a different one and coming back resolves this issue, as well as logging in as a second user (whos images load correctly) and then logging back in as the first user (now images load correctly) This issue is not present when using the web UI. EDIT: this issue was happening consistently when i was using password auth. I have now been testing oauth (selfhosted keycloak) and the issue both does not happen with oauth and also seems to have gone away with password auth too... ### The OS that Immich Server is running on Debian; `uname -a` => 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 GNU/Linux ### Version of Immich Server v2.2.3 ### Version of Immich Mobile App 2.2.3 build.3026 ### Platform with the issue - [ ] Server - [ ] Web - [x] Mobile ### Device make and model Google Pixel 6 Android 16 ### Your docker-compose.yml content ```YAML name: immich services: nginx: image: nginx:1.28.0 hostname: <<<redacted>>> ports: - "22020:443" volumes: - ./app/nginx/nginx.conf:/etc/nginx/nginx.conf:ro - ./app/nginx/ssl:/etc/nginx/ssl:ro restart: unless-stopped immich-server: container_name: immich_server hostname: <<<redacted>>> 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: - .env ports: - 2283:2283 depends_on: - redis - database restart: always healthcheck: disable: false immich-machine-learning: container_name: immich_machine_learning hostname: <<<redacted>>> # 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: - .env restart: always healthcheck: disable: false redis: container_name: immich_redis hostname: <<<redacted>>> image: docker.io/redis:6.2-alpine@sha256:e3b17ba9479deec4b7d1eeec1548a253acc5374d68d3b27937fcfe4df8d18c7e healthcheck: test: redis-cli ping || exit 1 restart: always database: container_name: immich_postgres hostname: tmux.io 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 ```Shell # 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=./data/immich # The location where your database files are stored DB_DATA_LOCATION=./data/postgres # To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List # TZ=Etc/UTC # The Immich version to use. You can pin this to a specific version like "v1.71.0" IMMICH_VERSION=v2.2.3 # Connection secret for postgres. You should change it to a random password # Please use only the characters `A-Za-z0-9`, without special characters or spaces DB_PASSWORD=<<<redacted>>> # The values below this line do not need to be changed ################################################################################### DB_USERNAME=postgres DB_DATABASE_NAME=immich ``` ### Reproduction steps 1. open the android mobile app and ensure you are logged in as a user 2. click on the user profile in the top right and press 'Sign Out', ensure you are taken back to the login page 3. login as the same user 4. you should now see that the 'Photos' view does not load any photos, even after waiting 5. use your android gestures to navigate to a different application 6. wait a few seconds, then navigate back to the immich app 7. you should now see the 'Photos' view load photos properly after a short period ... ### Relevant log output ```shell ``` ### Additional information I recently upgraded from 1.119 before encountering this error. However, I did my due diligence and looked through every intermediate changelog, addressing all breaking changes notices. The app logs are free of any error / warning messages.
Author
Owner

@bo0tzz commented on GitHub (Nov 9, 2025):

If you can't reproduce it anymore, I'm not sure there's much we can do.

@bo0tzz commented on GitHub (Nov 9, 2025): If you can't reproduce it anymore, I'm not sure there's much we can do.
Author
Owner

@Ivan8or commented on GitHub (Nov 9, 2025):

yeah this can probably be closed, maybe someone else ends up seeing the same thing sometime in the future and can repeat it...

sorry for the noise

@Ivan8or commented on GitHub (Nov 9, 2025): yeah this can probably be closed, maybe someone else ends up seeing the same thing sometime in the future and can repeat it... sorry for the noise
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/immich#7320
No description provided.