immich icon indicating copy to clipboard operation
immich copied to clipboard

Photos from external library do not show in iOS app

Open 4ebuard opened this issue 1 year ago • 5 comments

The bug

Why there is no photo from external library in iOS app? In web app I can see them though. In iOS app I only see photos from iPhone and ICloud.

The OS that Immich Server is running on

Ubuntu 22.10

Version of Immich Server

v1.105.1

Version of Immich Mobile App

v1.105.0 build.157

Platform with the issue

  • [ ] Server
  • [ ] Web
  • [X] Mobile

Your docker-compose.yml content

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
      - /mnt/nas/photo:/mnt/media/photo:ro
    env_file:
      - /mnt/nas/immich-app/.env
    ports:
      - 2283:3001
    depends_on:
      - redis
      - database
    restart: always

  immich-microservices:
    container_name: immich_microservices
    image: ghcr.io/immich-app/immich-server:release
    # extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/hardware-transcoding
    #   file: hwaccel.transcoding.yml
    #   service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
    command: [ "start.sh", "microservices" ]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
      - /mnt/nas/photo:/mnt/media/photo:ro
    env_file:
      - /mnt/nas/immich-app/.env
    depends_on:
      - redis
      - database
    restart: always 

  immich-machine-learning:
    container_name: immich_machine_learning
    # 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:
      - /mnt/nas/immich-app/.env
    restart: always

  redis:
    container_name: immich_redis
    image: redis:6.2-alpine@sha256:51d6c56749a4243096327e3fb964a48ed92254357108449cb6e23999c37773c5
    restart: always

  database:
    container_name: immich_postgres
    image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
    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

# 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=./library

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

# Connection secret for postgres. You should change it to a random password
DB_PASSWORD=XXXXXXXXXXXXXXXXX

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

REDIS_HOSTNAME=immich_redis

Reproduction steps

I open the iOS app and see none of photos from external lib.

Relevant log output

No response

Additional information

No response

4ebuard avatar Jun 06 '24 20:06 4ebuard

No logs, no context, what are we're supposed to go off with?

SandiyosDev avatar Jun 10 '24 07:06 SandiyosDev

Helli. Ok. Will add log later. Context - I can observe only photo from iPhone on Mobile app. While via web-app I can observe both - photos from external library and photos synchronized from iPhone.

4ebuard avatar Jun 10 '24 07:06 4ebuard

We fixed some synchronization issue that will probably fix in the next release

alextran1502 avatar Jun 10 '24 09:06 alextran1502

Hello, are you still experiencing this issue?

alextran1502 avatar Jun 27 '24 21:06 alextran1502

Hello, are you still experiencing this issue?

I am still experiencing this using the latest iOS app and server side

walk0080 avatar Jul 17 '24 21:07 walk0080

I can't see my external photo on mobile too. Android app v1.120.1 build.166 Server version 1.120.2 using web version all photos are visible

Tralbi avatar Nov 14 '24 10:11 Tralbi

Same here, With server v1.122.3 and ios 1.122.3 build 185.

server without any image on local and only have External Library Photos.

ffchung avatar Dec 17 '24 09:12 ffchung

Same here, With server v1.122.3 and ios 1.122.3 build 185.

without any image and only have External Library.

image

image

ffchung avatar Dec 17 '24 09:12 ffchung

@ffchung can you check the log on the server when opening the all please?

alextran1502 avatar Dec 17 '24 14:12 alextran1502

@alextran1502 Only one line, am I need config to enable the log ?

[Nest] 171 - 12/18/2024, 3:24:12 AM LOG [Api:EventRepository] Websocket Connect: rju4rlAWn3lMATo9AABT

ffchung avatar Dec 18 '24 03:12 ffchung

@ffchung how many assets do you have for that user? Are you connecting over local IP or remote DNS?

alextran1502 avatar Dec 18 '24 03:12 alextran1502

I have setup Reverse Proxy though Synology DSM for https access.

ffchung avatar Dec 18 '24 03:12 ffchung

And I dont give access right for ios app for access my iphone album.

ffchung avatar Dec 18 '24 03:12 ffchung

Same result after I try with Port Forwarding without ssl

ffchung avatar Dec 18 '24 05:12 ffchung

FYI. I just updated both server and ios app to V1.123.0. Everything on ios work fine. Thanks for help.

ffchung avatar Dec 20 '24 03:12 ffchung