iOS app doesnt Show Partner share #5656

Closed
opened 2026-02-05 11:37:31 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @arslancloud on GitHub (Mar 22, 2025).

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

My wife cannot see shared photos in the iOS app.
The strange thing is that I can see her photos and she can see them in the browser when she is logged into her account.

The OS that Immich Server is running on

Ubuntu 22

Version of Immich Server

V1.129.0

Version of Immich Mobile App

V1.129.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

#
# WARNING: To install Immich, follow our guide: https://immich.app/docs/install/docker-compose
#
# Make sure to use the docker-compose.yml of the current release:
#
# https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
#
# The compose file on main may not be compatible with the latest release.

name: immich

services:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    # extends:
    #   file: hwaccel.transcoding.yml
    #   service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
    volumes:
      # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - .env
    ports:
      - '2283:2283'
    depends_on:
      - redis
      - database
    restart: always
    healthcheck:
      disable: false

  immich-machine-learning:
    container_name: immich_machine_learning
    # For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn] 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, rocm, openvino, openvino-wsl, rknn] for accelerated inference - use the `-wsl` version for WSL2 where applicable
    volumes:
      - model-cache:/cache
    env_file:
      - .env
    restart: always
    healthcheck:
      disable: false

  redis:
    container_name: immich_redis
    image: docker.io/redis:6.2-alpine@sha256:148bb5411c184abd288d9aaed139c98123eeb8824c5d3fce03cf721db58066d8
    healthcheck:
      test: redis-cli ping || exit 1
    restart: always

  database:
    container_name: immich_postgres
    image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:739cdd626151ff1f796dc95a6591b55a714f341c737e27f045019ceabf8e8c52
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      POSTGRES_INITDB_ARGS: '--data-checksums'
    volumes:
      # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
      - ${DB_DATA_LOCATION}:/var/lib/postgresql/data
    healthcheck:
      test: >-
        pg_isready --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" || exit 1; Chksum="$$(psql --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" --tuples-only --no-align --command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = '0' ] || exit 1
      interval: 5m
      start_interval: 30s
      start_period: 5m
    command: >-
      postgres -c shared_preload_libraries=vectors.so -c 'search_path="$$user", public, vectors' -c logging_collector=on -c max_wal_size=2GB -c shared_buffers=512MB -c wal_compression=on
    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=./library
# The location where your database files are stored
DB_DATA_LOCATION=./postgres

# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
# TZ=Etc/UTC

# 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
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=postgres

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

Reproduction steps

Open the iOS App

Additional information

No response

Originally created by @arslancloud on GitHub (Mar 22, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug My wife cannot see shared photos in the iOS app. The strange thing is that I can see her photos and she can see them in the browser when she is logged into her account. ### The OS that Immich Server is running on Ubuntu 22 ### Version of Immich Server V1.129.0 ### Version of Immich Mobile App V1.129.0 ### Platform with the issue - [ ] Server - [ ] Web - [x] Mobile ### Your docker-compose.yml content ```YAML # # WARNING: To install Immich, follow our guide: https://immich.app/docs/install/docker-compose # # Make sure to use the docker-compose.yml of the current release: # # https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml # # The compose file on main may not be compatible with the latest release. name: immich services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} # extends: # file: hwaccel.transcoding.yml # service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding volumes: # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file - ${UPLOAD_LOCATION}:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro env_file: - .env ports: - '2283:2283' depends_on: - redis - database restart: always healthcheck: disable: false immich-machine-learning: container_name: immich_machine_learning # For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn] 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, rocm, openvino, openvino-wsl, rknn] for accelerated inference - use the `-wsl` version for WSL2 where applicable volumes: - model-cache:/cache env_file: - .env restart: always healthcheck: disable: false redis: container_name: immich_redis image: docker.io/redis:6.2-alpine@sha256:148bb5411c184abd288d9aaed139c98123eeb8824c5d3fce03cf721db58066d8 healthcheck: test: redis-cli ping || exit 1 restart: always database: container_name: immich_postgres image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:739cdd626151ff1f796dc95a6591b55a714f341c737e27f045019ceabf8e8c52 environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_INITDB_ARGS: '--data-checksums' volumes: # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file - ${DB_DATA_LOCATION}:/var/lib/postgresql/data healthcheck: test: >- pg_isready --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" || exit 1; Chksum="$$(psql --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" --tuples-only --no-align --command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = '0' ] || exit 1 interval: 5m start_interval: 30s start_period: 5m command: >- postgres -c shared_preload_libraries=vectors.so -c 'search_path="$$user", public, vectors' -c logging_collector=on -c max_wal_size=2GB -c shared_buffers=512MB -c wal_compression=on 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=./library # The location where your database files are stored DB_DATA_LOCATION=./postgres # To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List # TZ=Etc/UTC # 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 # Please use only the characters `A-Za-z0-9`, without special characters or spaces DB_PASSWORD=postgres # The values below this line do not need to be changed ################################################################################### DB_USERNAME=postgres DB_DATABASE_NAME=immich ``` ### Reproduction steps Open the iOS App ### Additional information _No response_
Author
Owner

@alextran1502 commented on GitHub (Mar 22, 2025):

Can you share the mobile app log of her phone?

@alextran1502 commented on GitHub (Mar 22, 2025): Can you share the mobile app log of her phone?
Author
Owner

@arslancloud commented on GitHub (Mar 22, 2025):

2025-03-22 07:06:47.673096 | severe | AssetService | Error while getting remote assets | Null check operator used on a null value |
#0 AssetResponseDto.fromJson (package:openapi/model/asset_response_dto.dart:292)
#1 ApiClient.fromJson (package:openapi/api_client.dart:264)
#2 ApiClient.fromJson. (package:openapi/api_client.dart:677)
#3 MappedIterable.elementAt (dart:_internal/iterable.dart:385)
#4 ListIterator.moveNext (dart:_internal/iterable.dart:354)
#5 new _List._ofEfficientLengthIterable (dart:core-patch/array.dart:163)
#6 new _List.of (dart:core-patch/array.dart:128)
#7 new List.of (dart:core-patch/array_patch.dart:39)
#8 ListIterable.toList (dart:_internal/iterable.dart:224)
#9 ApiClient.fromJson (package:openapi/api_client.dart:678)
#10 ApiClient.deserialize (package:openapi/api_client.dart:158)

#11 SyncApi.getFullSyncForUser (package:openapi/api/sync_api.dart:147)

#12 AssetService._getRemoteAssets (package:immich_mobile/services/asset.service.dart:150)

#13 SyncService._syncRemoteAssetsForUser (package:immich_mobile/services/sync.service.dart:267)

#14 SyncService._syncRemoteAssetsFull (package:immich_mobile/services/sync.service.dart:257)

#15 SyncService.syncRemoteAssetsToDb. (package:immich_mobile/services/sync.service.dart:92)

#16 AssetService.refreshRemoteAssets (package:immich_mobile/services/asset.service.dart:90)

#17 AssetNotifier.getAllAsset (package:immich_mobile/providers/asset.provider.dart:67)

#18 PhotosPage.build.refreshAssets (package:immich_mobile/pages/photos/photos.page.dart:97)

#19 MultiselectGrid.build.wrapLongRunningFun. (package:immich_mobile/widgets/asset_grid/multiselect_grid.dart:402)

#20 RefreshIndicatorState._show.. (package:flutter/src/material/refresh_indicator.dart:503)

2025-03-22 07:06:46.121088 | info | SyncService | Upserted 11820 assets into the DB |
2025-03-22 07:06:41.121652 | info | AssetNotifier | Load assets: 25898ms |
2025-03-22 07:06:41.121627 | info | AlbumService | Syncing completed. Changes: true |
2025-03-22 07:06:41.121621 | info | SyncService | Added a new local album to DB: |
2025-03-22 07:06:40.842076 | info | SyncService | Upserted 15 assets into the DB |
2025-03-22 07:06:40.837512 | info | SyncService | 0 assets already existed in DB, to upsert 15 |

2025-03-22 07:06:40.809888 | info | SyncService | Added a new local album to DB: Kalender |
2025-03-22 07:06:40.523121 | info | SyncService | Upserted 14 assets into the DB |
2025-03-22 07:06:40.519035 | info | SyncService | 0 assets already existed in DB, to upsert 14 |
2025-03-22 07:06:40.487949 | info | SyncService | Syncing a new local album to DB: Kalender |
2025-03-22 07:06:40.487943 | info | SyncService | Added a new local album to DB: Splice |
2025-03-22 07:06:40.206010 | info | SyncService | Upserted 1 assets into the DB |
2025-03-22 07:06:40.204944 | info | SyncService | 0 assets already existed in DB, to upsert 1 |
2025-03-22 07:06:40.188897 | info | SyncService | Syncing a new local album to DB: Splice |
2025-03-22 07:06:40.188893 | info | SyncService | Added a new local album to DB: Family |
2025-03-22 07:06:39.915017 | info | SyncService | Upserted 6 assets into the DB |
2025-03-22 07:06:39.912679 | info | SyncService | 0 assets already existed in DB, to upsert 6 |
2025-03-22 07:06:39.886126 | info | SyncService | Syncing a new local album to DB: Family |
2025-03-22 07:06:39.886122 | info | SyncService | Added a new local album to DB: WhatsApp |
2025-03-22 07:06:39.619445 | info | SyncService | Upserted 6263 assets into the DB |
2025-03-22 07:06:39.548141 | info | SyncService | 0 assets already existed in DB, to upsert 6263 |
2025-03-22 07:06:39.526829 | warning | SyncService | Ignored 14 duplicate assets on device |
2025-03-22 07:06:22.858132 | info | SyncService | Upserted 2 assets into the DB |
2025-03-22 07:06:22.856992 | info | SyncService | 0 assets already existed in DB, to upsert 2 |
2025-03-22 07:06:22.836209 | info | SyncService | Syncing a new local album to DB: Kino |
2025-03-22 07:06:22.604695 | info | SyncService | Upserted 37 assets into the DB |
2025-03-22 07:06:22.353509 | info | SyncService | Upserted 20 assets into the DB |
2025-03-22 07:06:22.106219 | info | SyncService | Upserted 24 assets into the DB |
2025-03-22 07:06:21.858821 | info | SyncService | Upserted 39 assets into the DB |
2025-03-22 07:06:21.615556 | info | SyncService | Upserted 29 assets into the DB |
2025-03-22 07:06:21.356808 | info | SyncService | Upserted 13 assets into the DB |

@arslancloud commented on GitHub (Mar 22, 2025): 2025-03-22 07:06:47.673096 | severe | AssetService | Error while getting remote assets | Null check operator used on a null value | #0 AssetResponseDto.fromJson (package:openapi/model/asset_response_dto.dart:292) #1 ApiClient.fromJson (package:openapi/api_client.dart:264) #2 ApiClient.fromJson.<anonymous closure> (package:openapi/api_client.dart:677) #3 MappedIterable.elementAt (dart:_internal/iterable.dart:385) #4 ListIterator.moveNext (dart:_internal/iterable.dart:354) #5 new _List._ofEfficientLengthIterable (dart:core-patch/array.dart:163) #6 new _List.of (dart:core-patch/array.dart:128) #7 new List.of (dart:core-patch/array_patch.dart:39) #8 ListIterable.toList (dart:_internal/iterable.dart:224) #9 ApiClient.fromJson (package:openapi/api_client.dart:678) #10 ApiClient.deserialize (package:openapi/api_client.dart:158) <asynchronous suspension> #11 SyncApi.getFullSyncForUser (package:openapi/api/sync_api.dart:147) <asynchronous suspension> #12 AssetService._getRemoteAssets (package:immich_mobile/services/asset.service.dart:150) <asynchronous suspension> #13 SyncService._syncRemoteAssetsForUser (package:immich_mobile/services/sync.service.dart:267) <asynchronous suspension> #14 SyncService._syncRemoteAssetsFull (package:immich_mobile/services/sync.service.dart:257) <asynchronous suspension> #15 SyncService.syncRemoteAssetsToDb.<anonymous closure> (package:immich_mobile/services/sync.service.dart:92) <asynchronous suspension> #16 AssetService.refreshRemoteAssets (package:immich_mobile/services/asset.service.dart:90) <asynchronous suspension> #17 AssetNotifier.getAllAsset (package:immich_mobile/providers/asset.provider.dart:67) <asynchronous suspension> #18 PhotosPage.build.refreshAssets (package:immich_mobile/pages/photos/photos.page.dart:97) <asynchronous suspension> #19 MultiselectGrid.build.wrapLongRunningFun.<anonymous closure> (package:immich_mobile/widgets/asset_grid/multiselect_grid.dart:402) <asynchronous suspension> #20 RefreshIndicatorState._show.<anonymous closure>.<anonymous closure> (package:flutter/src/material/refresh_indicator.dart:503) <asynchronous suspension> 2025-03-22 07:06:46.121088 | info | SyncService | Upserted 11820 assets into the DB | 2025-03-22 07:06:41.121652 | info | AssetNotifier | Load assets: 25898ms | 2025-03-22 07:06:41.121627 | info | AlbumService | Syncing completed. Changes: true | 2025-03-22 07:06:41.121621 | info | SyncService | Added a new local album to DB: | 2025-03-22 07:06:40.842076 | info | SyncService | Upserted 15 assets into the DB | 2025-03-22 07:06:40.837512 | info | SyncService | 0 assets already existed in DB, to upsert 15 | 2025-03-22 07:06:40.809888 | info | SyncService | Added a new local album to DB: Kalender | 2025-03-22 07:06:40.523121 | info | SyncService | Upserted 14 assets into the DB | 2025-03-22 07:06:40.519035 | info | SyncService | 0 assets already existed in DB, to upsert 14 | 2025-03-22 07:06:40.487949 | info | SyncService | Syncing a new local album to DB: Kalender | 2025-03-22 07:06:40.487943 | info | SyncService | Added a new local album to DB: Splice | 2025-03-22 07:06:40.206010 | info | SyncService | Upserted 1 assets into the DB | 2025-03-22 07:06:40.204944 | info | SyncService | 0 assets already existed in DB, to upsert 1 | 2025-03-22 07:06:40.188897 | info | SyncService | Syncing a new local album to DB: Splice | 2025-03-22 07:06:40.188893 | info | SyncService | Added a new local album to DB: Family | 2025-03-22 07:06:39.915017 | info | SyncService | Upserted 6 assets into the DB | 2025-03-22 07:06:39.912679 | info | SyncService | 0 assets already existed in DB, to upsert 6 | 2025-03-22 07:06:39.886126 | info | SyncService | Syncing a new local album to DB: Family | 2025-03-22 07:06:39.886122 | info | SyncService | Added a new local album to DB: WhatsApp | 2025-03-22 07:06:39.619445 | info | SyncService | Upserted 6263 assets into the DB | 2025-03-22 07:06:39.548141 | info | SyncService | 0 assets already existed in DB, to upsert 6263 | 2025-03-22 07:06:39.526829 | warning | SyncService | Ignored 14 duplicate assets on device | 2025-03-22 07:06:22.858132 | info | SyncService | Upserted 2 assets into the DB | 2025-03-22 07:06:22.856992 | info | SyncService | 0 assets already existed in DB, to upsert 2 | 2025-03-22 07:06:22.836209 | info | SyncService | Syncing a new local album to DB: Kino | 2025-03-22 07:06:22.604695 | info | SyncService | Upserted 37 assets into the DB | 2025-03-22 07:06:22.353509 | info | SyncService | Upserted 20 assets into the DB | 2025-03-22 07:06:22.106219 | info | SyncService | Upserted 24 assets into the DB | 2025-03-22 07:06:21.858821 | info | SyncService | Upserted 39 assets into the DB | 2025-03-22 07:06:21.615556 | info | SyncService | Upserted 29 assets into the DB | 2025-03-22 07:06:21.356808 | info | SyncService | Upserted 13 assets into the DB |
Author
Owner

@alextran1502 commented on GitHub (Mar 22, 2025):

Please follow this guide to fix the issue.

https://github.com/immich-app/immich/issues/16046#issuecomment-2657784399

How long have you been using Immich?

@alextran1502 commented on GitHub (Mar 22, 2025): Please follow this guide to fix the issue. https://github.com/immich-app/immich/issues/16046#issuecomment-2657784399 How long have you been using Immich?
Author
Owner

@arslancloud commented on GitHub (Mar 23, 2025):

Hi Alex, that worked, thanks a lot!
I think about 1.5 years.

@arslancloud commented on GitHub (Mar 23, 2025): Hi Alex, that worked, thanks a lot! I think about 1.5 years.
Author
Owner

@alextran1502 commented on GitHub (Mar 24, 2025):

Thank you! This is artifact from the recent migration of the database engine, which should not happen again

@alextran1502 commented on GitHub (Mar 24, 2025): Thank you! This is artifact from the recent migration of the database engine, which should not happen again
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#5656