[BUG] Photos missing from timeline in Android app #1500

Closed
opened 2026-02-05 02:05:07 +03:00 by OVERLORD · 17 comments
Owner

Originally created by @megatwig on GitHub (Oct 23, 2023).

The bug

Some of the photos I've uploaded from the Android app are no longer showing on my phone, but are showing on the web.

There are 7 photos under "Tuesday" on the web timeline, but only four on Android. The three missing on Android are all photos saved from Snapchat, which saves to DCIM/Snapchat which is a directory I've selected for backup. The files are still there on my phone.

Screenshot_20231023_134114
Screenshot_20231023_134744_Edge~2

The OS that Immich Server is running on

NixOS 23.05

Version of Immich Server

v1.82.1

Version of Immich Mobile App

v1.82.0 build.106

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

version: "3.8"

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
    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

  immich-web:
    container_name: immich_web
    image: ghcr.io/immich-app/immich-web:${IMMICH_VERSION:-release}
    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:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3
    restart: always

  database:
    container_name: immich_postgres
    image: postgres:14-alpine@sha256:28407a9961e76f2d285dc6991e8e48893503cc3836a4755bbc2d40bcc272a441
    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

  immich-proxy:
    container_name: immich_proxy
    image: ghcr.io/immich-app/immich-proxy:${IMMICH_VERSION:-release}
    environment:
      # Make sure these values get passed through from the env file
      - IMMICH_SERVER_URL
      - IMMICH_WEB_URL
    # ports:
    #   - 2283:8080
    depends_on:
      - immich-server
      - immich-web
    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=/xxx/photos

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

# Connection secrets for postgres and typesense. You should change these to random passwords
TYPESENSE_API_KEY=xxx
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

Unable to reproduce with new photos

Additional information

No response

Originally created by @megatwig on GitHub (Oct 23, 2023). ### The bug Some of the photos I've uploaded from the Android app are no longer showing on my phone, but are showing on the web. There are 7 photos under "Tuesday" on the web timeline, but only four on Android. The three missing on Android are all photos saved from Snapchat, which saves to `DCIM/Snapchat` which is a directory I've selected for backup. The files are still there on my phone. ![Screenshot_20231023_134114](https://github.com/immich-app/immich/assets/137281832/f76ae712-3ac7-460c-a4d1-7d09920209b2) ![Screenshot_20231023_134744_Edge~2](https://github.com/immich-app/immich/assets/137281832/83ae5d48-a9b7-40df-9b5c-69b56affe812) ### The OS that Immich Server is running on NixOS 23.05 ### Version of Immich Server v1.82.1 ### Version of Immich Mobile App v1.82.0 build.106 ### Platform with the issue - [ ] Server - [ ] Web - [X] Mobile ### Your docker-compose.yml content ```YAML version: "3.8" 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 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 immich-web: container_name: immich_web image: ghcr.io/immich-app/immich-web:${IMMICH_VERSION:-release} 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:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3 restart: always database: container_name: immich_postgres image: postgres:14-alpine@sha256:28407a9961e76f2d285dc6991e8e48893503cc3836a4755bbc2d40bcc272a441 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 immich-proxy: container_name: immich_proxy image: ghcr.io/immich-app/immich-proxy:${IMMICH_VERSION:-release} environment: # Make sure these values get passed through from the env file - IMMICH_SERVER_URL - IMMICH_WEB_URL # ports: # - 2283:8080 depends_on: - immich-server - immich-web 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=/xxx/photos # The Immich version to use. You can pin this to a specific version like "v1.71.0" IMMICH_VERSION=v1.82.1 # Connection secrets for postgres and typesense. You should change these to random passwords TYPESENSE_API_KEY=xxx 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 ```bash Unable to reproduce with new photos ``` ### Additional information _No response_
Author
Owner

@alextran1502 commented on GitHub (Oct 23, 2023):

Hello, can you help grab the mobile app log?

@alextran1502 commented on GitHub (Oct 23, 2023): Hello, can you help grab the mobile app log?
Author
Owner

@megatwig commented on GitHub (Oct 23, 2023):

Sure
Immich_log_2023-10-23T15_52_54.553669.csv

