iOS unable to create albums when certain size #2772

Closed
opened 2026-02-05 07:01:57 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @stratacast on GitHub (Apr 7, 2024).

The bug

When clicking "create album" in iOS no action happens. I can't find the exact size, but I tried an album of 50 and it failed to create. I do not have this problem on albums of smaller sizes. This issue does not happen on web.

The OS that Immich Server is running on

Debian 12

Version of Immich Server

v1.101.0

Version of Immich Mobile App

v1.101.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

#
# WARNING: 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}
    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}
    # 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
    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:51d6c56749a4243096327e3fb964a48ed92254357108449cb6e23999c37773c5
    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:
      - 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=/mnt/nfs/library

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

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

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

REDIS_HOSTNAME=immich_redis

Reproduction steps

This issue happens for both a new album and new shared album

1. New album
2. Add a title
3. Select 50+ Photos
4. Select done after adding
5. Select Create

Additional information

No response

Originally created by @stratacast on GitHub (Apr 7, 2024). ### The bug When clicking "create album" in iOS no action happens. I can't find the exact size, but I tried an album of 50 and it failed to create. I do not have this problem on albums of smaller sizes. This issue does not happen on web. ### The OS that Immich Server is running on Debian 12 ### Version of Immich Server v1.101.0 ### Version of Immich Mobile App v1.101.0 ### Platform with the issue - [ ] Server - [ ] Web - [X] Mobile ### Your docker-compose.yml content ```YAML # # WARNING: 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} 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} # 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 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:51d6c56749a4243096327e3fb964a48ed92254357108449cb6e23999c37773c5 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: - pgdata:/var/lib/postgresql/data restart: always volumes: pgdata: 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=/mnt/nfs/library # The Immich version to use. You can pin this to a specific version like "v1.71.0" IMMICH_VERSION=v1.101.0 # Connection secret for postgres. You should change it to a random password DB_PASSWORD='secret' # The values below this line do not need to be changed ################################################################################### DB_HOSTNAME=immich_postgres DB_USERNAME=postgres DB_DATABASE_NAME=immich REDIS_HOSTNAME=immich_redis ``` ### Reproduction steps ```bash This issue happens for both a new album and new shared album 1. New album 2. Add a title 3. Select 50+ Photos 4. Select done after adding 5. Select Create ``` ### Additional information _No response_
Author
Owner

@SandiyosDev commented on GitHub (Apr 11, 2024):

could you export the logs in CSV inside the Immich app?

@SandiyosDev commented on GitHub (Apr 11, 2024): could you export the logs in CSV inside the Immich app?
Author
Owner

@stratacast commented on GitHub (Apr 12, 2024):

I'm suddenly unable to reproduce, so maybe just a fluke? My logs only show times, not dates, so I can't figure out where in the logs this happened. However, I think it may have been iterating over entries that didn't exist? I've been trying to get pictures merged in from Nextcloud and maybe the app still cached entries that did not exist in the database anymore. I have a feeling these were the errors I was getting with this issue. If I encounter the issue again I'll remember to get the log up

