immich-app / immich

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

Some photos do not appear in Immich on iOS #9792

Open YannikBe opened 1 month ago

YannikBe commented 1 month ago

The bug

„Normal“ photos are not visible in immich. All videos, portrait photos, live photos and so on appear once the appropriate directory has been selected in the backup settings. There is no directory for non-special pictures, though. Those images can only be seen in the "Recents" category which would also include e.g. screenshots, though. I initially noticed this happening with photos taken on a DSLR which were airdropped to me. But upon further inspection I found that simply disabling live photos in the camera app and then clicking a normal picture would also do the trick.

IMG_1183 IMG_1184 IMG_1185

The OS that Immich Server is running on

Ubuntu 22.04

Version of Immich Server

1.105.1

Version of Immich Mobile App

1.105.0 build.157

Platform with the issue

Your docker-compose.yml content

# I don’t have access to a computer for a few weeks and had to format on my phone. I apologize for formatting errors!

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 
  ports:
    - 2283:3001
  depends_on:
    - redis
    - database
  restart: always

  immich-microservices:
    container_name: immich_microservices     
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION: -release}
    command: [ "start.sh", "microservices" ]     
    volumes:
      - ${UPLOAD_LOCATION}: /usr/src/app/upload
      - /etc/localtime: /etc/localtime:ro
    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:${IMMICH_VERSION:-release} 
  volumes:
    - model-cache: /cache 
  env_file:
    - .env
restart: always

  redis:
    container_name: immich_redis
    image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3
    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}
    volumes:
      - pgdata:/var/lib/postgresql/data
    restart: always

volumes:
  pgdata:
  model-cache:

Your .env content

UPLOAD_LOCATION=/media/immich-app/immich-data
IMMICH_VERSION=release
TYPESENSE_API_KEY=redacted
DB_PASSWORD=redacted
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
REDIS_HOSTNAME=immich_redis

Reproduction steps

1. Take one photo with Live Photo disabled on iPhone
2. Photo not available on immich unless recent photos have been selected

Relevant log output

No response

Additional information

No response

CyberCreator commented 2 weeks ago

A similar problem is observed on Huawei p50 pro

pirolito commented 2 weeks ago

Hello,

i'm using a iPhone 11 Pro with latest ios app and after the upload i can also confirm the issue.

Even in the web ui we get this: Captura de ecrã 2024-06-14 193336

alextran1502 commented 2 weeks ago

@pirolito there are two possibilities

  1. There are still jobs running to generate thumbnails
  2. There might be a left over microservices container
YannikBe commented 2 weeks ago

i'm using a iPhone 11 Pro with latest ios app and after the upload i can also confirm the issue.

This is actually a different issue than the one I was trying to describe above. For me the pictures are not showing up in the app or web ui at all.

Are you able to add non-live non-portrait photos to Immich? Like the completely "normal" photos? Without adding them to any album I mean.