@megatwig commented on GitHub (Oct 23, 2023): Sure [Immich_log_2023-10-23T15_52_54.553669.csv](https://github.com/immich-app/immich/files/13072300/Immich_log_2023-10-23T15_52_54.553669.csv)
Author
Owner

@alextran1502 commented on GitHub (Oct 24, 2023):

Hello, do you mind uninstall the app and reinstall it?

@alextran1502 commented on GitHub (Oct 24, 2023): Hello, do you mind uninstall the app and reinstall it?
Author
Owner

@megatwig commented on GitHub (Oct 24, 2023):

They all show up fine after logging out and back in again

@megatwig commented on GitHub (Oct 24, 2023): They all show up fine after logging out and back in again
Author
Owner

@srsly4 commented on GitHub (Apr 3, 2024):

This issue was also occurring in my Android app but the whole year and more photos were missing.
But indeed, logging again fixed the issue.

However, I believe the bug can be reproduced by using some external tool to import photos AFTER the Android app was set up.

@srsly4 commented on GitHub (Apr 3, 2024): This issue was also occurring in my Android app but the whole year and more photos were missing. But indeed, logging again fixed the issue. However, I believe the bug can be reproduced by using some external tool to import photos AFTER the Android app was set up.
Author
Owner

@mediacrave commented on GitHub (May 1, 2024):

Can confirm, too much external modification to the web app can result in missing images in the Android app.
Even uploading images to the website.
Sign out and back in will fix the issue.

@mediacrave commented on GitHub (May 1, 2024): Can confirm, too much external modification to the web app can result in missing images in the Android app. Even uploading images to the website. Sign out and back in will fix the issue.
Author
Owner

@tof245 commented on GitHub (May 22, 2024):

I've run into this same issue after changing Android phones - when building the library the mobile app is missing large chunks of photos, even though they're all still present through the web app. Logging out and back in, installing and uninstalling haven't helped. Has anyone discovered any remedy to this? I'm not sure what else to try at this point.

@tof245 commented on GitHub (May 22, 2024): I've run into this same issue after changing Android phones - when building the library the mobile app is missing large chunks of photos, even though they're all still present through the web app. Logging out and back in, installing and uninstalling haven't helped. Has anyone discovered any remedy to this? I'm not sure what else to try at this point.
Author
Owner

@alextran1502 commented on GitHub (May 22, 2024):

@tof245 Can you ensure the bottom app bar doesn't have the spinning circle anymore when you are in the Photo tab

@alextran1502 commented on GitHub (May 22, 2024): @tof245 Can you ensure the bottom app bar doesn't have the spinning circle anymore when you are in the Photo tab
Author
Owner

@tof245 commented on GitHub (May 22, 2024):

@tof245 Can you ensure the bottom app bar doesn't have the spinning circle anymore when you are in the Photo tab

Yes, I don't see anything spinning there. The build of the rest of the photos was very snappy, so I don't think it's a loading issue. Is there a way to examine the logs or anything?

@tof245 commented on GitHub (May 22, 2024): > @tof245 Can you ensure the bottom app bar doesn't have the spinning circle anymore when you are in the Photo tab Yes, I don't see anything spinning there. The build of the rest of the photos was very snappy, so I don't think it's a loading issue. Is there a way to examine the logs or anything?
Author
Owner

@alextran1502 commented on GitHub (May 22, 2024):

@tof245 Yes, open the profile menu, there is a Logs option

@alextran1502 commented on GitHub (May 22, 2024): @tof245 Yes, open the profile menu, there is a Logs option
Author
Owner

@tof245 commented on GitHub (May 23, 2024):

Thanks. I do see an error around the time when I open the app:
image, although there are many successful requests as well. I wonder what could be causing this consistently?

@tof245 commented on GitHub (May 23, 2024): Thanks. I do see an error around the time when I open the app: ![image](https://github.com/immich-app/immich/assets/168773432/775a2626-9ccb-4a49-b624-8a19a9a49576), although there are many successful requests as well. I wonder what could be causing this consistently?
Author
Owner

@alextran1502 commented on GitHub (May 23, 2024):

@fyfrey We still see some users run into this error. Do you know what the potential cause could be? 🤔

@alextran1502 commented on GitHub (May 23, 2024): @fyfrey We still see some users run into this error. Do you know what the potential cause could be? 🤔
Author
Owner

@fyfrey commented on GitHub (May 23, 2024):

Cannot POST to ...full-sync: the server version is too old / incompatible with the app.

@fyfrey commented on GitHub (May 23, 2024): Cannot POST to ...full-sync: the server version is too old / incompatible with the app.
Author
Owner

@alextran1502 commented on GitHub (May 23, 2024):

@tof245 Can you make sure that your app and your server are on the same version?

@alextran1502 commented on GitHub (May 23, 2024): @tof245 Can you make sure that your app and your server are on the same version?
Author
Owner

@tof245 commented on GitHub (May 23, 2024):

@tof245 Can you make sure that your app and your server are on the same version?

They aren't actually - my app is version 1.105.0 (most recent on the Play store) while my server is still on 1.102.3. I've been avoiding updating my server given the warning about breaking changes - would you say it's safe to update it now?

@tof245 commented on GitHub (May 23, 2024): > @tof245 Can you make sure that your app and your server are on the same version? They aren't actually - my app is version 1.105.0 (most recent on the Play store) while my server is still on 1.102.3. I've been avoiding updating my server given the warning about breaking changes - would you say it's safe to update it now?
Author
Owner

@alextran1502 commented on GitHub (May 23, 2024):

@tof245 yes

@alextran1502 commented on GitHub (May 23, 2024): @tof245 yes
Author
Owner

@tof245 commented on GitHub (May 24, 2024):

Just updated my server and that seems to have done it - all the photos load now. Although initially there were some errors, logging out and back in seemed to result in a successful library build.

@tof245 commented on GitHub (May 24, 2024): Just updated my server and that seems to have done it - all the photos load now. Although initially there were some errors, logging out and back in seemed to result in a successful library build.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1500