iOS Beta Mobile App - Cloud Only asset downloads fail #6580

Closed
opened 2026-02-05 12:23:26 +03:00 by OVERLORD · 10 comments
Owner

Originally created by @dohlin on GitHub (Jul 25, 2025).

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

  • Yes

The bug

When I try to download any photo that is only in my server (only the cloud icon no check mark) I get a generic “Error Occurred” toast message and the following shows up in the logs:

Message:
Failed to download assets

Details:
Converting object to an encodable object failed: Instance of 'LivePhotosPart'

From:
ActionNotifier

Stack Trace:
#0 _JsonStringifier.writeObject (dart:convert/json.dart:824)
#1 _JsonStringifier.writeMap (dart:convert/json.dart:908)
#2 _JsonStringifier.writeJsonValue (dart:convert/json.dart:863)
#3 _JsonStringifier.writeObject (dart:convert/json.dart:815)
#4 _JsonStringStringifier.printOn (dart:convert/json.dart:1024)
#5 _JsonStringStringifier.stringify (dart:convert/json.dart:1005)
#6 JsonEncoder.convert (dart:convert/json.dart:353)
#7 JsonCodec.encode (dart:convert/json.dart:238)
#8 DownloadRepository.downloadAllAssets (package:immich_mobile/repositories/download.repository.dart:117)
#9 ActionService.downloadAll (package:immich_mobile/services/action.service.dart:217)
#10 ActionNotifier.downloadAll (package:immich_mobile/providers/infrastructure/action.provider.dart:362)
#11 DownloadActionButton._onTap (package:immich_mobile/presentation/widgets/action_buttons/download_action_button.widget.dart:21)
#12 DownloadActionButton.build. (package:immich_mobile/presentation/widgets/action_buttons/download_action_button.widget.dart:51)
#13 _InkResponseState.handleTap (package:flutter/src/material/ink_well.dart:1203)
#14 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:345)
#15 TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:737)
#16 BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:362)
#17 BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:332)
#18 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:173)
#19 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:534)
#20 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:499)
#21 RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:473)
#22 GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:437)
#23 GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:394)
#24 GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:341)
#25 GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:308)
#26 _invoke1 (dart:ui/hooks.dart:347)
#27 PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:467)
#28 _dispatchPointerDataPacket (dart:ui/hooks.dart:282)

The OS that Immich Server is running on

Ubuntu 24.04 LTS

Version of Immich Server

v1.136.0

Version of Immich Mobile App

v1.136.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

volumes:
  nas-share:
    driver_opts:
      type: cifs
      o: "username=[redacted],password=[redacted],addr=[redacted-local-fqdn]"
      device: "//[redacted]/[redacted]/[redacted]/"
  model-cache:

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
      - nas-share:/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/valkey/valkey:8-bookworm@sha256:42cba146593a5ea9a622002c1b7cba5da7be248650cbb64ecb9c6c33d29794b1
    healthcheck:
      test: redis-cli ping || exit 1
    restart: always

  database:
    container_name: immich_postgres
    image: ghcr.io/immich-app/postgres:14-vectorchord0.4.1-pgvectors0.2.0
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      POSTGRES_INITDB_ARGS: '--data-checksums'
      # Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
      # DB_STORAGE_TYPE: 'HDD'
    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
    restart: always


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
# Replaced with docker volume mapping
#UPLOAD_LOCATION=./library

# The location where your database files are stored. Network shares are not supported for the database
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=America/Chicago

# 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=[redacted]

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

Reproduction steps

  1. Download non-local file
  2. Error occurs

...

Relevant log output


Additional information

No response

