[BUG] Immich android forgets backup albums #2006

Closed
opened 2026-02-05 04:43:30 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @blistovmhz on GitHub (Jan 17, 2024).

The bug

I've seen this behaviour quite a few times, but after really ensuring that the app wasn't being put to sleep or killed by pm, the issue seemed to have resolved.
However, my immich server got rebooted at some point, and ever since, I'm unable to select and maintain selection of backup albums.
I'm able to view all images hosted on immich, but when I select a backup album, it shows selected, but shows 0 files out of sync out of a total of 0 attempting to be synced. A minute later, the backup selection is removed.
Not seeing anything in local logs to indicate a problem. The backup folder selection simply resets after a minute. doesn't seem like it ever gets initialised nor does it ever try to check server side files against local.

The OS that Immich Server is running on

Android

Version of Immich Server

1.88.2

Version of Immich Mobile App

1.92.1

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

version: "3.8"

#
# WARNING: Make sure to use the docker-compose.yml of the current release:
#
# https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
#
# The compose file on main may not be compatible with the latest release.
#

name: immich

services:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    command: [ "start.sh", "immich" ]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - .env
    ports:
      - 2283:3001
    depends_on:
      - redis
      - database
      - typesense
    restart: always

  immich-microservices:
    container_name: immich_microservices
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    # extends:
    #   file: hwaccel.yml
    #   service: hwaccel
    command: [ "start.sh", "microservices" ]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - .env
    depends_on:
      - redis
      - database
      - typesense
    restart: always

  immich-machine-learning:
    container_name: immich_machine_learning
    image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
    volumes:
      - model-cache:/cache
    env_file:
      - .env
    restart: always

  typesense:
    container_name: immich_typesense
    image: typesense/typesense:0.24.1@sha256:9bcff2b829f12074426ca044b56160ca9d777a0c488303469143dd9f8259d4dd
    environment:
      - TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
      - TYPESENSE_DATA_DIR=/data
      # remove this to get debug messages
      - GLOG_minloglevel=1
    volumes:
      - tsdata:/data
    restart: always

  redis:
    container_name: immich_redis
    image: redis:6.2-alpine@sha256:80cc8518800438c684a53ed829c621c94afd1087aaeb59b0d4343ed3e7bcf6c5
    restart: always

  database:
    container_name: immich_postgres
    image: postgres:14-alpine@sha256:50d9be76e9a90da4c781554955e0ffc79d9d5c4226838e64b36aacc97cbc35ad
    env_file:
      - .env
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
    volumes:
      - pgdata:/var/lib/postgresql/data
    restart: always

volumes:
  pgdata:
  model-cache:
  tsdata:

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=/mnt/immichdata

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

# Connection secrets for postgres and typesense. You should change these to random passwords
TYPESENSE_API_KEY="***"
DB_PASSWORD="***"

# 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. Honestly, no idea. Select backup album and it simply deselects itself after a minute.
2.
3.
...

Additional information

No response

Originally created by @blistovmhz on GitHub (Jan 17, 2024). ### The bug I've seen this behaviour quite a few times, but after really ensuring that the app wasn't being put to sleep or killed by pm, the issue seemed to have resolved. However, my immich server got rebooted at some point, and ever since, I'm unable to select and maintain selection of backup albums. I'm able to view all images hosted on immich, but when I select a backup album, it shows selected, but shows 0 files out of sync out of a total of 0 attempting to be synced. A minute later, the backup selection is removed. Not seeing anything in local logs to indicate a problem. The backup folder selection simply resets after a minute. doesn't seem like it ever gets initialised nor does it ever try to check server side files against local. ### The OS that Immich Server is running on Android ### Version of Immich Server 1.88.2 ### Version of Immich Mobile App 1.92.1 ### Platform with the issue - [ ] Server - [ ] Web - [X] Mobile ### Your docker-compose.yml content ```YAML version: "3.8" # # WARNING: Make sure to use the docker-compose.yml of the current release: # # https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml # # The compose file on main may not be compatible with the latest release. # name: immich services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} command: [ "start.sh", "immich" ] volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro env_file: - .env ports: - 2283:3001 depends_on: - redis - database - typesense restart: always immich-microservices: container_name: immich_microservices image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} # extends: # file: hwaccel.yml # service: hwaccel command: [ "start.sh", "microservices" ] volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro env_file: - .env depends_on: - redis - database - typesense restart: always immich-machine-learning: container_name: immich_machine_learning image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} volumes: - model-cache:/cache env_file: - .env restart: always typesense: container_name: immich_typesense image: typesense/typesense:0.24.1@sha256:9bcff2b829f12074426ca044b56160ca9d777a0c488303469143dd9f8259d4dd environment: - TYPESENSE_API_KEY=${TYPESENSE_API_KEY} - TYPESENSE_DATA_DIR=/data # remove this to get debug messages - GLOG_minloglevel=1 volumes: - tsdata:/data restart: always redis: container_name: immich_redis image: redis:6.2-alpine@sha256:80cc8518800438c684a53ed829c621c94afd1087aaeb59b0d4343ed3e7bcf6c5 restart: always database: container_name: immich_postgres image: postgres:14-alpine@sha256:50d9be76e9a90da4c781554955e0ffc79d9d5c4226838e64b36aacc97cbc35ad env_file: - .env environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} volumes: - pgdata:/var/lib/postgresql/data restart: always volumes: pgdata: model-cache: tsdata: ``` ### 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=/mnt/immichdata # The Immich version to use. You can pin this to a specific version like "v1.71.0" IMMICH_VERSION=release # Connection secrets for postgres and typesense. You should change these to random passwords TYPESENSE_API_KEY="***" DB_PASSWORD="***" # 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 ```bash 1. Honestly, no idea. Select backup album and it simply deselects itself after a minute. 2. 3. ... ``` ### Additional information _No response_
Author
Owner

@alextran1502 commented on GitHub (Jan 17, 2024):

Your server is out of date. Please make sure to update your server to the latest version since we don't guarantee backward compatibility at this stage.

@alextran1502 commented on GitHub (Jan 17, 2024): Your server is out of date. Please make sure to update your server to the latest version since we don't guarantee backward compatibility at this stage.
Author
Owner

@blistovmhz commented on GitHub (Jan 17, 2024):

Your server is out of date. Please make sure to update your server to the latest version since we don't guarantee backward compatibility at this stage.

Eyup. Durp. Updated server and everything working. I'd figured this out just as you replied.

FYI for others, strongly recommend if your app and server versions dont' match, give the server an update.

That said, is there nowhere we can download specific apk versions of the android app? Automatic app updates result in breaking changes = no good, especially as the update of the server side can't be automated due to changing docker-compose requirements.

@blistovmhz commented on GitHub (Jan 17, 2024): > Your server is out of date. Please make sure to update your server to the latest version since we don't guarantee backward compatibility at this stage. Eyup. Durp. Updated server and everything working. I'd figured this out just as you replied. FYI for others, strongly recommend if your app and server versions dont' match, give the server an update. That said, is there nowhere we can download specific apk versions of the android app? Automatic app updates result in breaking changes = no good, especially as the update of the server side can't be automated due to changing docker-compose requirements.
Author
Owner

@bo0tzz commented on GitHub (Jan 17, 2024):

is there nowhere we can download specific apk versions of the android app?

APK files are attached to the github releases.

@bo0tzz commented on GitHub (Jan 17, 2024): > is there nowhere we can download specific apk versions of the android app? APK files are attached to the github releases.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#2006