Review Duplicates crashes sometimes #8235

Open
opened 2026-02-05 13:36:44 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @p9bst52dp7-eng on GitHub (Jan 11, 2026).

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

  • Yes

The bug

When selecting duplicates, it sometimes happens that the Immich web application freezes. After reloading, Immich can be used normally again, but the “Review Duplicates” page no longer loads. Restarting the server (Ugreen NAS) as well as restarting the Docker container has no effect. The only solution is to trigger duplicate detection again for all files.

The OS that Immich Server is running on

Ugos Pro 1.12.0.0095 (Ugreen NAS UI) DXP2800

Version of Immich Server

v.2.4.1

Version of Immich Mobile App

Not relevant

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

Apple Ipad Air 4 Safari web Browser

Your docker-compose.yml content

#
# WARNING: To install Immich, follow our guide: https://docs.immich.app/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}:/data
      - /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://docs.immich.app/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:9@sha256:fb8d272e529ea567b9bf1302245796f21a2672b8368ca3fcb938ac334e613c8f
    healthcheck:
      test: redis-cli ping || exit 1
    restart: always

  database:
    container_name: immich_postgres
    image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:bcf63357191b76a916ae5eb93464d65c07511da41e3bf7a8416db519b40b1c23
    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
    shm_size: 128mb
    restart: always

volumes:
  model-cache:

Your .env content

Standard .env file

Reproduction steps

1.choosing duplicates
2.click on delete
3.site crashes
...

Relevant log output


