[BUG] Can't run anything machine learning-related on 1.90.1. #1745

Closed
opened 2026-02-05 03:27:22 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @LiterallyEarth on GitHub (Dec 8, 2023).

The bug

When I try to run any machine learning related thing, it doesn't work. I installed using the script. I have a system matching all the "preferred" system requirements.

Everything else seems to work, but when I try to use smart search, I get an error saying just "Network Error - ERR_NETWORK - undefined"
When I try to run a machine learning task, it also fails showing how many errors it encountered, none ran successfully.

The OS that Immich Server is running on

macOS Sonoma (14.2)

Version of Immich Server

v1.90.1

Version of Immich Mobile App

v1.90.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

version: "3.8"

#
# 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
      - typesense
    restart: always

  immich-microservices:
    container_name: immich_microservices
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    # extends:
    #   file: hwaccel.yml
    #   service: hwaccel
    command: [ "start.sh", "microservices" ]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - .env
    depends_on:
      - redis
      - database
      - typesense
    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

  typesense:
    container_name: immich_typesense
    image: typesense/typesense:0.24.1@sha256:9bcff2b829f12074426ca044b56160ca9d777a0c488303469143dd9f8259d4dd
    environment:
      - TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
      - TYPESENSE_DATA_DIR=/data
      # remove this to get debug messages
      - GLOG_minloglevel=1
    volumes:
      - tsdata:/data
    restart: always

  redis:
    container_name: immich_redis
    image: redis:6.2-alpine@sha256:60e49e22fa5706cd8df7d5e0bc50ee9bab7c608039fa653c4d961014237cca46
    restart: always

  database:
    container_name: immich_postgres
    image: postgres:14-alpine@sha256:6a0e35296341e676fe6bd8d236c72afffe2dfe3d7eb9c2405c0f3fc04500cd07
    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:
  tsdata:

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=/Volumes/Terrabrick/Immich Photos/

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

# Connection secrets for postgres and typesense. You should change these to random passwords
TYPESENSE_API_KEY=some-random-text
DB_PASSWORD=postgres

# 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

Method 1: Try to search with smart search on.

Method 2: Go into Administration > Tasks > Run any machine learning task

Additional information

The log output of immich_machine_learning when using smart search:

[12/08/23 12:54:19] INFO     Starting gunicorn 21.2.0
[12/08/23 12:54:19] INFO     Listening at: http://*******:3003 (9)
[12/08/23 12:54:19] INFO     Using worker: uvicorn.workers.UvicornWorker
[12/08/23 12:54:19] INFO     Booting worker with pid: 17
[12/08/23 12:54:33] INFO     Created in-memory cache with unloading after 300s
                             of inactivity.
[12/08/23 12:54:33] INFO     Initialized request thread pool with 8 threads.
[12/08/23 13:05:39] INFO     Loading facial recognition model 'buffalo_l'
[12/08/23 13:11:03] INFO     Shutting down due to inactivity.
[12/08/23 13:11:05] ERROR    Worker (pid:17) exited with code 1
[12/08/23 13:11:05] ERROR    Worker (pid:17) exited with code 1.
[12/08/23 13:11:05] INFO     Booting worker with pid: 40
[12/08/23 13:11:18] INFO     Created in-memory cache with unloading after 300s
                             of inactivity.
[12/08/23 13:11:18] INFO     Initialized request thread pool with 8 threads.
[12/08/23 13:13:11] INFO     Loading facial recognition model 'buffalo_l'
[12/08/23 13:18:18] INFO     Shutting down due to inactivity.
[12/08/23 13:18:19] ERROR    Worker (pid:40) exited with code 1
[12/08/23 13:18:19] ERROR    Worker (pid:40) exited with code 1.
[12/08/23 13:18:19] INFO     Booting worker with pid: 61

The output of immich_machine_learning when running facial recognition task (and yes, nothing after the last part, BTW this also didn't work with the default model, I just changed a few settings to see if it will work):

[12/08/23 13:18:35] INFO Created in-memory cache with unloading after 300s
of inactivity.
[12/08/23 13:18:35] INFO Initialized request thread pool with 8 threads.
[12/08/23 13:19:55] INFO Downloading facial recognition model
'antelopev2'.This may take a while.
Downloading .gitattributes: 100%|██████████| 1.52k/1.52k [00:00<00:00, 3.32MB/s]
Downloading README.md: 100%|██████████| 583/583 [00:00<00:00, 1.04MB/s]
Downloading model.onnx: 100%|██████████| 16.9M/16.9M [00:01<00:00, 16.2MB/s]
Downloading model.onnx: 100%|██████████| 261M/261M [00:04<00:00, 57.3MB/s]s]
Fetching 4 files: 100%|██████████| 4/4 [00:05<00:00, 1.36s/it]0, 12.0MB/s]
[12/08/23 13:20:01] INFO Loading facial recognition model 'antelopev2'

