Partner Sharing Showing Archived Photos #3036

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

Originally created by @techmattr on GitHub (May 1, 2024).

The bug

When I share my library with a partner the partner sees all Archived and Unarchived photos in the mobile app (Android/Samsung). On the main account the Archived photos are hidden as expected. In the partner's web client the Archived photos are not available as expected.

The OS that Immich Server is running on

Ubuntu 22.04.4

Version of Immich Server

1.103.1

Version of Immich Mobile App

1.1031 build.137

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

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
      - ${EXTERNAL_PATH1}:/external1
      - ${EXTERNAL_PATH2}:/usr/src/app/external
      - /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}
    # 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
      - ${EXTERNAL_PATH1}:/external1
      - ${EXTERNAL_PATH2}:/usr/src/app/external
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - .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:
      - .env
    restart: always

  redis:
    container_name: immich_redis
    image: registry.hub.docker.com/library/redis:6.2-alpine@sha256:84882e87b54734154586e5f8abd4dce69fe7311315e2fc6d67c29614c8de2672
    restart: always

  database:
    container_name: immich_postgres
    image: registry.hub.docker.com/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
    volumes:
      - ${DB_DATA_LOCATION}:/var/lib/postgresql/data
    restart: always

volumes:
  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=/docker/immich/library
UPLOAD_LOCATION=/media3/immich_internal

# The location where your external library is stored
EXTERNAL_PATH1=/media3/immich
EXTERNAL_PATH2=/media/immich2

# 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=188e23d2-0da9-4ad6-b4d7-06b428870b3e
DB_PASSWORD=rEIgstONIsQUaNiterNIo

# The values below this line do not need to be changed
###################################################################################
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
DB_DATA_LOCATION=/docker/immich/pgdata/data

REDIS_HOSTNAME=immich_redis

Reproduction steps

1. Upload photos to library
2. Archive photos
3. Share through Partner Sharing
4. Partner opens library on mobile

Relevant log output

No response

Additional information

No response

Originally created by @techmattr on GitHub (May 1, 2024). ### The bug When I share my library with a partner the partner sees all Archived and Unarchived photos in the mobile app (Android/Samsung). On the main account the Archived photos are hidden as expected. In the partner's web client the Archived photos are not available as expected. ### The OS that Immich Server is running on Ubuntu 22.04.4 ### Version of Immich Server 1.103.1 ### Version of Immich Mobile App 1.1031 build.137 ### Platform with the issue - [ ] Server - [ ] Web - [X] Mobile ### Your docker-compose.yml content ```YAML 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 - ${EXTERNAL_PATH1}:/external1 - ${EXTERNAL_PATH2}:/usr/src/app/external - /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} # 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 - ${EXTERNAL_PATH1}:/external1 - ${EXTERNAL_PATH2}:/usr/src/app/external - /etc/localtime:/etc/localtime:ro env_file: - .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: - .env restart: always redis: container_name: immich_redis image: registry.hub.docker.com/library/redis:6.2-alpine@sha256:84882e87b54734154586e5f8abd4dce69fe7311315e2fc6d67c29614c8de2672 restart: always database: container_name: immich_postgres image: registry.hub.docker.com/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} volumes: - ${DB_DATA_LOCATION}:/var/lib/postgresql/data restart: always volumes: model-cache: ``` ### 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=/docker/immich/library UPLOAD_LOCATION=/media3/immich_internal # The location where your external library is stored EXTERNAL_PATH1=/media3/immich EXTERNAL_PATH2=/media/immich2 # 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=188e23d2-0da9-4ad6-b4d7-06b428870b3e DB_PASSWORD=rEIgstONIsQUaNiterNIo # The values below this line do not need to be changed ################################################################################### DB_HOSTNAME=immich_postgres DB_USERNAME=postgres DB_DATABASE_NAME=immich DB_DATA_LOCATION=/docker/immich/pgdata/data REDIS_HOSTNAME=immich_redis ``` ### Reproduction steps ```bash 1. Upload photos to library 2. Archive photos 3. Share through Partner Sharing 4. Partner opens library on mobile ``` ### Relevant log output _No response_ ### Additional information _No response_
Author
Owner

@Busyrev commented on GitHub (Jun 7, 2024):

Still got this issue with latest server v1.105.1 and latest android app v1.105.0 build.139

@Busyrev commented on GitHub (Jun 7, 2024): Still got this issue with latest server v1.105.1 and latest android app v1.105.0 build.139
Author
Owner

@bw1faeh0 commented on GitHub (Oct 31, 2024):

The issue still exists in v1.118.2 (web + mobile).

Any update to this issue?

@bw1faeh0 commented on GitHub (Oct 31, 2024): The issue still exists in v1.118.2 (web + mobile). Any update to this issue?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#3036