immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
46.94k stars 2.32k forks source link

1 library, 3 devices, end at different dates #8358

Open Stooovie opened 6 months ago

Stooovie commented 6 months ago

The bug

I have 1 server and 3 client devices (iPhone, iPad, Mac). I only upload from the iPad.

Problem: Mac and iPhone shows everything as expected, but iPad (which is used to upload) ends at January, newer photos are not displayed. And even before January, all December-November photos are missing as well.

The OS that Immich Server is running on

Debian Bookworm (Proxmox LXC)

Version of Immich Server

1.100.0

Version of Immich Mobile App

1.99 b145

Platform with the issue

Your docker-compose.yml content

version: "3.8"

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

  immich-microservices:
    container_name: immich_microservices
    image: ghcr.io/immich-app/immich-server:release
    entrypoint: ["/bin/sh", "./start-microservices.sh"]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
    env_file:
      - .env
    depends_on:
      - redis
      - database
    restart: always

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

  redis:
    container_name: immich_redis
    image: redis:6.2
    restart: always

  database:
    container_name: immich_postgres
    image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
    env_file:
      - .env
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      PG_DATA: /var/lib/postgresql/data
    volumes:
      - pgdata:/var/lib/postgresql/data
    restart: always

volumes:
  pgdata:
  model-cache:

Your .env content

DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE_NAME=immich

REDIS_HOSTNAME=immich_redis

UPLOAD_LOCATION=/root/media

TYPESENSE_API_KEY=some-random-text

PUBLIC_LOGIN_PAGE_MESSAGE=
IMMICH_WEB_URL=http://immich-web:3000
IMMICH_SERVER_URL=http://immich-server:3001
IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003

Reproduction steps

1.open the same library on different devices

Additional information

Photos uploaded are from iCloud Photos.

Stooovie commented 6 months ago

Happened again within 24 hours of reinstalling. On the "uploader" (Master) iPad, Immich just doesn't reliably show recent photos. Clients/Slaves do work as expected. Super weird.

alextran1502 commented 5 months ago

Can you update the app and the server to the latest version and try again?

1e100 commented 4 months ago

I'm also having this problem, also with iPad. The sever and client are the latest, matching version. Another symptom - nothing shows up if I click on a face in facial recognition

jrasm91 commented 3 weeks ago

Can you please logout and log back in and if the issue persists, then share some mobile logs.