Logs of immich_redis with smart search (just a long list of this repeating):

1:M 08 Dec 2023 14:25:38.066 * 100 changes in 300 seconds. Saving...
1:M 08 Dec 2023 14:25:38.068 * Background saving started by pid 32
32:C 08 Dec 2023 14:25:38.077 * DB saved on disk
32:C 08 Dec 2023 14:25:38.077 * RDB: 0 MB of memory used by copy-on-write
1:M 08 Dec 2023 14:25:38.169 * Background saving terminated with success

Logs of immich_typesense with smart search (just this):

W20231208 12:54:17.401022   259 controller.cpp:1454] SIGINT was installed with 1
W20231208 12:54:17.401140   259 raft_server.cpp:570] Single-node with no leader. Resetting peers.
W20231208 12:54:17.401149   259 node.cpp:894] node default_group:**********:8107:8108 set_peer from **********:8107:8108 to **********:8107:8108
W20231208 12:54:27.408421   259 raft_server.cpp:570] Single-node with no leader. Resetting peers.

Logs of immich_postgres (again, this is all):


PostgreSQL Database directory appears to contain a database; Skipping initialization

2023-12-08 12:54:17.165 UTC [1] LOG:  starting PostgreSQL 14.10 on x86_64-pc-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit
2023-12-08 12:54:17.165 UTC [1] LOG:  listening on IPv4 address "*******", port 5432
2023-12-08 12:54:17.167 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2023-12-08 12:54:17.174 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-12-08 12:54:17.185 UTC [22] LOG:  database system was shut down at 2023-12-08 12:54:00 UTC
2023-12-08 12:54:17.210 UTC [1] LOG:  database system is ready to accept connections
2023-12-08 13:05:55.785 UTC [71] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:06:32.145 UTC [84] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:07:54.352 UTC [91] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:10:01.313 UTC [108] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:11:05.013 UTC [117] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:12:08.734 UTC [124] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:13:14.313 UTC [132] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:17:28.215 UTC [163] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:17:28.215 UTC [162] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:20:16.036 UTC [177] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:20:16.036 UTC [176] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:20:27.028 UTC [183] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:20:33.122 UTC [186] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:20:38.122 UTC [189] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:20:44.698 UTC [193] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:21:10.848 UTC [199] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:23:41.250 UTC [213] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:28:22.100 UTC [237] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:28:29.897 UTC [243] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:28:34.256 UTC [248] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:28:34.256 UTC [247] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:28:39.887 UTC [251] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:28:56.497 UTC [258] LOG:  unexpected EOF on client connection with an open transaction
2023-12-08 13:28:56.497 UTC [257] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:29:41.844 UTC [267] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:42:45.253 UTC [348] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:42:49.974 UTC [351] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:42:58.643 UTC [354] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:43:14.483 UTC [361] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:43:14.483 UTC [360] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:46:24.908 UTC [390] LOG:  could not receive data from client: Connection reset by peer
2023-12-08 13:47:02.944 UTC [398] LOG:  could not receive data from client: Connection reset by peer

Logs of immich_server (last part of the repeating thing):

