Unable to upload large video file #7516

Closed
opened 2026-02-05 13:06:38 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @bitfl0wer on GitHub (Oct 13, 2025).

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

  • Yes

The bug

I recorded a 13-minute-long video with my iPhone 12 Pro's default Camera App in 4k30FPS. Immich, both on my phone and through the web client, seems to not be able to handle this file. The file can be uploaded to 100% (it is not corrupt and is playable on every platform/player I tried), but processing the file fails and produces an error output in the Browsers' JavaScript Console.

The OS that Immich Server is running on

Debian 12, Docker (Compose)

Version of Immich Server

v2.0.1

Version of Immich Mobile App

v2.0.1

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

iPhone 12 Pro, iOS 26

Your docker-compose.yml content

version: "3.8"

services:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
    ports:
      - 2283:2283
    env_file:
      - .env
    depends_on:
      - redis
      - database
    restart: always

  immich-machine-learning:
    container_name: immich_machine_learning
    image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
    volumes:
      - model-cache:/cache
    env_file:
      - .env
    restart: always

  redis:
    container_name: immich_redis
    image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3
    restart: always

  database:
    container_name: immich_postgres
    image: tensorchord/pgvecto-rs:pg14-v0.2.0
    env_file:
      - .env
    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=./bfl0-immich

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

# Connection secrets for postgres and typesense. You should change these to random passwords
TYPESENSE_API_KEY=[redacted]
DB_PASSWORD=[redacted]

# 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

...

Relevant log output

Browser Console Error Output:


Error calculating sha1 file=IMG_3307.mov) TypeError: SubtleCrypto.digest: ArrayBuffer branch of (ArrayBufferView or ArrayBuffer) can't be an ArrayBuffer or an ArrayBufferView larger than 2 GB
    W Immutable
[DuMl-Ekc.js:1:3185](https://photos.bitfl0wer.de/_app/immutable/chunks/DuMl-Ekc.js)
    W Immutable

[handleError]: Unable to upload file ApiError: 
    Immutable 2
 y@https://photos.bitfl0wer.de/_app/immutable/chunks/-FZHpLQ-.js:1:797
te/</<@https://photos.bitfl0wer.de/_app/immutable/chunks/-FZHpLQ-.js:1:1174
[Br5ZjwOy.js:1:612](https://photos.bitfl0wer.de/_app/immutable/chunks/Br5ZjwOy.js)
    Immutable 2

Additional information

The mobile app tries to upload this file forever, giving no indication of an error happening or anything the like.

The source file is recorded with Dolby Vision 8.4 in 10-bit 4:2:0 video.

Originally created by @bitfl0wer on GitHub (Oct 13, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug I recorded a 13-minute-long video with my iPhone 12 Pro's default Camera App in 4k30FPS. Immich, both on my phone and through the web client, seems to not be able to handle this file. The file can be uploaded to 100% (it is not corrupt and is playable on every platform/player I tried), but processing the file fails and produces an `error` output in the Browsers' JavaScript Console. ### The OS that Immich Server is running on Debian 12, Docker (Compose) ### Version of Immich Server v2.0.1 ### Version of Immich Mobile App v2.0.1 ### Platform with the issue - [x] Server - [x] Web - [x] Mobile ### Device make and model iPhone 12 Pro, iOS 26 ### Your docker-compose.yml content ```YAML version: "3.8" services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload ports: - 2283:2283 env_file: - .env depends_on: - redis - database restart: always immich-machine-learning: container_name: immich_machine_learning image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} volumes: - model-cache:/cache env_file: - .env restart: always redis: container_name: immich_redis image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3 restart: always database: container_name: immich_postgres image: tensorchord/pgvecto-rs:pg14-v0.2.0 env_file: - .env 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=./bfl0-immich # The Immich version to use. You can pin this to a specific version like "v1.71.0" IMMICH_VERSION= # Connection secrets for postgres and typesense. You should change these to random passwords TYPESENSE_API_KEY=[redacted] DB_PASSWORD=[redacted] # 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 1. 2. 3. ... ### Relevant log output ```shell Browser Console Error Output: Error calculating sha1 file=IMG_3307.mov) TypeError: SubtleCrypto.digest: ArrayBuffer branch of (ArrayBufferView or ArrayBuffer) can't be an ArrayBuffer or an ArrayBufferView larger than 2 GB W Immutable [DuMl-Ekc.js:1:3185](https://photos.bitfl0wer.de/_app/immutable/chunks/DuMl-Ekc.js) W Immutable [handleError]: Unable to upload file ApiError: Immutable 2 y@https://photos.bitfl0wer.de/_app/immutable/chunks/-FZHpLQ-.js:1:797 te/</<@https://photos.bitfl0wer.de/_app/immutable/chunks/-FZHpLQ-.js:1:1174 [Br5ZjwOy.js:1:612](https://photos.bitfl0wer.de/_app/immutable/chunks/Br5ZjwOy.js) Immutable 2 ``` ### Additional information The mobile app tries to upload this file *forever*, giving no indication of an error happening or anything the like. The source file is recorded with Dolby Vision 8.4 in 10-bit 4:2:0 video.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#7516