[BETA] immich upload bug #6812

Closed
opened 2026-02-05 12:32:59 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @quanliew28 on GitHub (Aug 11, 2025).

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

  • Yes

The bug

I had this bug whereby I am uploading large videos (approx 5-6gb) to my immich server, then suddenly all the progress reseted. The server is hosted over tailscale, so there are no issue regarding cloudflare reverse tunnel 100MB limit. Unsure what is the cause as the logs also didn't show any error.

https://youtube.com/shorts/h601ek1vSXI?si=Kw0ImPe7gDyDZiJ0

The video shows it all

This is the server log
`[Nest] 18 - 08/11/2025, 4:56:34 AM LOG [Api:EventRepository] Websocket Disconnect: IeH3NAbTcDqNu52RAAAf

[Nest] 18 - 08/11/2025, 5:03:19 AM LOG [Api:EventRepository] Websocket Connect: oti-JVnA7GQQFoG9AAAh

[Nest] 18 - 08/11/2025, 5:03:21 AM LOG [Api:EventRepository] Websocket Disconnect: oti-JVnA7GQQFoG9AAAh

[Nest] 18 - 08/11/2025, 5:04:40 AM WARN [Api:FileUploadInterceptor] Request error while uploading file, cleaning up

[Nest] 18 - 08/11/2025, 5:04:40 AM WARN [Api:FileUploadInterceptor] Error: aborted

at abortIncoming (node:_http_server:811:17)

at socketOnClose (node:_http_server:805:3)

at Socket.emit (node:events:530:35)

at TCP.<anonymous> (node:net:346:12)

at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {

code: 'ECONNRESET'

}

[Nest] 18 - 08/11/2025, 5:04:40 AM WARN [Api:FileUploadInterceptor] Request error while uploading file, cleaning up

[Nest] 18 - 08/11/2025, 5:04:40 AM WARN [Api:FileUploadInterceptor] Error: aborted

at abortIncoming (node:_http_server:811:17)

at socketOnClose (node:_http_server:805:3)

at Socket.emit (node:events:530:35)

at TCP.<anonymous> (node:net:346:12)

at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {

code: 'ECONNRESET'

}

[Nest] 18 - 08/11/2025, 5:04:40 AM WARN [Api:FileUploadInterceptor] Request error while uploading file, cleaning up

[Nest] 18 - 08/11/2025, 5:04:40 AM WARN [Api:FileUploadInterceptor] Error: aborted

at abortIncoming (node:_http_server:811:17)

at socketOnClose (node:_http_server:805:3)

at Socket.emit (node:events:530:35)

at TCP.<anonymous> (node:net:346:12)

at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {

code: 'ECONNRESET'

}

[Nest] 18 - 08/11/2025, 5:04:52 AM LOG [Api:EventRepository] Websocket Connect: daaPnBOskfxCqVr-AAAj

[Nest] 18 - 08/11/2025, 5:05:03 AM LOG [Api:EventRepository] Websocket Disconnect: daaPnBOskfxCqVr-AAAj

`

The OS that Immich Server is running on

Debian

Version of Immich Server

V1.137.2

Version of Immich Mobile App

V1.137.2

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}
    # 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
      - /srv/mergerfs/NAS/NAS/users:/external-libraries
    env_file:
      - stack.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, 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:
      - stack.env
    restart: always
    healthcheck:
      disable: false

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

  database:
    container_name: immich_postgres
    image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-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

volumes:
  model-cache:

Your .env content

DB_DATA_LOCATION	/srv/mergerfs/NAS/Immich_Data/postgres/
DB_DATABASE_NAME	immich
DB_PASSWORD	postgres
DB_USERNAME	postgres
IMMICH_BUILD	16678484970
IMMICH_BUILD_IMAGE	v1.137.3
IMMICH_BUILD_IMAGE_URL	https://github.com/immich-app/immich/pkgs/container/immich-server
IMMICH_BUILD_URL	https://github.com/immich-app/immich/actions/runs/16678484970
IMMICH_REPOSITORY	immich-app/immich
IMMICH_REPOSITORY_URL	https://github.com/immich-app/immich
IMMICH_SOURCE_COMMIT	007ba1d9efdc571c87ca1553dd28dbbfe7eeee2f
IMMICH_SOURCE_REF	v1.137.3
IMMICH_SOURCE_URL	https://github.com/immich-app/immich/commit/007ba1d9efdc571c87ca1553dd28dbbfe7eeee2f
IMMICH_VERSION	release
LD_LIBRARY_PATH	/usr/lib/jellyfin-ffmpeg/lib:/usr/lib/wsl/lib:
NODE_ENV	production
NODE_VERSION	22.17.0
NVIDIA_DRIVER_CAPABILITIES	all
NVIDIA_VISIBLE_DEVICES	all
PATH	/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/src/app/server/bin
UPLOAD_LOCATION	/srv/mergerfs/NAS/Immich_Data
YARN_VERSION	1.22.22

Reproduction steps

Just upload large video files over the immich Android app via tailscale.

Relevant log output


Additional information

No response