[Nest] 7  - 12/08/2023, 2:01:34 PM     LOG [NestApplication] Nest application successfully started +29ms
[Nest] 7  - 12/08/2023, 2:01:34 PM     LOG [ImmichServer] Immich Server is listening on http://[::1]:3001 [v1.90.1] [PRODUCTION]
[Nest] 7  - 12/08/2023, 2:01:37 PM     LOG [CommunicationRepository] Websocket Connect:    uYX7kNsK3m4-zk-FAAAB
[Nest] 7  - 12/08/2023, 2:12:09 PM     LOG [CommunicationRepository] Websocket Connect:    AMfCqfSbBFHSF8sAAAAD
[Nest] 7  - 12/08/2023, 2:12:10 PM     LOG [CommunicationRepository] Websocket Disconnect: AMfCqfSbBFHSF8sAAAAD
[Nest] 7  - 12/08/2023, 2:12:10 PM     LOG [CommunicationRepository] Websocket Connect:    u7mVjTmoaWdAyTRoAAAF
[Nest] 7  - 12/08/2023, 2:13:32 PM     LOG [CommunicationRepository] Websocket Connect:    j3jqJ5hAEIAMBbZtAAAH
[Nest] 7  - 12/08/2023, 2:13:32 PM     LOG [CommunicationRepository] Websocket Disconnect: u7mVjTmoaWdAyTRoAAAF
[Nest] 7  - 12/08/2023, 2:14:17 PM     LOG [CommunicationRepository] Websocket Disconnect: j3jqJ5hAEIAMBbZtAAAH
[Nest] 7  - 12/08/2023, 2:25:19 PM   ERROR [ErrorInterceptor] Failed to serve file
[Nest] 7  - 12/08/2023, 2:25:19 PM   ERROR [ErrorInterceptor] Error: Request aborted
[Nest] 7  - 12/08/2023, 2:25:19 PM   ERROR [ErrorInterceptor] Failed to serve file
[Nest] 7  - 12/08/2023, 2:25:19 PM   ERROR [ErrorInterceptor] Error: Request aborted
[Nest] 7  - 12/08/2023, 2:25:34 PM   ERROR [ErrorInterceptor] Failed to serve file
[Nest] 7  - 12/08/2023, 2:25:34 PM   ERROR [ErrorInterceptor] Error: Request aborted
[Nest] 7  - 12/08/2023, 2:28:23 PM     LOG [NestFactory] Starting Nest application...
[Nest] 7  - 12/08/2023, 2:28:23 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +52ms
[Nest] 7  - 12/08/2023, 2:28:23 PM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
[Nest] 7  - 12/08/2023, 2:28:23 PM     LOG [InstanceLoader] ConfigHostModule dependencies initialized +1ms
[Nest] 7  - 12/08/2023, 2:28:23 PM     LOG [InstanceLoader] DiscoveryModule dependencies initialized +1ms
[Nest] 7  - 12/08/2023, 2:28:23 PM     LOG [InstanceLoader] ScheduleModule dependencies initialized +0ms
[Nest] 7  - 12/08/2023, 2:28:23 PM     LOG [InstanceLoader] ConfigModule dependencies initialized +5ms
[Nest] 7  - 12/08/2023, 2:28:23 PM     LOG [InstanceLoader] BullModule dependencies initialized +1ms
[Nest] 7  - 12/08/2023, 2:28:23 PM     LOG [InstanceLoader] ScheduleModule dependencies initialized +0ms
[Nest] 7  - 12/08/2023, 2:28:23 PM     LOG [InstanceLoader] BullModule dependencies initialized +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [InstanceLoader] TypeOrmCoreModule dependencies initialized +286ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [InstanceLoader] InfraModule dependencies initialized +6ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [InstanceLoader] AppModule dependencies initialized +11ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [InstanceLoader] DomainModule dependencies initialized +20ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] ActivityController {/api/activity}: +160ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/activity, GET} route +2ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/activity/statistics, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/activity, POST} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/activity/:id, DELETE} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] AssetsController {/api/assets}: +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/assets, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] AssetController {/api/asset}: +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/map-marker, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/memory-lane, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/random, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/download/info, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/download/archive, POST} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/download/:id, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/device/:deviceId, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/statistics, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/time-buckets, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/time-bucket, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/jobs, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset, PUT} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset, DELETE} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/restore, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/trash/empty, POST} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/trash/restore, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/stack/parent, PUT} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/:id, PUT} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] AssetController {/api/asset}: +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/upload, POST} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/file/:id, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/thumbnail/:id, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/curated-objects, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/curated-locations, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/search-terms, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/:deviceId, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/assetById/:id, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/exist, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/asset/bulk-upload-check, POST} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] AppController {/api}: +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/.well-known/immich, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/custom.css, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/refresh-config, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] AlbumController {/api/album}: +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/album/count, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/album, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/album, POST} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/album/:id, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/album/:id, PATCH} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/album/:id, DELETE} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/album/:id/assets, PUT} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/album/:id/assets, DELETE} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/album/:id/users, PUT} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/album/:id/user/:userId, DELETE} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] APIKeyController {/api/api-key}: +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/api-key, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/api-key, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/api-key/:id, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/api-key/:id, PUT} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/api-key/:id, DELETE} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] AuditController {/api/audit}: +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/audit/deletes, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/audit/file-report, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/audit/file-report/checksum, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/audit/file-report/fix, POST} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] AuthController {/api/auth}: +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/auth/login, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/auth/admin-sign-up, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/auth/devices, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/auth/devices, DELETE} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/auth/devices/:id, DELETE} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/auth/validateToken, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/auth/change-password, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/auth/logout, POST} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] FaceController {/api/face}: +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/face, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/face/:id, PUT} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] JobController {/api/jobs}: +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/jobs, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/jobs/:id, PUT} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] LibraryController {/api/library}: +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/library, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/library, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/library/:id, PUT} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/library/:id, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/library/:id, DELETE} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/library/:id/statistics, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/library/:id/scan, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/library/:id/removeOffline, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] OAuthController {/api/oauth}: +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/oauth/mobile-redirect, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/oauth/config, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/oauth/authorize, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/oauth/callback, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/oauth/link, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/oauth/unlink, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] PartnerController {/api/partner}: +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/partner, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/partner/:id, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/partner/:id, PUT} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/partner/:id, DELETE} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] SearchController {/api/search}: +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/search, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/search/explore, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/search/person, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] ServerInfoController {/api/server-info}: +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/server-info, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/server-info/ping, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/server-info/version, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/server-info/features, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/server-info/theme, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/server-info/config, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/server-info/statistics, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/server-info/media-types, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] SharedLinkController {/api/shared-link}: +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/shared-link, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/shared-link/me, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/shared-link/:id, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/shared-link, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/shared-link/:id, PATCH} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/shared-link/:id, DELETE} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/shared-link/:id/assets, PUT} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/shared-link/:id/assets, DELETE} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] SystemConfigController {/api/system-config}: +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/system-config, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/system-config/defaults, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/system-config, PUT} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/system-config/storage-template-options, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/system-config/map/style.json, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] TagController {/api/tag}: +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/tag, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/tag, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/tag/:id, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/tag/:id, PATCH} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/tag/:id, DELETE} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/tag/:id/assets, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/tag/:id/assets, PUT} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/tag/:id/assets, DELETE} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] UserController {/api/user}: +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/user, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/user/info/:id, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/user/me, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/user, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/user/profile-image, DELETE} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/user/:id, DELETE} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/user/:id/restore, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/user, PUT} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/user/profile-image, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/user/profile-image/:id, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RoutesResolver] PersonController {/api/person}: +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/person, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/person, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/person/:id/reassign, PUT} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/person, PUT} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/person/:id, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/person/:id, PUT} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/person/:id/statistics, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/person/:id/thumbnail, GET} route +1ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/person/:id/assets, GET} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [RouterExplorer] Mapped {/api/person/:id/merge, POST} route +0ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [SearchService] Running bootstrap
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [TypesenseRepository] Schema up to date: assets/assets-v10
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [TypesenseRepository] Schema up to date: albums/albums-v2
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [TypesenseRepository] Schema up to date: faces/faces-v1
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [TypesenseRepository] Alias mapping: [{"collection_name":"faces-v1","name":"faces"},{"collection_name":"albums-v2","name":"albums"},{"collection_name":"assets-v10","name":"assets"}]
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [TypesenseRepository] Collections needing migration: {"assets":false,"albums":false,"faces":false}
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [AppService] Feature Flags: {
  "clipEncode": true,
  "facialRecognition": true,
  "tagImage": true,
  "map": true,
  "reverseGeocoding": true,
  "sidecar": true,
  "search": true,
  "trash": true,
  "oauth": false,
  "oauthAutoLaunch": false,
  "passwordLogin": true,
  "configFile": false
}
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [NestApplication] Nest application successfully started +13ms
[Nest] 7  - 12/08/2023, 2:28:24 PM     LOG [ImmichServer] Immich Server is listening on http://[::1]:3001 [v1.90.1] [PRODUCTION]
[Nest] 7  - 12/08/2023, 2:28:27 PM     LOG [CommunicationRepository] Websocket Connect:    2ErV4YKC3KKRINwbAAAB