immich_redis  | 1:M 11 Jan 2026 16:09:42.009 * 100 changes in 300 seconds. Saving...
immich_redis  | 1:M 11 Jan 2026 16:09:42.010 * Background saving started by pid 2817
immich_redis  | 2817:C 11 Jan 2026 16:09:42.229 * DB saved on disk
immich_redis  | 2817:C 11 Jan 2026 16:09:42.230 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB
immich_redis  | 1:M 11 Jan 2026 16:09:42.312 * Background saving terminated with success
immich_redis  | 1:M 11 Jan 2026 16:14:43.026 * 100 changes in 300 seconds. Saving...
immich_redis  | 1:M 11 Jan 2026 16:14:43.026 * Background saving started by pid 2891
immich_redis  | 2891:C 11 Jan 2026 16:14:43.271 * DB saved on disk
immich_redis  | 2891:C 11 Jan 2026 16:14:43.271 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB
immich_redis  | 1:M 11 Jan 2026 16:14:43.327 * Background saving terminated with success
immich_redis  | 1:M 11 Jan 2026 16:19:44.062 * 100 changes in 300 seconds. Saving...
immich_redis  | 1:M 11 Jan 2026 16:19:44.062 * Background saving started by pid 2964
immich_redis  | 2964:C 11 Jan 2026 16:19:44.262 * DB saved on disk
immich_redis  | 2964:C 11 Jan 2026 16:19:44.262 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB
immich_redis  | 1:M 11 Jan 2026 16:19:44.263 * Background saving terminated with success
immich_redis  | 1:M 11 Jan 2026 16:24:45.029 * 100 changes in 300 seconds. Saving...
immich_redis  | 1:M 11 Jan 2026 16:24:45.029 * Background saving started by pid 3035
immich_redis  | 3035:C 11 Jan 2026 16:24:45.222 * DB saved on disk
immich_redis  | 3035:C 11 Jan 2026 16:24:45.222 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB
immich_redis  | 1:M 11 Jan 2026 16:24:45.230 * Background saving terminated with success
immich_redis  | 1:M 11 Jan 2026 16:29:46.055 * 100 changes in 300 seconds. Saving...
immich_redis  | 1:M 11 Jan 2026 16:29:46.056 * Background saving started by pid 3105
immich_redis  | 3105:C 11 Jan 2026 16:29:46.227 * DB saved on disk
immich_redis  | 3105:C 11 Jan 2026 16:29:46.227 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB
immich_redis  | 1:M 11 Jan 2026 16:29:46.256 * Background saving terminated with success
immich_redis  | 1:M 11 Jan 2026 16:34:47.035 * 100 changes in 300 seconds. Saving...
immich_redis  | 1:M 11 Jan 2026 16:34:47.035 * Background saving started by pid 3178
immich_redis  | 3178:C 11 Jan 2026 16:34:47.221 * DB saved on disk
immich_redis  | 3178:C 11 Jan 2026 16:34:47.221 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB
immich_redis  | 1:M 11 Jan 2026 16:34:47.237 * Background saving terminated with success
immich_redis  | 1:M 11 Jan 2026 16:39:48.031 * 100 changes in 300 seconds. Saving...
immich_redis  | 1:M 11 Jan 2026 16:39:48.031 * Background saving started by pid 3249
immich_redis  | 3249:C 11 Jan 2026 16:39:48.270 * DB saved on disk
immich_redis  | 3249:C 11 Jan 2026 16:39:48.271 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB
immich_redis  | 1:M 11 Jan 2026 16:39:48.333 * Background saving terminated with success
immich_redis  | 1:M 11 Jan 2026 16:44:49.024 * 100 changes in 300 seconds. Saving...
immich_redis  | 1:M 11 Jan 2026 16:44:49.024 * Background saving started by pid 3318
immich_redis  | 3318:C 11 Jan 2026 16:44:49.342 * DB saved on disk
immich_redis  | 3318:C 11 Jan 2026 16:44:49.342 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB
immich_redis  | 1:M 11 Jan 2026 16:44:49.426 * Background saving terminated with success
immich_redis  | 1:M 11 Jan 2026 16:49:50.065 * 100 changes in 300 seconds. Saving...
immich_redis  | 1:M 11 Jan 2026 16:49:50.065 * Background saving started by pid 3389
immich_redis  | 3389:C 11 Jan 2026 16:49:50.314 * DB saved on disk
immich_redis  | 3389:C 11 Jan 2026 16:49:50.314 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB
immich_redis  | 1:M 11 Jan 2026 16:49:50.367 * Background saving terminated with success
immich_redis  | 1:M 11 Jan 2026 16:54:51.000 * 100 changes in 300 seconds. Saving...
immich_redis  | 1:M 11 Jan 2026 16:54:51.000 * Background saving started by pid 3459
immich_redis  | 3459:C 11 Jan 2026 16:54:51.169 * DB saved on disk
immich_redis  | 3459:C 11 Jan 2026 16:54:51.169 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB
immich_redis  | 1:M 11 Jan 2026 16:54:51.201 * Background saving terminated with success
immich_server  | [32m[Nest] 30  - [39m01/11/2026, 1:22:03 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 617vz1ufEK_Hp67bAAAS[39m
immich_server  | [32m[Nest] 30  - [39m01/11/2026, 1:55:11 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    9gH_O_bbtjVaq5WgAAAU[39m
immich_server  | [32m[Nest] 30  - [39m01/11/2026, 1:55:34 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 9gH_O_bbtjVaq5WgAAAU[39m
immich_server  | [32m[Nest] 30  - [39m01/11/2026, 2:06:27 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    0qRK9C1kO-nbyTlXAAAW[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 2:06:30 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 0qRK9C1kO-nbyTlXAAAW[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 2:13:59 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    -Ink9ItLMWQaJo6TAAAY[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 2:14:02 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: -Ink9ItLMWQaJo6TAAAY[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 2:21:18 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    gDyc9V2M3kG-c5UQAAAa[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 2:21:37 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: gDyc9V2M3kG-c5UQAAAa[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 2:29:16 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    o4pwyYkPRw-o4_JVAAAc[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 2:30:02 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: o4pwyYkPRw-o4_JVAAAc[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 2:37:26 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    pAPwNMBd3ZOhjKVVAAAe[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 2:38:11 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: pAPwNMBd3ZOhjKVVAAAe[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 2:55:25 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    2gG4avR3hRWlPj09AAAg[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 2:55:59 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 2gG4avR3hRWlPj09AAAg[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:03:11 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    8g988uyHOjZilOVzAAAi[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:03:32 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 8g988uyHOjZilOVzAAAi[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:11:04 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    -lb6po8d1wUhSnabAAAk[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:11:06 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: -lb6po8d1wUhSnabAAAk[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:12:06 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    SJXKAiqb5JqAPS1zAAAm[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:12:19 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: SJXKAiqb5JqAPS1zAAAm[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:18:40 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    XOMtQAn46142msIJAAAo[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:18:43 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: XOMtQAn46142msIJAAAo[39m
immich_machine_learning  | [2;36m[01/11/26 12:48:32][0m[2;36m [0m[34mINFO    [0m Starting gunicorn [1;36m23.0[0m.[1;36m0[0m                           
immich_postgres          | 2026-01-11 12:48:45.445 UTC [1] LOG:  database system is ready to accept connections
immich_machine_learning  | [2;36m[01/11/26 12:48:32][0m[2;36m [0m[34mINFO    [0m Listening at: [4;94mhttp://[0m[1m[[0m::[1m][0m:[1;36m3003[0m [1m([0m[1;36m11[0m[1m)[0m                
immich_postgres          | 2026-01-11 12:48:55.374 UTC [1] LOG:  received fast shutdown request
immich_postgres          | 2026-01-11 12:48:55.594 UTC [1] LOG:  aborting any active transactions
immich_postgres          | 2026-01-11 12:48:55.595 UTC [1] LOG:  background worker "logical replication launcher" (PID 52) exited with exit code 1
immich_postgres          | 2026-01-11 12:48:55.596 UTC [47] LOG:  shutting down
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:21:28 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    oGelM_sMFG62DilxAAAq[39m
immich_postgres          | 2026-01-11 12:48:58.022 UTC [1] LOG:  database system is shut down
immich_server            | [32m[Nest] 6  - [39m01/11/2026, 3:22:08 PM [32m    LOG[39m [33m[Microservices:MapRepository][39m [32mEmpty response from database for city reverse geocoding lat: 63.5956, lon: -18.4661. Likely cause: no nearby large populated place (500+ within 25km). Falling back to country boundaries.[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:22:36 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    pYqW0V7MuXomtOUgAAAs[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:22:37 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: oGelM_sMFG62DilxAAAq[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:23:21 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: pYqW0V7MuXomtOUgAAAs[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:25:34 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    aXyRfBwsvji5ZgE2AAAu[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:25:50 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    KmHwKZjaXGtM2UI1AAAw[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:25:51 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: aXyRfBwsvji5ZgE2AAAu[39m
immich_postgres          | Using SSD storage
immich_postgres          | 
immich_postgres          | PostgreSQL Database directory appears to contain a database; Skipping initialization
immich_postgres          | 
immich_postgres          | 2026-01-11 12:49:10.125 GMT [1] LOG:  skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf"
immich_postgres          | 2026-01-11 12:49:10.125 GMT [1] LOG:  skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf"
immich_postgres          | 2026-01-11 12:49:10.469 UTC [1] LOG:  starting PostgreSQL 14.19 (Debian 14.19-1.pgdg12+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14+deb12u1) 12.2.0, 64-bit
immich_postgres          | 2026-01-11 12:49:10.469 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
immich_postgres          | 2026-01-11 12:49:10.469 UTC [1] LOG:  listening on IPv6 address "::", port 5432
immich_postgres          | 2026-01-11 12:49:10.818 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
immich_postgres          | 2026-01-11 12:49:11.296 UTC [32] LOG:  database system was shut down at 2026-01-11 12:48:57 UTC
immich_postgres          | 2026-01-11 12:49:11.680 UTC [1] LOG:  database system is ready to accept connections
immich_postgres          | 2026-01-11 12:51:31.571 UTC [1] LOG:  received fast shutdown request
immich_postgres          | 2026-01-11 12:51:32.796 UTC [1] LOG:  aborting any active transactions
immich_postgres          | 2026-01-11 12:51:32.799 UTC [1] LOG:  background worker "logical replication launcher" (PID 41) exited with exit code 1
immich_postgres          | 2026-01-11 12:51:32.809 UTC [36] LOG:  shutting down
immich_postgres          | Using SSD storage
immich_postgres          | 
immich_postgres          | PostgreSQL Database directory appears to contain a database; Skipping initialization
immich_postgres          | 
immich_postgres          | 2026-01-11 12:55:24.426 GMT [1] LOG:  skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf"
immich_postgres          | 2026-01-11 12:55:24.426 GMT [1] LOG:  skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf"
immich_postgres          | 2026-01-11 12:55:25.847 UTC [1] LOG:  starting PostgreSQL 14.19 (Debian 14.19-1.pgdg12+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14+deb12u1) 12.2.0, 64-bit
immich_postgres          | 2026-01-11 12:55:25.960 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
immich_postgres          | 2026-01-11 12:55:25.960 UTC [1] LOG:  listening on IPv6 address "::", port 5432
immich_postgres          | 2026-01-11 12:55:26.571 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
immich_postgres          | 2026-01-11 12:55:27.043 UTC [55] LOG:  database system was shut down at 2026-01-11 12:51:41 UTC
immich_postgres          | 2026-01-11 12:55:29.628 UTC [1] LOG:  database system is ready to accept connections
immich_postgres          | Using SSD storage
immich_postgres          | 
immich_postgres          | PostgreSQL Database directory appears to contain a database; Skipping initialization
immich_postgres          | 
immich_postgres          | 2026-01-11 12:56:01.113 GMT [1] LOG:  skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf"
immich_postgres          | 2026-01-11 12:56:01.113 GMT [1] LOG:  skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf"
immich_postgres          | 2026-01-11 12:56:01.929 UTC [1] LOG:  starting PostgreSQL 14.19 (Debian 14.19-1.pgdg12+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14+deb12u1) 12.2.0, 64-bit
immich_postgres          | 2026-01-11 12:56:01.929 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
immich_postgres          | 2026-01-11 12:56:01.929 UTC [1] LOG:  listening on IPv6 address "::", port 5432
immich_postgres          | 2026-01-11 12:56:02.357 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
immich_postgres          | 2026-01-11 12:56:03.072 UTC [32] LOG:  database system was interrupted; last known up at 2026-01-11 12:55:27 UTC
immich_postgres          | 2026-01-11 12:56:06.880 UTC [46] FATAL:  the database system is starting up
immich_postgres          | 2026-01-11 12:56:07.408 UTC [32] LOG:  database system was not properly shut down; automatic recovery in progress
immich_postgres          | 2026-01-11 12:56:07.813 UTC [32] LOG:  invalid record length at C/5202FA98: wanted 24, got 0
immich_postgres          | 2026-01-11 12:56:07.813 UTC [32] LOG:  redo is not required
immich_postgres          | 2026-01-11 12:56:10.494 UTC [1] LOG:  database system is ready to accept connections
immich_machine_learning  | [2;36m[01/11/26 12:48:32][0m[2;36m [0m[34mINFO    [0m Using worker: immich_ml.config.CustomUvicornWorker 
immich_machine_learning  | [2;36m[01/11/26 12:48:32][0m[2;36m [0m[34mINFO    [0m Booting worker with pid: [1;36m15[0m                        
immich_machine_learning  | [2;36m[01/11/26 12:49:09][0m[2;36m [0m[34mINFO    [0m Starting gunicorn [1;36m23.0[0m.[1;36m0[0m                           
immich_machine_learning  | [2;36m[01/11/26 12:49:09][0m[2;36m [0m[34mINFO    [0m Listening at: [4;94mhttp://[0m[1m[[0m::[1m][0m:[1;36m3003[0m [1m([0m[1;36m11[0m[1m)[0m                
immich_machine_learning  | [2;36m[01/11/26 12:49:09][0m[2;36m [0m[34mINFO    [0m Using worker: immich_ml.config.CustomUvicornWorker 
immich_machine_learning  | [2;36m[01/11/26 12:49:09][0m[2;36m [0m[34mINFO    [0m Booting worker with pid: [1;36m15[0m                        
immich_machine_learning  | [2;36m[01/11/26 12:49:16][0m[2;36m [0m[34mINFO    [0m Started server process [1m[[0m[1;36m15[0m[1m][0m                        
immich_machine_learning  | [2;36m[01/11/26 12:49:16][0m[2;36m [0m[34mINFO    [0m Waiting for application startup.                   
immich_machine_learning  | [2;36m[01/11/26 12:49:16][0m[2;36m [0m[34mINFO    [0m Created in-memory cache with unloading after 300s  
immich_machine_learning  | [2;36m                    [0m         of inactivity.                                     
immich_machine_learning  | [2;36m[01/11/26 12:49:16][0m[2;36m [0m[34mINFO    [0m Initialized request thread pool with [1;36m4[0m threads.    
immich_machine_learning  | [2;36m[01/11/26 12:49:16][0m[2;36m [0m[34mINFO    [0m Application startup complete.                      
immich_machine_learning  | [2;36m[01/11/26 12:56:13][0m[2;36m [0m[34mINFO    [0m Starting gunicorn [1;36m23.0[0m.[1;36m0[0m                           
immich_machine_learning  | [2;36m[01/11/26 12:56:13][0m[2;36m [0m[34mINFO    [0m Listening at: [4;94mhttp://[0m[1m[[0m::[1m][0m:[1;36m3003[0m [1m([0m[1;36m11[0m[1m)[0m                
immich_machine_learning  | [2;36m[01/11/26 12:56:13][0m[2;36m [0m[34mINFO    [0m Using worker: immich_ml.config.CustomUvicornWorker 
immich_machine_learning  | [2;36m[01/11/26 12:56:13][0m[2;36m [0m[34mINFO    [0m Booting worker with pid: [1;36m15[0m                        
immich_machine_learning  | [2;36m[01/11/26 12:56:32][0m[2;36m [0m[34mINFO    [0m Started server process [1m[[0m[1;36m15[0m[1m][0m                        
immich_machine_learning  | [2;36m[01/11/26 12:56:32][0m[2;36m [0m[34mINFO    [0m Waiting for application startup.                   
immich_machine_learning  | [2;36m[01/11/26 12:56:32][0m[2;36m [0m[34mINFO    [0m Created in-memory cache with unloading after 300s  
immich_machine_learning  | [2;36m                    [0m         of inactivity.                                     
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:26:35 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: KmHwKZjaXGtM2UI1AAAw[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:39:18 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    3S0-yVL2UJIA675XAAAz[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:41:59 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 3S0-yVL2UJIA675XAAAz[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:48:44 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    0Jm9yTyNqtqr87_tAAA1[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 3:49:29 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 0Jm9yTyNqtqr87_tAAA1[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 4:25:27 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    Z2KvwZB7LCF8P4FHAAA3[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 4:26:12 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: Z2KvwZB7LCF8P4FHAAA3[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 4:26:29 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    36Jx6EwoAVltHD7WAAA5[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 4:26:58 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 36Jx6EwoAVltHD7WAAA5[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 4:28:20 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    cY-O1i79GCUxv8z_AAA7[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 4:28:52 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: cY-O1i79GCUxv8z_AAA7[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 4:30:36 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    Dt7m9Qi8yZAXj4XfAAA9[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 4:31:35 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: Dt7m9Qi8yZAXj4XfAAA9[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 4:32:28 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    0tPx0UWiGCiRsKm-AAA_[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 4:33:13 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 0tPx0UWiGCiRsKm-AAA_[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 4:33:38 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    363z9uh_DbodqEItAABB[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 4:34:36 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 363z9uh_DbodqEItAABB[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 4:35:59 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect:    JVe7Gu6V2c6GRXdVAABD[39m
immich_server            | [32m[Nest] 30  - [39m01/11/2026, 4:36:44 PM [32m    LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: JVe7Gu6V2c6GRXdVAABD[39m
immich_machine_learning  | [2;36m[01/11/26 12:56:32][0m[2;36m [0m[34mINFO    [0m Initialized request thread pool with [1;36m4[0m threads.    
immich_machine_learning  | [2;36m[01/11/26 12:56:32][0m[2;36m [0m[34mINFO    [0m Application startup complete.                      

Additional information

So far it has happened three times; each time I had to regenerate the duplicates. However, the problem occurs randomly, after an arbitrary number of days or deduplicated photos. Can you help me resolve this issue?

Originally created by @p9bst52dp7-eng on GitHub (Jan 11, 2026). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug When selecting duplicates, it sometimes happens that the Immich web application freezes. After reloading, Immich can be used normally again, but the “Review Duplicates” page no longer loads. Restarting the server (Ugreen NAS) as well as restarting the Docker container has no effect. The only solution is to trigger duplicate detection again for all files. ### The OS that Immich Server is running on Ugos Pro 1.12.0.0095 (Ugreen NAS UI) DXP2800 ### Version of Immich Server v.2.4.1 ### Version of Immich Mobile App Not relevant ### Platform with the issue - [x] Server - [x] Web - [ ] Mobile ### Device make and model Apple Ipad Air 4 Safari web Browser ### Your docker-compose.yml content ```YAML # # WARNING: To install Immich, follow our guide: https://docs.immich.app/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}:/data - /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://docs.immich.app/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:9@sha256:fb8d272e529ea567b9bf1302245796f21a2672b8368ca3fcb938ac334e613c8f healthcheck: test: redis-cli ping || exit 1 restart: always database: container_name: immich_postgres image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:bcf63357191b76a916ae5eb93464d65c07511da41e3bf7a8416db519b40b1c23 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 shm_size: 128mb restart: always volumes: model-cache: ``` ### Your .env content ```Shell Standard .env file ``` ### Reproduction steps 1.choosing duplicates 2.click on delete 3.site crashes ... ### Relevant log output ```shell immich_redis | 1:M 11 Jan 2026 16:09:42.009 * 100 changes in 300 seconds. Saving... immich_redis | 1:M 11 Jan 2026 16:09:42.010 * Background saving started by pid 2817 immich_redis | 2817:C 11 Jan 2026 16:09:42.229 * DB saved on disk immich_redis | 2817:C 11 Jan 2026 16:09:42.230 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB immich_redis | 1:M 11 Jan 2026 16:09:42.312 * Background saving terminated with success immich_redis | 1:M 11 Jan 2026 16:14:43.026 * 100 changes in 300 seconds. Saving... immich_redis | 1:M 11 Jan 2026 16:14:43.026 * Background saving started by pid 2891 immich_redis | 2891:C 11 Jan 2026 16:14:43.271 * DB saved on disk immich_redis | 2891:C 11 Jan 2026 16:14:43.271 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB immich_redis | 1:M 11 Jan 2026 16:14:43.327 * Background saving terminated with success immich_redis | 1:M 11 Jan 2026 16:19:44.062 * 100 changes in 300 seconds. Saving... immich_redis | 1:M 11 Jan 2026 16:19:44.062 * Background saving started by pid 2964 immich_redis | 2964:C 11 Jan 2026 16:19:44.262 * DB saved on disk immich_redis | 2964:C 11 Jan 2026 16:19:44.262 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB immich_redis | 1:M 11 Jan 2026 16:19:44.263 * Background saving terminated with success immich_redis | 1:M 11 Jan 2026 16:24:45.029 * 100 changes in 300 seconds. Saving... immich_redis | 1:M 11 Jan 2026 16:24:45.029 * Background saving started by pid 3035 immich_redis | 3035:C 11 Jan 2026 16:24:45.222 * DB saved on disk immich_redis | 3035:C 11 Jan 2026 16:24:45.222 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB immich_redis | 1:M 11 Jan 2026 16:24:45.230 * Background saving terminated with success immich_redis | 1:M 11 Jan 2026 16:29:46.055 * 100 changes in 300 seconds. Saving... immich_redis | 1:M 11 Jan 2026 16:29:46.056 * Background saving started by pid 3105 immich_redis | 3105:C 11 Jan 2026 16:29:46.227 * DB saved on disk immich_redis | 3105:C 11 Jan 2026 16:29:46.227 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB immich_redis | 1:M 11 Jan 2026 16:29:46.256 * Background saving terminated with success immich_redis | 1:M 11 Jan 2026 16:34:47.035 * 100 changes in 300 seconds. Saving... immich_redis | 1:M 11 Jan 2026 16:34:47.035 * Background saving started by pid 3178 immich_redis | 3178:C 11 Jan 2026 16:34:47.221 * DB saved on disk immich_redis | 3178:C 11 Jan 2026 16:34:47.221 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB immich_redis | 1:M 11 Jan 2026 16:34:47.237 * Background saving terminated with success immich_redis | 1:M 11 Jan 2026 16:39:48.031 * 100 changes in 300 seconds. Saving... immich_redis | 1:M 11 Jan 2026 16:39:48.031 * Background saving started by pid 3249 immich_redis | 3249:C 11 Jan 2026 16:39:48.270 * DB saved on disk immich_redis | 3249:C 11 Jan 2026 16:39:48.271 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB immich_redis | 1:M 11 Jan 2026 16:39:48.333 * Background saving terminated with success immich_redis | 1:M 11 Jan 2026 16:44:49.024 * 100 changes in 300 seconds. Saving... immich_redis | 1:M 11 Jan 2026 16:44:49.024 * Background saving started by pid 3318 immich_redis | 3318:C 11 Jan 2026 16:44:49.342 * DB saved on disk immich_redis | 3318:C 11 Jan 2026 16:44:49.342 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB immich_redis | 1:M 11 Jan 2026 16:44:49.426 * Background saving terminated with success immich_redis | 1:M 11 Jan 2026 16:49:50.065 * 100 changes in 300 seconds. Saving... immich_redis | 1:M 11 Jan 2026 16:49:50.065 * Background saving started by pid 3389 immich_redis | 3389:C 11 Jan 2026 16:49:50.314 * DB saved on disk immich_redis | 3389:C 11 Jan 2026 16:49:50.314 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB immich_redis | 1:M 11 Jan 2026 16:49:50.367 * Background saving terminated with success immich_redis | 1:M 11 Jan 2026 16:54:51.000 * 100 changes in 300 seconds. Saving... immich_redis | 1:M 11 Jan 2026 16:54:51.000 * Background saving started by pid 3459 immich_redis | 3459:C 11 Jan 2026 16:54:51.169 * DB saved on disk immich_redis | 3459:C 11 Jan 2026 16:54:51.169 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB immich_redis | 1:M 11 Jan 2026 16:54:51.201 * Background saving terminated with success immich_server | [32m[Nest] 30 - [39m01/11/2026, 1:22:03 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 617vz1ufEK_Hp67bAAAS[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 1:55:11 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: 9gH_O_bbtjVaq5WgAAAU[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 1:55:34 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 9gH_O_bbtjVaq5WgAAAU[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 2:06:27 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: 0qRK9C1kO-nbyTlXAAAW[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 2:06:30 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 0qRK9C1kO-nbyTlXAAAW[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 2:13:59 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: -Ink9ItLMWQaJo6TAAAY[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 2:14:02 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: -Ink9ItLMWQaJo6TAAAY[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 2:21:18 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: gDyc9V2M3kG-c5UQAAAa[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 2:21:37 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: gDyc9V2M3kG-c5UQAAAa[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 2:29:16 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: o4pwyYkPRw-o4_JVAAAc[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 2:30:02 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: o4pwyYkPRw-o4_JVAAAc[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 2:37:26 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: pAPwNMBd3ZOhjKVVAAAe[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 2:38:11 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: pAPwNMBd3ZOhjKVVAAAe[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 2:55:25 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: 2gG4avR3hRWlPj09AAAg[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 2:55:59 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 2gG4avR3hRWlPj09AAAg[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:03:11 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: 8g988uyHOjZilOVzAAAi[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:03:32 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 8g988uyHOjZilOVzAAAi[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:11:04 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: -lb6po8d1wUhSnabAAAk[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:11:06 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: -lb6po8d1wUhSnabAAAk[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:12:06 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: SJXKAiqb5JqAPS1zAAAm[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:12:19 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: SJXKAiqb5JqAPS1zAAAm[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:18:40 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: XOMtQAn46142msIJAAAo[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:18:43 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: XOMtQAn46142msIJAAAo[39m immich_machine_learning | [2;36m[01/11/26 12:48:32][0m[2;36m [0m[34mINFO [0m Starting gunicorn [1;36m23.0[0m.[1;36m0[0m immich_postgres | 2026-01-11 12:48:45.445 UTC [1] LOG: database system is ready to accept connections immich_machine_learning | [2;36m[01/11/26 12:48:32][0m[2;36m [0m[34mINFO [0m Listening at: [4;94mhttp://[0m[1m[[0m::[1m][0m:[1;36m3003[0m [1m([0m[1;36m11[0m[1m)[0m immich_postgres | 2026-01-11 12:48:55.374 UTC [1] LOG: received fast shutdown request immich_postgres | 2026-01-11 12:48:55.594 UTC [1] LOG: aborting any active transactions immich_postgres | 2026-01-11 12:48:55.595 UTC [1] LOG: background worker "logical replication launcher" (PID 52) exited with exit code 1 immich_postgres | 2026-01-11 12:48:55.596 UTC [47] LOG: shutting down immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:21:28 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: oGelM_sMFG62DilxAAAq[39m immich_postgres | 2026-01-11 12:48:58.022 UTC [1] LOG: database system is shut down immich_server | [32m[Nest] 6 - [39m01/11/2026, 3:22:08 PM [32m LOG[39m [33m[Microservices:MapRepository][39m [32mEmpty response from database for city reverse geocoding lat: 63.5956, lon: -18.4661. Likely cause: no nearby large populated place (500+ within 25km). Falling back to country boundaries.[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:22:36 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: pYqW0V7MuXomtOUgAAAs[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:22:37 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: oGelM_sMFG62DilxAAAq[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:23:21 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: pYqW0V7MuXomtOUgAAAs[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:25:34 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: aXyRfBwsvji5ZgE2AAAu[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:25:50 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: KmHwKZjaXGtM2UI1AAAw[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:25:51 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: aXyRfBwsvji5ZgE2AAAu[39m immich_postgres | Using SSD storage immich_postgres | immich_postgres | PostgreSQL Database directory appears to contain a database; Skipping initialization immich_postgres | immich_postgres | 2026-01-11 12:49:10.125 GMT [1] LOG: skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf" immich_postgres | 2026-01-11 12:49:10.125 GMT [1] LOG: skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf" immich_postgres | 2026-01-11 12:49:10.469 UTC [1] LOG: starting PostgreSQL 14.19 (Debian 14.19-1.pgdg12+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14+deb12u1) 12.2.0, 64-bit immich_postgres | 2026-01-11 12:49:10.469 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 immich_postgres | 2026-01-11 12:49:10.469 UTC [1] LOG: listening on IPv6 address "::", port 5432 immich_postgres | 2026-01-11 12:49:10.818 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" immich_postgres | 2026-01-11 12:49:11.296 UTC [32] LOG: database system was shut down at 2026-01-11 12:48:57 UTC immich_postgres | 2026-01-11 12:49:11.680 UTC [1] LOG: database system is ready to accept connections immich_postgres | 2026-01-11 12:51:31.571 UTC [1] LOG: received fast shutdown request immich_postgres | 2026-01-11 12:51:32.796 UTC [1] LOG: aborting any active transactions immich_postgres | 2026-01-11 12:51:32.799 UTC [1] LOG: background worker "logical replication launcher" (PID 41) exited with exit code 1 immich_postgres | 2026-01-11 12:51:32.809 UTC [36] LOG: shutting down immich_postgres | Using SSD storage immich_postgres | immich_postgres | PostgreSQL Database directory appears to contain a database; Skipping initialization immich_postgres | immich_postgres | 2026-01-11 12:55:24.426 GMT [1] LOG: skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf" immich_postgres | 2026-01-11 12:55:24.426 GMT [1] LOG: skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf" immich_postgres | 2026-01-11 12:55:25.847 UTC [1] LOG: starting PostgreSQL 14.19 (Debian 14.19-1.pgdg12+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14+deb12u1) 12.2.0, 64-bit immich_postgres | 2026-01-11 12:55:25.960 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 immich_postgres | 2026-01-11 12:55:25.960 UTC [1] LOG: listening on IPv6 address "::", port 5432 immich_postgres | 2026-01-11 12:55:26.571 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" immich_postgres | 2026-01-11 12:55:27.043 UTC [55] LOG: database system was shut down at 2026-01-11 12:51:41 UTC immich_postgres | 2026-01-11 12:55:29.628 UTC [1] LOG: database system is ready to accept connections immich_postgres | Using SSD storage immich_postgres | immich_postgres | PostgreSQL Database directory appears to contain a database; Skipping initialization immich_postgres | immich_postgres | 2026-01-11 12:56:01.113 GMT [1] LOG: skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf" immich_postgres | 2026-01-11 12:56:01.113 GMT [1] LOG: skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf" immich_postgres | 2026-01-11 12:56:01.929 UTC [1] LOG: starting PostgreSQL 14.19 (Debian 14.19-1.pgdg12+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14+deb12u1) 12.2.0, 64-bit immich_postgres | 2026-01-11 12:56:01.929 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 immich_postgres | 2026-01-11 12:56:01.929 UTC [1] LOG: listening on IPv6 address "::", port 5432 immich_postgres | 2026-01-11 12:56:02.357 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" immich_postgres | 2026-01-11 12:56:03.072 UTC [32] LOG: database system was interrupted; last known up at 2026-01-11 12:55:27 UTC immich_postgres | 2026-01-11 12:56:06.880 UTC [46] FATAL: the database system is starting up immich_postgres | 2026-01-11 12:56:07.408 UTC [32] LOG: database system was not properly shut down; automatic recovery in progress immich_postgres | 2026-01-11 12:56:07.813 UTC [32] LOG: invalid record length at C/5202FA98: wanted 24, got 0 immich_postgres | 2026-01-11 12:56:07.813 UTC [32] LOG: redo is not required immich_postgres | 2026-01-11 12:56:10.494 UTC [1] LOG: database system is ready to accept connections immich_machine_learning | [2;36m[01/11/26 12:48:32][0m[2;36m [0m[34mINFO [0m Using worker: immich_ml.config.CustomUvicornWorker immich_machine_learning | [2;36m[01/11/26 12:48:32][0m[2;36m [0m[34mINFO [0m Booting worker with pid: [1;36m15[0m immich_machine_learning | [2;36m[01/11/26 12:49:09][0m[2;36m [0m[34mINFO [0m Starting gunicorn [1;36m23.0[0m.[1;36m0[0m immich_machine_learning | [2;36m[01/11/26 12:49:09][0m[2;36m [0m[34mINFO [0m Listening at: [4;94mhttp://[0m[1m[[0m::[1m][0m:[1;36m3003[0m [1m([0m[1;36m11[0m[1m)[0m immich_machine_learning | [2;36m[01/11/26 12:49:09][0m[2;36m [0m[34mINFO [0m Using worker: immich_ml.config.CustomUvicornWorker immich_machine_learning | [2;36m[01/11/26 12:49:09][0m[2;36m [0m[34mINFO [0m Booting worker with pid: [1;36m15[0m immich_machine_learning | [2;36m[01/11/26 12:49:16][0m[2;36m [0m[34mINFO [0m Started server process [1m[[0m[1;36m15[0m[1m][0m immich_machine_learning | [2;36m[01/11/26 12:49:16][0m[2;36m [0m[34mINFO [0m Waiting for application startup. immich_machine_learning | [2;36m[01/11/26 12:49:16][0m[2;36m [0m[34mINFO [0m Created in-memory cache with unloading after 300s immich_machine_learning | [2;36m [0m of inactivity. immich_machine_learning | [2;36m[01/11/26 12:49:16][0m[2;36m [0m[34mINFO [0m Initialized request thread pool with [1;36m4[0m threads. immich_machine_learning | [2;36m[01/11/26 12:49:16][0m[2;36m [0m[34mINFO [0m Application startup complete. immich_machine_learning | [2;36m[01/11/26 12:56:13][0m[2;36m [0m[34mINFO [0m Starting gunicorn [1;36m23.0[0m.[1;36m0[0m immich_machine_learning | [2;36m[01/11/26 12:56:13][0m[2;36m [0m[34mINFO [0m Listening at: [4;94mhttp://[0m[1m[[0m::[1m][0m:[1;36m3003[0m [1m([0m[1;36m11[0m[1m)[0m immich_machine_learning | [2;36m[01/11/26 12:56:13][0m[2;36m [0m[34mINFO [0m Using worker: immich_ml.config.CustomUvicornWorker immich_machine_learning | [2;36m[01/11/26 12:56:13][0m[2;36m [0m[34mINFO [0m Booting worker with pid: [1;36m15[0m immich_machine_learning | [2;36m[01/11/26 12:56:32][0m[2;36m [0m[34mINFO [0m Started server process [1m[[0m[1;36m15[0m[1m][0m immich_machine_learning | [2;36m[01/11/26 12:56:32][0m[2;36m [0m[34mINFO [0m Waiting for application startup. immich_machine_learning | [2;36m[01/11/26 12:56:32][0m[2;36m [0m[34mINFO [0m Created in-memory cache with unloading after 300s immich_machine_learning | [2;36m [0m of inactivity. immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:26:35 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: KmHwKZjaXGtM2UI1AAAw[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:39:18 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: 3S0-yVL2UJIA675XAAAz[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:41:59 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 3S0-yVL2UJIA675XAAAz[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:48:44 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: 0Jm9yTyNqtqr87_tAAA1[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 3:49:29 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 0Jm9yTyNqtqr87_tAAA1[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 4:25:27 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: Z2KvwZB7LCF8P4FHAAA3[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 4:26:12 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: Z2KvwZB7LCF8P4FHAAA3[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 4:26:29 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: 36Jx6EwoAVltHD7WAAA5[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 4:26:58 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 36Jx6EwoAVltHD7WAAA5[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 4:28:20 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: cY-O1i79GCUxv8z_AAA7[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 4:28:52 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: cY-O1i79GCUxv8z_AAA7[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 4:30:36 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: Dt7m9Qi8yZAXj4XfAAA9[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 4:31:35 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: Dt7m9Qi8yZAXj4XfAAA9[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 4:32:28 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: 0tPx0UWiGCiRsKm-AAA_[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 4:33:13 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 0tPx0UWiGCiRsKm-AAA_[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 4:33:38 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: 363z9uh_DbodqEItAABB[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 4:34:36 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: 363z9uh_DbodqEItAABB[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 4:35:59 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Connect: JVe7Gu6V2c6GRXdVAABD[39m immich_server | [32m[Nest] 30 - [39m01/11/2026, 4:36:44 PM [32m LOG[39m [33m[Api:WebsocketRepository][39m [32mWebsocket Disconnect: JVe7Gu6V2c6GRXdVAABD[39m immich_machine_learning | [2;36m[01/11/26 12:56:32][0m[2;36m [0m[34mINFO [0m Initialized request thread pool with [1;36m4[0m threads. immich_machine_learning | [2;36m[01/11/26 12:56:32][0m[2;36m [0m[34mINFO [0m Application startup complete. ``` ### Additional information So far it has happened three times; each time I had to regenerate the duplicates. However, the problem occurs randomly, after an arbitrary number of days or deduplicated photos. Can you help me resolve this issue?
Author
Owner

@bo0tzz commented on GitHub (Jan 11, 2026):

Please post the logs

@bo0tzz commented on GitHub (Jan 11, 2026): Please post the logs
Author
Owner

@p9bst52dp7-eng commented on GitHub (Jan 11, 2026):

I updated my post, not sure wich part of the log could be helpful, sorry. Is this the right log?

@p9bst52dp7-eng commented on GitHub (Jan 11, 2026): I updated my post, not sure wich part of the log could be helpful, sorry. Is this the right log?
Author
Owner

@bo0tzz commented on GitHub (Jan 12, 2026):

Does the timing of these logs overlap with you triggering the issue at all? I don't see anything unusual in them.

@bo0tzz commented on GitHub (Jan 12, 2026): Does the timing of these logs overlap with you triggering the issue at all? I don't see anything unusual in them.
Author
Owner

@p9bst52dp7-eng commented on GitHub (Jan 12, 2026):

I pulled this log 2 hours after the last crash, so it should be in there. But idk. Are there other posibilitys to get information about what happend?
Is there anyone who has the same problem.
Should i try to reinstall Immich?

Thanks for your help💪🏻

@p9bst52dp7-eng commented on GitHub (Jan 12, 2026): I pulled this log 2 hours after the last crash, so it should be in there. But idk. Are there other posibilitys to get information about what happend? Is there anyone who has the same problem. Should i try to reinstall Immich? Thanks for your help💪🏻
Author
Owner

@p9bst52dp7-eng commented on GitHub (Jan 15, 2026):

Hello to everyone, can someone help me with my problem? Is there anyone who had the same?

Thank you guys.

@p9bst52dp7-eng commented on GitHub (Jan 15, 2026): Hello to everyone, can someone help me with my problem? Is there anyone who had the same? Thank you guys.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#8235