#0 Iterable.first (dart:core/iterable.dart:643)
#1 DraggableScrollbarState.changePosition. (package:immich_mobile/modules/home/ui/asset_grid/draggable_scrollbar_custom.dart:314)
#2 State.setState (package:flutter/src/widgets/framework.dart:1203)
#3 DraggableScrollbarState.changePosition (package:immich_mobile/modules/home/ui/asset_grid/draggable_scrollbar_custom.dart:312)
#4 [DraggableScrollbarState.build](http://draggablescrollbarstate.build/).. (package:immich_mobile/modules/home/ui/asset_grid/draggable_scrollbar_custom.dart:269)
#5 _NotificationElement.onNotification (package:flutter/src/widgets/notification_listener.dart:130)
#6 _NotificationNode.dispatchNotification (package:flutter/src/widgets/framework.dart:3320)
#7 _NotificationNode.dispatchNotification (package:flutter/src/widgets/framework.dart:3323)
#8 _NotificationNode.dispatchNotification (package:flutter/src/widgets/framework.dart:3323)
#9 Element.dispatchNotification (package:flutter/src/widgets/framework.dart:4942)
#10 Notification.dispatch (package:flutter/src/widgets/notification_listener.dart:60)
#11 ScrollActivity.dispatchScrollUpdateNotification (package:flutter/src/widgets/scroll_activity.dart:104)
#12 ScrollPosition.didUpdateScrollPositionBy (package:flutter/src/widgets/scroll_position.dart:1023)
#13 ScrollPosition.setPixels (package:flutter/src/widgets/scroll_position.dart:367)
#14 ScrollPositionWithSingleContext.setPixels (package:flutter/src/widgets/scroll_position_with_single_context.dart:80)
#15 BallisticScrollActivity.applyMoveTo (package:flutter/src/widgets/scroll_activity.dart:599)
#16 BallisticScrollActivity._tick (package:flutter/src/widgets/scroll_activity.dart:585)
#17 AnimationLocalListenersMixin.notifyListeners (package:flutter/src/animation/listener_helpers.dart:161)
#18 AnimationController._tick (package:flutter/src/animation/animation_controller.dart:865)
#19 Ticker._tick (package:flutter/src/scheduler/ticker.dart:258)
#20 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1386)
#21 SchedulerBinding.handleBeginFrame. (package:flutter/src/scheduler/binding.dart:1233)
#22 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:633)
#23 SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:1231)
#24 SchedulerBinding._handleBeginFrame (package:flutter/src/scheduler/binding.dart:1148)
#25 _invoke1 (dart:ui/hooks.dart:328)
#26 PlatformDispatcher._beginFrame (dart:ui/platform_dispatcher.dart:361)
#27 _beginFrame (dart:ui/hooks.dart:272)
@stratacast commented on GitHub (Apr 12, 2024): I'm suddenly unable to reproduce, so maybe just a fluke? My logs only show times, not dates, so I can't figure out where in the logs this happened. However, I think it may have been iterating over entries that didn't exist? I've been trying to get pictures merged in from Nextcloud and maybe the app still cached entries that did not exist in the database anymore. I have a feeling these were the errors I was getting with this issue. If I encounter the issue again I'll remember to get the log up ``` #0 Iterable.first (dart:core/iterable.dart:643) #1 DraggableScrollbarState.changePosition. (package:immich_mobile/modules/home/ui/asset_grid/draggable_scrollbar_custom.dart:314) #2 State.setState (package:flutter/src/widgets/framework.dart:1203) #3 DraggableScrollbarState.changePosition (package:immich_mobile/modules/home/ui/asset_grid/draggable_scrollbar_custom.dart:312) #4 [DraggableScrollbarState.build](http://draggablescrollbarstate.build/).. (package:immich_mobile/modules/home/ui/asset_grid/draggable_scrollbar_custom.dart:269) #5 _NotificationElement.onNotification (package:flutter/src/widgets/notification_listener.dart:130) #6 _NotificationNode.dispatchNotification (package:flutter/src/widgets/framework.dart:3320) #7 _NotificationNode.dispatchNotification (package:flutter/src/widgets/framework.dart:3323) #8 _NotificationNode.dispatchNotification (package:flutter/src/widgets/framework.dart:3323) #9 Element.dispatchNotification (package:flutter/src/widgets/framework.dart:4942) #10 Notification.dispatch (package:flutter/src/widgets/notification_listener.dart:60) #11 ScrollActivity.dispatchScrollUpdateNotification (package:flutter/src/widgets/scroll_activity.dart:104) #12 ScrollPosition.didUpdateScrollPositionBy (package:flutter/src/widgets/scroll_position.dart:1023) #13 ScrollPosition.setPixels (package:flutter/src/widgets/scroll_position.dart:367) #14 ScrollPositionWithSingleContext.setPixels (package:flutter/src/widgets/scroll_position_with_single_context.dart:80) #15 BallisticScrollActivity.applyMoveTo (package:flutter/src/widgets/scroll_activity.dart:599) #16 BallisticScrollActivity._tick (package:flutter/src/widgets/scroll_activity.dart:585) #17 AnimationLocalListenersMixin.notifyListeners (package:flutter/src/animation/listener_helpers.dart:161) #18 AnimationController._tick (package:flutter/src/animation/animation_controller.dart:865) #19 Ticker._tick (package:flutter/src/scheduler/ticker.dart:258) #20 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1386) #21 SchedulerBinding.handleBeginFrame. (package:flutter/src/scheduler/binding.dart:1233) #22 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:633) #23 SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:1231) #24 SchedulerBinding._handleBeginFrame (package:flutter/src/scheduler/binding.dart:1148) #25 _invoke1 (dart:ui/hooks.dart:328) #26 PlatformDispatcher._beginFrame (dart:ui/platform_dispatcher.dart:361) #27 _beginFrame (dart:ui/hooks.dart:272) ```
Author
Owner

@alextran1502 commented on GitHub (Apr 26, 2024):

Please reopen the issue if encounter such issue again

@alextran1502 commented on GitHub (Apr 26, 2024): Please reopen the issue if encounter such issue again
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#2772