And finally, the logs of immich_microservices (just the last part where the errors start):

[Nest] 7  - 12/08/2023, 2:19:21 PM     LOG [StorageCore] Attempting to finish incomplete move: upload/upload/************************************/************************************.jpg => upload/library/admin/2023/2023-11-14/IMG_20231114_135744~2.jpg
[Nest] 7  - 12/08/2023, 2:19:21 PM     LOG [StorageCore] Found file at new location
[Nest] 7  - 12/08/2023, 2:19:39 PM     LOG [StorageTemplateService] Finished storage template migration
[Nest] 7  - 12/08/2023, 2:26:44 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:44 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:44 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:44 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:45 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:45 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:45 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:46 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:46 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:46 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:46 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:47 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:47 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:47 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:47 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:47 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:47 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:47 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:47 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:48 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:48 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
[Nest] 7  - 12/08/2023, 2:26:48 PM   ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri'
Originally created by @LiterallyEarth on GitHub (Dec 8, 2023). ### The bug When I try to run any machine learning related thing, it doesn't work. I installed using the script. I have a system matching all the "preferred" system requirements. Everything else seems to work, but when I try to use smart search, I get an error saying just "Network Error - ERR_NETWORK - undefined" When I try to run a machine learning task, it also fails showing how many errors it encountered, none ran successfully. ### The OS that Immich Server is running on macOS Sonoma (14.2) ### Version of Immich Server v1.90.1 ### Version of Immich Mobile App v1.90.0 ### Platform with the issue - [x] Server - [X] Web - [X] Mobile ### Your docker-compose.yml content ```YAML version: "3.8" # # 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 - typesense restart: always immich-microservices: container_name: immich_microservices image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} # extends: # file: hwaccel.yml # service: hwaccel command: [ "start.sh", "microservices" ] volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro env_file: - .env depends_on: - redis - database - typesense 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 typesense: container_name: immich_typesense image: typesense/typesense:0.24.1@sha256:9bcff2b829f12074426ca044b56160ca9d777a0c488303469143dd9f8259d4dd environment: - TYPESENSE_API_KEY=${TYPESENSE_API_KEY} - TYPESENSE_DATA_DIR=/data # remove this to get debug messages - GLOG_minloglevel=1 volumes: - tsdata:/data restart: always redis: container_name: immich_redis image: redis:6.2-alpine@sha256:60e49e22fa5706cd8df7d5e0bc50ee9bab7c608039fa653c4d961014237cca46 restart: always database: container_name: immich_postgres image: postgres:14-alpine@sha256:6a0e35296341e676fe6bd8d236c72afffe2dfe3d7eb9c2405c0f3fc04500cd07 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: tsdata: ``` ### 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=/Volumes/Terrabrick/Immich Photos/ # The Immich version to use. You can pin this to a specific version like "v1.71.0" IMMICH_VERSION=release # Connection secrets for postgres and typesense. You should change these to random passwords TYPESENSE_API_KEY=some-random-text DB_PASSWORD=postgres # 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 Method 1: Try to search with smart search on. Method 2: Go into Administration > Tasks > Run any machine learning task ``` ### Additional information The log output of immich_machine_learning when using smart search: ``` [12/08/23 12:54:19] INFO Starting gunicorn 21.2.0 [12/08/23 12:54:19] INFO Listening at: http://*******:3003 (9) [12/08/23 12:54:19] INFO Using worker: uvicorn.workers.UvicornWorker [12/08/23 12:54:19] INFO Booting worker with pid: 17 [12/08/23 12:54:33] INFO Created in-memory cache with unloading after 300s of inactivity. [12/08/23 12:54:33] INFO Initialized request thread pool with 8 threads. [12/08/23 13:05:39] INFO Loading facial recognition model 'buffalo_l' [12/08/23 13:11:03] INFO Shutting down due to inactivity. [12/08/23 13:11:05] ERROR Worker (pid:17) exited with code 1 [12/08/23 13:11:05] ERROR Worker (pid:17) exited with code 1. [12/08/23 13:11:05] INFO Booting worker with pid: 40 [12/08/23 13:11:18] INFO Created in-memory cache with unloading after 300s of inactivity. [12/08/23 13:11:18] INFO Initialized request thread pool with 8 threads. [12/08/23 13:13:11] INFO Loading facial recognition model 'buffalo_l' [12/08/23 13:18:18] INFO Shutting down due to inactivity. [12/08/23 13:18:19] ERROR Worker (pid:40) exited with code 1 [12/08/23 13:18:19] ERROR Worker (pid:40) exited with code 1. [12/08/23 13:18:19] INFO Booting worker with pid: 61 ``` The output of immich_machine_learning when running facial recognition task (and yes, nothing after the last part, BTW this also didn't work with the default model, I just changed a few settings to see if it will work): [12/08/23 13:18:35] INFO Created in-memory cache with unloading after 300s of inactivity. [12/08/23 13:18:35] INFO Initialized request thread pool with 8 threads. [12/08/23 13:19:55] INFO Downloading facial recognition model 'antelopev2'.This may take a while. Downloading .gitattributes: 100%|██████████| 1.52k/1.52k [00:00<00:00, 3.32MB/s] Downloading README.md: 100%|██████████| 583/583 [00:00<00:00, 1.04MB/s] Downloading model.onnx: 100%|██████████| 16.9M/16.9M [00:01<00:00, 16.2MB/s] Downloading model.onnx: 100%|██████████| 261M/261M [00:04<00:00, 57.3MB/s]s] Fetching 4 files: 100%|██████████| 4/4 [00:05<00:00, 1.36s/it]0, 12.0MB/s] [12/08/23 13:20:01] INFO Loading facial recognition model 'antelopev2' Logs of immich_redis with smart search (just a long list of this repeating): ``` 1:M 08 Dec 2023 14:25:38.066 * 100 changes in 300 seconds. Saving... 1:M 08 Dec 2023 14:25:38.068 * Background saving started by pid 32 32:C 08 Dec 2023 14:25:38.077 * DB saved on disk 32:C 08 Dec 2023 14:25:38.077 * RDB: 0 MB of memory used by copy-on-write 1:M 08 Dec 2023 14:25:38.169 * Background saving terminated with success ``` Logs of immich_typesense with smart search (just this): ``` W20231208 12:54:17.401022 259 controller.cpp:1454] SIGINT was installed with 1 W20231208 12:54:17.401140 259 raft_server.cpp:570] Single-node with no leader. Resetting peers. W20231208 12:54:17.401149 259 node.cpp:894] node default_group:**********:8107:8108 set_peer from **********:8107:8108 to **********:8107:8108 W20231208 12:54:27.408421 259 raft_server.cpp:570] Single-node with no leader. Resetting peers. ``` Logs of immich_postgres (again, this is all): ``` PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-12-08 12:54:17.165 UTC [1] LOG: starting PostgreSQL 14.10 on x86_64-pc-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit 2023-12-08 12:54:17.165 UTC [1] LOG: listening on IPv4 address "*******", port 5432 2023-12-08 12:54:17.167 UTC [1] LOG: listening on IPv6 address "::", port 5432 2023-12-08 12:54:17.174 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2023-12-08 12:54:17.185 UTC [22] LOG: database system was shut down at 2023-12-08 12:54:00 UTC 2023-12-08 12:54:17.210 UTC [1] LOG: database system is ready to accept connections 2023-12-08 13:05:55.785 UTC [71] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:06:32.145 UTC [84] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:07:54.352 UTC [91] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:10:01.313 UTC [108] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:11:05.013 UTC [117] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:12:08.734 UTC [124] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:13:14.313 UTC [132] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:17:28.215 UTC [163] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:17:28.215 UTC [162] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:20:16.036 UTC [177] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:20:16.036 UTC [176] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:20:27.028 UTC [183] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:20:33.122 UTC [186] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:20:38.122 UTC [189] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:20:44.698 UTC [193] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:21:10.848 UTC [199] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:23:41.250 UTC [213] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:28:22.100 UTC [237] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:28:29.897 UTC [243] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:28:34.256 UTC [248] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:28:34.256 UTC [247] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:28:39.887 UTC [251] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:28:56.497 UTC [258] LOG: unexpected EOF on client connection with an open transaction 2023-12-08 13:28:56.497 UTC [257] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:29:41.844 UTC [267] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:42:45.253 UTC [348] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:42:49.974 UTC [351] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:42:58.643 UTC [354] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:43:14.483 UTC [361] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:43:14.483 UTC [360] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:46:24.908 UTC [390] LOG: could not receive data from client: Connection reset by peer 2023-12-08 13:47:02.944 UTC [398] LOG: could not receive data from client: Connection reset by peer ``` Logs of immich_server (last part of the repeating thing): ``` [Nest] 7 - 12/08/2023, 2:01:34 PM LOG [NestApplication] Nest application successfully started +29ms [Nest] 7 - 12/08/2023, 2:01:34 PM LOG [ImmichServer] Immich Server is listening on http://[::1]:3001 [v1.90.1] [PRODUCTION] [Nest] 7 - 12/08/2023, 2:01:37 PM LOG [CommunicationRepository] Websocket Connect: uYX7kNsK3m4-zk-FAAAB [Nest] 7 - 12/08/2023, 2:12:09 PM LOG [CommunicationRepository] Websocket Connect: AMfCqfSbBFHSF8sAAAAD [Nest] 7 - 12/08/2023, 2:12:10 PM LOG [CommunicationRepository] Websocket Disconnect: AMfCqfSbBFHSF8sAAAAD [Nest] 7 - 12/08/2023, 2:12:10 PM LOG [CommunicationRepository] Websocket Connect: u7mVjTmoaWdAyTRoAAAF [Nest] 7 - 12/08/2023, 2:13:32 PM LOG [CommunicationRepository] Websocket Connect: j3jqJ5hAEIAMBbZtAAAH [Nest] 7 - 12/08/2023, 2:13:32 PM LOG [CommunicationRepository] Websocket Disconnect: u7mVjTmoaWdAyTRoAAAF [Nest] 7 - 12/08/2023, 2:14:17 PM LOG [CommunicationRepository] Websocket Disconnect: j3jqJ5hAEIAMBbZtAAAH [Nest] 7 - 12/08/2023, 2:25:19 PM ERROR [ErrorInterceptor] Failed to serve file [Nest] 7 - 12/08/2023, 2:25:19 PM ERROR [ErrorInterceptor] Error: Request aborted [Nest] 7 - 12/08/2023, 2:25:19 PM ERROR [ErrorInterceptor] Failed to serve file [Nest] 7 - 12/08/2023, 2:25:19 PM ERROR [ErrorInterceptor] Error: Request aborted [Nest] 7 - 12/08/2023, 2:25:34 PM ERROR [ErrorInterceptor] Failed to serve file [Nest] 7 - 12/08/2023, 2:25:34 PM ERROR [ErrorInterceptor] Error: Request aborted [Nest] 7 - 12/08/2023, 2:28:23 PM LOG [NestFactory] Starting Nest application... [Nest] 7 - 12/08/2023, 2:28:23 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +52ms [Nest] 7 - 12/08/2023, 2:28:23 PM LOG [InstanceLoader] BullModule dependencies initialized +0ms [Nest] 7 - 12/08/2023, 2:28:23 PM LOG [InstanceLoader] ConfigHostModule dependencies initialized +1ms [Nest] 7 - 12/08/2023, 2:28:23 PM LOG [InstanceLoader] DiscoveryModule dependencies initialized +1ms [Nest] 7 - 12/08/2023, 2:28:23 PM LOG [InstanceLoader] ScheduleModule dependencies initialized +0ms [Nest] 7 - 12/08/2023, 2:28:23 PM LOG [InstanceLoader] ConfigModule dependencies initialized +5ms [Nest] 7 - 12/08/2023, 2:28:23 PM LOG [InstanceLoader] BullModule dependencies initialized +1ms [Nest] 7 - 12/08/2023, 2:28:23 PM LOG [InstanceLoader] ScheduleModule dependencies initialized +0ms [Nest] 7 - 12/08/2023, 2:28:23 PM LOG [InstanceLoader] BullModule dependencies initialized +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [InstanceLoader] TypeOrmCoreModule dependencies initialized +286ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [InstanceLoader] InfraModule dependencies initialized +6ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [InstanceLoader] AppModule dependencies initialized +11ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [InstanceLoader] DomainModule dependencies initialized +20ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] ActivityController {/api/activity}: +160ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/activity, GET} route +2ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/activity/statistics, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/activity, POST} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/activity/:id, DELETE} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] AssetsController {/api/assets}: +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/assets, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] AssetController {/api/asset}: +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/map-marker, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/memory-lane, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/random, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/download/info, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/download/archive, POST} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/download/:id, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/device/:deviceId, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/statistics, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/time-buckets, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/time-bucket, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/jobs, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset, PUT} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset, DELETE} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/restore, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/trash/empty, POST} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/trash/restore, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/stack/parent, PUT} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/:id, PUT} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] AssetController {/api/asset}: +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/upload, POST} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/file/:id, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/thumbnail/:id, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/curated-objects, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/curated-locations, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/search-terms, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/:deviceId, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/assetById/:id, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/exist, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/asset/bulk-upload-check, POST} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] AppController {/api}: +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/.well-known/immich, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/custom.css, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/refresh-config, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] AlbumController {/api/album}: +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/album/count, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/album, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/album, POST} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/album/:id, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/album/:id, PATCH} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/album/:id, DELETE} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/album/:id/assets, PUT} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/album/:id/assets, DELETE} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/album/:id/users, PUT} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/album/:id/user/:userId, DELETE} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] APIKeyController {/api/api-key}: +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/api-key, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/api-key, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/api-key/:id, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/api-key/:id, PUT} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/api-key/:id, DELETE} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] AuditController {/api/audit}: +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/audit/deletes, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/audit/file-report, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/audit/file-report/checksum, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/audit/file-report/fix, POST} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] AuthController {/api/auth}: +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/auth/login, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/auth/admin-sign-up, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/auth/devices, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/auth/devices, DELETE} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/auth/devices/:id, DELETE} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/auth/validateToken, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/auth/change-password, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/auth/logout, POST} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] FaceController {/api/face}: +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/face, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/face/:id, PUT} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] JobController {/api/jobs}: +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/jobs, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/jobs/:id, PUT} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] LibraryController {/api/library}: +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/library, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/library, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/library/:id, PUT} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/library/:id, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/library/:id, DELETE} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/library/:id/statistics, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/library/:id/scan, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/library/:id/removeOffline, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] OAuthController {/api/oauth}: +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/oauth/mobile-redirect, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/oauth/config, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/oauth/authorize, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/oauth/callback, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/oauth/link, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/oauth/unlink, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] PartnerController {/api/partner}: +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/partner, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/partner/:id, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/partner/:id, PUT} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/partner/:id, DELETE} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] SearchController {/api/search}: +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/search, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/search/explore, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/search/person, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] ServerInfoController {/api/server-info}: +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/server-info, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/server-info/ping, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/server-info/version, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/server-info/features, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/server-info/theme, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/server-info/config, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/server-info/statistics, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/server-info/media-types, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] SharedLinkController {/api/shared-link}: +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/shared-link, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/shared-link/me, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/shared-link/:id, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/shared-link, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/shared-link/:id, PATCH} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/shared-link/:id, DELETE} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/shared-link/:id/assets, PUT} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/shared-link/:id/assets, DELETE} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] SystemConfigController {/api/system-config}: +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/system-config, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/system-config/defaults, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/system-config, PUT} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/system-config/storage-template-options, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/system-config/map/style.json, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] TagController {/api/tag}: +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/tag, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/tag, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/tag/:id, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/tag/:id, PATCH} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/tag/:id, DELETE} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/tag/:id/assets, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/tag/:id/assets, PUT} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/tag/:id/assets, DELETE} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] UserController {/api/user}: +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/user, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/user/info/:id, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/user/me, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/user, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/user/profile-image, DELETE} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/user/:id, DELETE} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/user/:id/restore, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/user, PUT} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/user/profile-image, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/user/profile-image/:id, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RoutesResolver] PersonController {/api/person}: +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/person, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/person, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/person/:id/reassign, PUT} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/person, PUT} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/person/:id, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/person/:id, PUT} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/person/:id/statistics, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/person/:id/thumbnail, GET} route +1ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/person/:id/assets, GET} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [RouterExplorer] Mapped {/api/person/:id/merge, POST} route +0ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [SearchService] Running bootstrap [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [TypesenseRepository] Schema up to date: assets/assets-v10 [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [TypesenseRepository] Schema up to date: albums/albums-v2 [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [TypesenseRepository] Schema up to date: faces/faces-v1 [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [TypesenseRepository] Alias mapping: [{"collection_name":"faces-v1","name":"faces"},{"collection_name":"albums-v2","name":"albums"},{"collection_name":"assets-v10","name":"assets"}] [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [TypesenseRepository] Collections needing migration: {"assets":false,"albums":false,"faces":false} [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [AppService] Feature Flags: { "clipEncode": true, "facialRecognition": true, "tagImage": true, "map": true, "reverseGeocoding": true, "sidecar": true, "search": true, "trash": true, "oauth": false, "oauthAutoLaunch": false, "passwordLogin": true, "configFile": false } [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [NestApplication] Nest application successfully started +13ms [Nest] 7 - 12/08/2023, 2:28:24 PM LOG [ImmichServer] Immich Server is listening on http://[::1]:3001 [v1.90.1] [PRODUCTION] [Nest] 7 - 12/08/2023, 2:28:27 PM LOG [CommunicationRepository] Websocket Connect: 2ErV4YKC3KKRINwbAAAB ``` And finally, the logs of immich_microservices (just the last part where the errors start): ``` [Nest] 7 - 12/08/2023, 2:19:21 PM LOG [StorageCore] Attempting to finish incomplete move: upload/upload/************************************/************************************.jpg => upload/library/admin/2023/2023-11-14/IMG_20231114_135744~2.jpg [Nest] 7 - 12/08/2023, 2:19:21 PM LOG [StorageCore] Found file at new location [Nest] 7 - 12/08/2023, 2:19:39 PM LOG [StorageTemplateService] Finished storage template migration [Nest] 7 - 12/08/2023, 2:26:44 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:44 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:44 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:44 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:45 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:45 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:45 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:46 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:46 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:46 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:46 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:47 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:47 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:47 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:47 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:47 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:47 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:47 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:47 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:48 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:48 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' [Nest] 7 - 12/08/2023, 2:26:48 PM ERROR [MediaService] An error occurred while configuring transcoding options: Error: ENOENT: no such file or directory, scandir '/dev/dri' ```
Author
Owner