Originally created by @dohlin on GitHub (Jul 25, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug When I try to download any photo that is only in my server (only the cloud icon no check mark) I get a generic “Error Occurred” toast message and the following shows up in the logs: Message: Failed to download assets Details: Converting object to an encodable object failed: Instance of 'LivePhotosPart' From: ActionNotifier Stack Trace: #0 _JsonStringifier.writeObject (dart:convert/json.dart:824) #1 _JsonStringifier.writeMap (dart:convert/json.dart:908) #2 _JsonStringifier.writeJsonValue (dart:convert/json.dart:863) #3 _JsonStringifier.writeObject (dart:convert/json.dart:815) #4 _JsonStringStringifier.printOn (dart:convert/json.dart:1024) #5 _JsonStringStringifier.stringify (dart:convert/json.dart:1005) #6 JsonEncoder.convert (dart:convert/json.dart:353) #7 JsonCodec.encode (dart:convert/json.dart:238) #8 DownloadRepository.downloadAllAssets (package:immich_mobile/repositories/download.repository.dart:117) #9 ActionService.downloadAll (package:immich_mobile/services/action.service.dart:217) #10 ActionNotifier.downloadAll (package:immich_mobile/providers/infrastructure/action.provider.dart:362) #11 DownloadActionButton._onTap (package:immich_mobile/presentation/widgets/action_buttons/download_action_button.widget.dart:21) #12 DownloadActionButton.build.<anonymous closure> (package:immich_mobile/presentation/widgets/action_buttons/download_action_button.widget.dart:51) #13 _InkResponseState.handleTap (package:flutter/src/material/ink_well.dart:1203) #14 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:345) #15 TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:737) #16 BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:362) #17 BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:332) #18 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:173) #19 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:534) #20 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:499) #21 RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:473) #22 GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:437) #23 GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:394) #24 GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:341) #25 GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:308) #26 _invoke1 (dart:ui/hooks.dart:347) #27 PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:467) #28 _dispatchPointerDataPacket (dart:ui/hooks.dart:282) ### The OS that Immich Server is running on Ubuntu 24.04 LTS ### Version of Immich Server v1.136.0 ### Version of Immich Mobile App v1.136.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 volumes: nas-share: driver_opts: type: cifs o: "username=[redacted],password=[redacted],addr=[redacted-local-fqdn]" device: "//[redacted]/[redacted]/[redacted]/" model-cache: 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 - nas-share:/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/valkey/valkey:8-bookworm@sha256:42cba146593a5ea9a622002c1b7cba5da7be248650cbb64ecb9c6c33d29794b1 healthcheck: test: redis-cli ping || exit 1 restart: always database: container_name: immich_postgres image: ghcr.io/immich-app/postgres:14-vectorchord0.4.1-pgvectors0.2.0 environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_INITDB_ARGS: '--data-checksums' # Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs # DB_STORAGE_TYPE: 'HDD' 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 restart: always ``` ### 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 # Replaced with docker volume mapping #UPLOAD_LOCATION=./library # The location where your database files are stored. Network shares are not supported for the database 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=America/Chicago # 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=[redacted] # The values below this line do not need to be changed ################################################################################### DB_USERNAME=postgres DB_DATABASE_NAME=immich ``` ### Reproduction steps 1. Download non-local file 2. Error occurs 3. ... ### Relevant log output ```shell ``` ### Additional information _No response_
OVERLORD added the mobile-beta label 2026-02-05 12:23:26 +03:00
Author
Owner

@kdkasad commented on GitHub (Jul 26, 2025):

I am also having issues downloading cloud-only photos, but for me, I get a notification that the download succeeds, but neither Immich or the default gallery app show the downloaded photo.

@kdkasad commented on GitHub (Jul 26, 2025): I am also having issues downloading cloud-only photos, but for me, I get a notification that the download succeeds, but neither Immich or the default gallery app show the downloaded photo.
Author
Owner

@dohlin commented on GitHub (Jul 27, 2025):

I am also having issues downloading cloud-only photos, but for me, I get a notification that the download succeeds, but neither Immich or the default gallery app show the downloaded photo.

Out of curiosity, are you using Android or iOS? I’m wondering if the error behavior varies between platforms even though the net effect is the same.

@dohlin commented on GitHub (Jul 27, 2025): > I am also having issues downloading cloud-only photos, but for me, I get a notification that the download succeeds, but neither Immich or the default gallery app show the downloaded photo. Out of curiosity, are you using Android or iOS? I’m wondering if the error behavior varies between platforms even though the net effect is the same.
Author
Owner

@kdkasad commented on GitHub (Jul 27, 2025):

I'm on iOS.

@kdkasad commented on GitHub (Jul 27, 2025): I'm on iOS.
Author
Owner

@pbaja commented on GitHub (Jul 27, 2025):

I have the same problem as @kdkasad but i am on android. Both on my and my wife phone when i press download button, the toast appears "Downloading 1 asset" and the notification, but the image is nowhere to be found (tried both with gallery and file browser search by name).

I have the beta timeline enabled and i am on the latest version (1.136.0 build.205) and there is nothing in the logs, even when i set it to "Fine" level.

@pbaja commented on GitHub (Jul 27, 2025): I have the same problem as @kdkasad but i am on android. Both on my and my wife phone when i press download button, the toast appears "Downloading 1 asset" and the notification, but the image is nowhere to be found (tried both with gallery and file browser search by name). I have the beta timeline enabled and i am on the latest version (1.136.0 build.205) and there is nothing in the logs, even when i set it to "Fine" level.
Author
Owner

@dohlin commented on GitHub (Jul 27, 2025):

I'm on iOS.

Ok interesting…interesting to me that my symptoms seem slightly different but hopefully this all stems from the same root cause

@dohlin commented on GitHub (Jul 27, 2025): > I'm on iOS. Ok interesting…interesting to me that my symptoms seem slightly different but hopefully this all stems from the same root cause
Author
Owner

@placst80 commented on GitHub (Jul 28, 2025):

I have the same problem as @kdkasad but i am on android. Both on my and my wife phone when i press download button, the toast appears "Downloading 1 asset" and the notification, but the image is nowhere to be found (tried both with gallery and file browser search by name).

I have the beta timeline enabled and i am on the latest version (1.136.0 build.205) and there is nothing in the logs, even when i set it to "Fine" level.

Same behavior for me: Android, v 1.136.0, beta timeline, nothing in the logs. The file is nowhere in the phone after the "download".

As a workaround is possible to use the "share" button, then sharing with a file manager with the action "Save as", but this is quite annoying.

@placst80 commented on GitHub (Jul 28, 2025): > I have the same problem as [@kdkasad](https://github.com/kdkasad) but i am on android. Both on my and my wife phone when i press download button, the toast appears "Downloading 1 asset" and the notification, but the image is nowhere to be found (tried both with gallery and file browser search by name). > > I have the beta timeline enabled and i am on the latest version (1.136.0 build.205) and there is nothing in the logs, even when i set it to "Fine" level. Same behavior for me: Android, v 1.136.0, beta timeline, nothing in the logs. The file is nowhere in the phone after the "download". As a workaround is possible to use the "share" button, then sharing with a file manager with the action "Save as", but this is quite annoying.
Author
Owner

@synologyy commented on GitHub (Jul 30, 2025):

Android have the same problem with downloading cant Download anything

@synologyy commented on GitHub (Jul 30, 2025): Android have the same problem with downloading cant Download anything
Author
Owner

@shenlong-tanwen commented on GitHub (Jul 30, 2025):

The issue where it says that the download has started but it isn't working will be fixed in #20241

@shenlong-tanwen commented on GitHub (Jul 30, 2025): The issue where it says that the download has started but it isn't working will be fixed in #20241
Author
Owner

@dohlin commented on GitHub (Jul 30, 2025):

The issue where it says that the download has started but it isn't working will be fixed in #20241

Any idea if the issue I posted in OP has the same root cause? I have noticed on my iOS device that if I do Share > Save Image it works perfectly fine...it's just the "Download" button that doesn't work.

@dohlin commented on GitHub (Jul 30, 2025): > The issue where it says that the download has started but it isn't working will be fixed in [#20241](https://github.com/immich-app/immich/pull/20241) Any idea if the issue I posted in OP has the same root cause? I have noticed on my iOS device that if I do Share > Save Image it works perfectly fine...it's just the "Download" button that doesn't work.
Author
Owner

@shenlong-tanwen commented on GitHub (Jul 30, 2025):

Any idea if the issue I posted in OP has the same root cause? I have noticed on my iOS device that if I do Share > Save Image it works perfectly fine...it's just the "Download" button that doesn't work.

Nope, but it is fixed in #20444. You need both the fixes to be merged to have the download properly working. Your issue is actually specific to live photos, downloading the other assets would fail like it did for others

@shenlong-tanwen commented on GitHub (Jul 30, 2025): > Any idea if the issue I posted in OP has the same root cause? I have noticed on my iOS device that if I do Share > Save Image it works perfectly fine...it's just the "Download" button that doesn't work. Nope, but it is fixed in #20444. You need both the fixes to be merged to have the download properly working. Your issue is actually specific to live photos, downloading the other assets would fail like it did for others
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#6580