Originally created by @quanliew28 on GitHub (Aug 11, 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 had this bug whereby I am uploading large videos (approx 5-6gb) to my immich server, then suddenly all the progress reseted. The server is hosted over tailscale, so there are no issue regarding cloudflare reverse tunnel 100MB limit. Unsure what is the cause as the logs also didn't show any error. [https://youtube.com/shorts/h601ek1vSXI?si=Kw0ImPe7gDyDZiJ0](url) The video shows it all This is the server log `[Nest] 18 - 08/11/2025, 4:56:34 AM LOG [Api:EventRepository] Websocket Disconnect: IeH3NAbTcDqNu52RAAAf [Nest] 18 - 08/11/2025, 5:03:19 AM LOG [Api:EventRepository] Websocket Connect: oti-JVnA7GQQFoG9AAAh [Nest] 18 - 08/11/2025, 5:03:21 AM LOG [Api:EventRepository] Websocket Disconnect: oti-JVnA7GQQFoG9AAAh [Nest] 18 - 08/11/2025, 5:04:40 AM WARN [Api:FileUploadInterceptor] Request error while uploading file, cleaning up [Nest] 18 - 08/11/2025, 5:04:40 AM WARN [Api:FileUploadInterceptor] Error: aborted at abortIncoming (node:_http_server:811:17) at socketOnClose (node:_http_server:805:3) at Socket.emit (node:events:530:35) at TCP.<anonymous> (node:net:346:12) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { code: 'ECONNRESET' } [Nest] 18 - 08/11/2025, 5:04:40 AM WARN [Api:FileUploadInterceptor] Request error while uploading file, cleaning up [Nest] 18 - 08/11/2025, 5:04:40 AM WARN [Api:FileUploadInterceptor] Error: aborted at abortIncoming (node:_http_server:811:17) at socketOnClose (node:_http_server:805:3) at Socket.emit (node:events:530:35) at TCP.<anonymous> (node:net:346:12) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { code: 'ECONNRESET' } [Nest] 18 - 08/11/2025, 5:04:40 AM WARN [Api:FileUploadInterceptor] Request error while uploading file, cleaning up [Nest] 18 - 08/11/2025, 5:04:40 AM WARN [Api:FileUploadInterceptor] Error: aborted at abortIncoming (node:_http_server:811:17) at socketOnClose (node:_http_server:805:3) at Socket.emit (node:events:530:35) at TCP.<anonymous> (node:net:346:12) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { code: 'ECONNRESET' } [Nest] 18 - 08/11/2025, 5:04:52 AM LOG [Api:EventRepository] Websocket Connect: daaPnBOskfxCqVr-AAAj [Nest] 18 - 08/11/2025, 5:05:03 AM LOG [Api:EventRepository] Websocket Disconnect: daaPnBOskfxCqVr-AAAj ` ### The OS that Immich Server is running on Debian ### Version of Immich Server V1.137.2 ### Version of Immich Mobile App V1.137.2 ### 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} # 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 - /srv/mergerfs/NAS/NAS/users:/external-libraries env_file: - stack.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, 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: - stack.env restart: always healthcheck: disable: false redis: container_name: immich_redis image: docker.io/redis:6.2-alpine@sha256:eaba718fecd1196d88533de7ba49bf903ad33664a92debb24660a922ecd9cac8 healthcheck: test: redis-cli ping || exit 1 restart: always database: container_name: immich_postgres image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-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 volumes: model-cache: ``` ### Your .env content ```Shell DB_DATA_LOCATION /srv/mergerfs/NAS/Immich_Data/postgres/ DB_DATABASE_NAME immich DB_PASSWORD postgres DB_USERNAME postgres IMMICH_BUILD 16678484970 IMMICH_BUILD_IMAGE v1.137.3 IMMICH_BUILD_IMAGE_URL https://github.com/immich-app/immich/pkgs/container/immich-server IMMICH_BUILD_URL https://github.com/immich-app/immich/actions/runs/16678484970 IMMICH_REPOSITORY immich-app/immich IMMICH_REPOSITORY_URL https://github.com/immich-app/immich IMMICH_SOURCE_COMMIT 007ba1d9efdc571c87ca1553dd28dbbfe7eeee2f IMMICH_SOURCE_REF v1.137.3 IMMICH_SOURCE_URL https://github.com/immich-app/immich/commit/007ba1d9efdc571c87ca1553dd28dbbfe7eeee2f IMMICH_VERSION release LD_LIBRARY_PATH /usr/lib/jellyfin-ffmpeg/lib:/usr/lib/wsl/lib: NODE_ENV production NODE_VERSION 22.17.0 NVIDIA_DRIVER_CAPABILITIES all NVIDIA_VISIBLE_DEVICES all PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/src/app/server/bin UPLOAD_LOCATION /srv/mergerfs/NAS/Immich_Data YARN_VERSION 1.22.22 ``` ### Reproduction steps Just upload large video files over the immich Android app via tailscale. ### Relevant log output ```shell ``` ### Additional information _No response_
Author
Owner

@mmomjian commented on GitHub (Aug 11, 2025):

Please test using local IP, port 2283. No Tailscale or (if applicable) reverse proxy. If the issue persists we will reopen. Thank you.

@mmomjian commented on GitHub (Aug 11, 2025): Please test using local IP, port 2283. No Tailscale or (if applicable) reverse proxy. If the issue persists we will reopen. Thank you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#6812