@bo0tzz commented on GitHub (Dec 8, 2023):

Can you post the logs of the other containers as well?

@bo0tzz commented on GitHub (Dec 8, 2023): Can you post the logs of the other containers as well?
Author
Owner

@LiterallyEarth commented on GitHub (Dec 8, 2023):

Done.

@LiterallyEarth commented on GitHub (Dec 8, 2023): Done.
Author
Owner

@bo0tzz commented on GitHub (Dec 8, 2023):

You have hwaccel enabled in the settings but you don't have the corresponding docker-compose.yml setup for it. I don't know if that's what's causing the problem you mention but it's at least making the microservices container unhappy.

@bo0tzz commented on GitHub (Dec 8, 2023): You have hwaccel enabled in the settings but you don't have the corresponding docker-compose.yml setup for it. I don't know if that's what's causing the problem you mention but it's at least making the microservices container unhappy.
Author
Owner

@OlegLoewen commented on GitHub (Dec 12, 2023):

I have the same issue. with 1.90.2 I enabled machine learning for the very first time. I ran all the jobs in admin area but no assets or faces are listed

@OlegLoewen commented on GitHub (Dec 12, 2023): I have the same issue. with 1.90.2 I enabled machine learning for the very first time. I ran all the jobs in admin area but no assets or faces are listed
Author
Owner

@mertalev commented on GitHub (Jan 17, 2024):

This issue was most likely caused by the image tagging model, which has since been removed.

@mertalev commented on GitHub (Jan 17, 2024): This issue was most likely caused by the image tagging model, which has since been removed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1745