imagegenius / docker-immich

Monolithic (Single) Docker Container for Immich
GNU General Public License v3.0
519 stars 27 forks source link

Unraid - High CPU Usage, WebUI Unresponsive #418

Closed SummitPatel closed 1 month ago

SummitPatel commented 2 months ago

Hi,

I just did a fresh install of the latest container. When I launch the container, after a few minutes I'm able to access the WebUI. But after another few minutes, everything is unresponsive and my CPU cores are all maxxed out. They pretty much stay maxed with small fluctuations and will not spin down until I stop the container.

image

Here are the logs from a fresh install:

[mod-init] Running Docker Modification Logic
[mod-init] Adding imagegenius/mods:universal-redis to container
[mod-init] Downloading imagegenius/mods:universal-redis from registry-1.docker.io
[mod-init] Installing imagegenius/mods:universal-redis
[mod-init] imagegenius/mods:universal-redis applied to container
[migrations] started
[migrations] no migrations found

╔═══════════════════════════════╗
       __  _____ _____       __
      / / |_   _/ ____|     / /
     / /    | || |  __     / /
    / /     | || | |_ |   / /
   / /     _| || |__| |  / /
  /_/     |_____\_____| /_/

  Baseimage from linuxserver.io
╠═══════════════════════════════╣
  User/Group ID:
  User UID: 99
  User GID: 100
╚═══════════════════════════════╝
**** Adding redis to package install list ****
[pkg-install-init] **** Installing all mod packages ****
Get:1 http://archive.ubuntu.com/ubuntu noble InRelease [256 kB]
Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Get:3 http://archive.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Get:4 http://archive.ubuntu.com/ubuntu noble/restricted Sources [21.8 kB]
Get:5 http://archive.ubuntu.com/ubuntu noble/main Sources [1,713 kB]
Get:6 http://archive.ubuntu.com/ubuntu noble/universe Sources [24.3 MB]
Get:7 http://archive.ubuntu.com/ubuntu noble/multiverse Sources [355 kB]
Get:8 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages [19.3 MB]
Get:9 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages [1,808 kB]
Get:10 http://archive.ubuntu.com/ubuntu noble/restricted amd64 Packages [117 kB]
Get:11 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [331 kB]
Get:12 http://archive.ubuntu.com/ubuntu noble-updates/multiverse Sources [9,592 B]
Get:13 http://archive.ubuntu.com/ubuntu noble-updates/restricted Sources [22.7 kB]
Get:14 http://archive.ubuntu.com/ubuntu noble-updates/universe Sources [318 kB]
Get:15 http://archive.ubuntu.com/ubuntu noble-updates/main Sources [128 kB]
Get:16 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [333 kB]
Get:17 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [220 kB]
Get:18 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [400 kB]
Get:19 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [16.9 kB]
Get:20 http://archive.ubuntu.com/ubuntu noble-security/main Sources [93.5 kB]
Get:21 http://archive.ubuntu.com/ubuntu noble-security/restricted Sources [22.7 kB]
Get:22 http://archive.ubuntu.com/ubuntu noble-security/universe Sources [289 kB]
Get:23 http://archive.ubuntu.com/ubuntu noble-security/multiverse Sources [6,961 B]
Get:24 http://archive.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [12.7 kB]
Get:25 http://archive.ubuntu.com/ubuntu noble-security/universe amd64 Packages [319 kB]
Get:26 http://archive.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [220 kB]
Get:27 http://archive.ubuntu.com/ubuntu noble-security/main amd64 Packages [286 kB]
Fetched 51.1 MB in 4s (12.0 MB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libatomic1 libjemalloc2 liblzf1 redis-tools
Suggested packages:
  ruby-redis
The following NEW packages will be installed:
  libatomic1 libjemalloc2 liblzf1 redis-server redis-tools
0 upgraded, 5 newly installed, 0 to remove and 4 not upgraded.
Need to get 1,491 kB of archives.
After this operation, 7,604 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu noble/main amd64 libatomic1 amd64 14-20240412-0ubuntu1 [10.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu noble/universe amd64 libjemalloc2 amd64 5.3.0-2build1 [256 kB]
Get:3 http://archive.ubuntu.com/ubuntu noble/universe amd64 liblzf1 amd64 3.6-4 [7,624 B]
Get:4 http://archive.ubuntu.com/ubuntu noble/universe amd64 redis-tools amd64 5:7.0.15-1build2 [1,165 kB]
Get:5 http://archive.ubuntu.com/ubuntu noble/universe amd64 redis-server amd64 5:7.0.15-1build2 [51.7 kB]
Fetched 1,491 kB in 1s (1,805 kB/s)
Selecting previously unselected package libatomic1:amd64.
(Reading database ... 16605 files and directories currently installed.)
Preparing to unpack .../libatomic1_14-20240412-0ubuntu1_amd64.deb ...
Unpacking libatomic1:amd64 (14-20240412-0ubuntu1) ...
Selecting previously unselected package libjemalloc2:amd64.
Preparing to unpack .../libjemalloc2_5.3.0-2build1_amd64.deb ...
Unpacking libjemalloc2:amd64 (5.3.0-2build1) ...
Selecting previously unselected package liblzf1:amd64.
Preparing to unpack .../liblzf1_3.6-4_amd64.deb ...
Unpacking liblzf1:amd64 (3.6-4) ...
Selecting previously unselected package redis-tools.
Preparing to unpack .../redis-tools_5%3a7.0.15-1build2_amd64.deb ...
Unpacking redis-tools (5:7.0.15-1build2) ...
Selecting previously unselected package redis-server.
Preparing to unpack .../redis-server_5%3a7.0.15-1build2_amd64.deb ...
Unpacking redis-server (5:7.0.15-1build2) ...
Setting up libjemalloc2:amd64 (5.3.0-2build1) ...
Setting up liblzf1:amd64 (3.6-4) ...
Setting up libatomic1:amd64 (14-20240412-0ubuntu1) ...
Setting up redis-tools (5:7.0.15-1build2) ...
Setting up redis-server (5:7.0.15-1build2) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for libc-bin (2.39-0ubuntu8.2) ...
[custom-init] No custom files found, skipping...
Starting api worker
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:EventRepository] Initialized websocket server
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:SystemConfigService] LogLevel=log (set via system config)
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:ServerService] Feature Flags: {
  "smartSearch": true,
  "facialRecognition": true,
  "duplicateDetection": true,
  "map": true,
  "reverseGeocoding": true,
  "sidecar": true,
  "search": true,
  "trash": true,
  "oauth": false,
  "oauthAutoLaunch": false,
  "passwordLogin": true,
  "configFile": false,
  "email": false
}
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:NestFactory] Starting Nest application...
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:InstanceLoader] BullModule dependencies initialized
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:InstanceLoader] OpenTelemetryModule dependencies initialized
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:InstanceLoader] TypeOrmModule dependencies initialized
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:InstanceLoader] OpenTelemetryCoreModule dependencies initialized
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:InstanceLoader] ConfigHostModule dependencies initialized
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:InstanceLoader] DiscoveryModule dependencies initialized
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:InstanceLoader] ClsModule dependencies initialized
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:InstanceLoader] ConfigModule dependencies initialized
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:InstanceLoader] EventEmitterModule dependencies initialized
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:InstanceLoader] ScheduleModule dependencies initialized
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:InstanceLoader] BullModule dependencies initialized
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:InstanceLoader] BullModule dependencies initialized
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:InstanceLoader] TypeOrmCoreModule dependencies initialized
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:InstanceLoader] TypeOrmModule dependencies initialized
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:InstanceLoader] ApiModule dependencies initialized
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] APIKeyController {/api/api-keys}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/api-keys, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/api-keys, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/api-keys/:id, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/api-keys/:id, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/api-keys/:id, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] ActivityController {/api/activities}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/activities, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/activities/statistics, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/activities, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/activities/:id, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] AlbumController {/api/albums}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/albums/count, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/albums, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/albums, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/albums/:id, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/albums/:id, PATCH} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/albums/:id, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/albums/:id/assets, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/albums/:id/assets, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/albums/:id/users, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/albums/:id/user/:userId, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/albums/:id/user/:userId, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] AppController {/api}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/.well-known/immich, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/custom.css, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] AssetController {/api/assets}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/memory-lane, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/random, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/device/:deviceId, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/statistics, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/jobs, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/assets, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/assets, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/stack/parent, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/:id, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/:id, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] AssetMediaController {/api/assets}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/assets, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/:id/original, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/:id/original, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/:id/thumbnail, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/:id/video/playback, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/exist, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/assets/bulk-upload-check, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] AuditController {/api/audit}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/audit/deletes, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] AuthController {/api/auth}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/auth/login, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/auth/admin-sign-up, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/auth/validateToken, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/auth/change-password, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/auth/logout, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] DownloadController {/api/download}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/download/info, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/download/archive, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] DuplicateController {/api/duplicates}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/duplicates, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] FaceController {/api/faces}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/faces, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/faces/:id, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] JobController {/api/jobs}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/jobs, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/jobs/:id, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] LibraryController {/api/libraries}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/libraries, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/libraries, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/libraries/:id, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/libraries/:id, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/libraries/:id/validate, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/libraries/:id, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/libraries/:id/statistics, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/libraries/:id/scan, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/libraries/:id/removeOffline, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] MapController {/api/map}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/map/markers, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/map/style.json, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] MemoryController {/api/memories}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/memories, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/memories, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/memories/:id, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/memories/:id, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/memories/:id, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/memories/:id/assets, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/memories/:id/assets, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] NotificationController {/api/notifications}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/notifications/test-email, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] OAuthController {/api/oauth}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/oauth/mobile-redirect, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/oauth/authorize, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/oauth/callback, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/oauth/link, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/oauth/unlink, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] PartnerController {/api/partners}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/partners, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/partners/:id, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/partners/:id, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/partners/:id, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] PersonController {/api/people}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/people, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/people, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/people, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/people/:id, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/people/:id, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/people/:id/statistics, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/people/:id/thumbnail, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/people/:id/assets, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/people/:id/reassign, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/people/:id/merge, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] ReportController {/api/reports}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/reports, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/reports/checksum, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/reports/fix, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] SearchController {/api/search}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/search/metadata, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/search/smart, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/search/explore, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/search/person, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/search/places, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/search/cities, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/search/suggestions, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] ServerController {/api/server}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server/about, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server/storage, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server/ping, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server/version, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server/features, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server/theme, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server/config, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server/statistics, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server/media-types, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server/license, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server/license, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server/license, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] ServerInfoController {/api/server-info}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server-info/about, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server-info/storage, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server-info/ping, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server-info/version, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server-info/features, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server-info/theme, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server-info/config, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server-info/statistics, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/server-info/media-types, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] SessionController {/api/sessions}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/sessions, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/sessions, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/sessions/:id, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] SharedLinkController {/api/shared-links}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/shared-links, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/shared-links/me, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/shared-links/:id, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/shared-links, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/shared-links/:id, PATCH} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/shared-links/:id, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/shared-links/:id/assets, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/shared-links/:id/assets, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] SyncController {/api/sync}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/sync/full-sync, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/sync/delta-sync, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] SystemConfigController {/api/system-config}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/system-config, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/system-config/defaults, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/system-config, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/system-config/storage-template-options, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] SystemMetadataController {/api/system-metadata}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/system-metadata/admin-onboarding, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/system-metadata/admin-onboarding, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/system-metadata/reverse-geocoding-state, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] TagController {/api/tags}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/tags, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/tags, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/tags/:id, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/tags/:id, PATCH} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/tags/:id, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/tags/:id/assets, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/tags/:id/assets, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/tags/:id/assets, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] TimelineController {/api/timeline}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/timeline/buckets, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/timeline/bucket, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] TrashController {/api/trash}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/trash/empty, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/trash/restore, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/trash/restore/assets, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] UserAdminController {/api/admin/users}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/admin/users, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/admin/users, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/admin/users/:id, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/admin/users/:id, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/admin/users/:id, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/admin/users/:id/preferences, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/admin/users/:id/preferences, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/admin/users/:id/restore, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RoutesResolver] UserController {/api/users}:
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/users, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/users/me, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/users/me, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/users/me/preferences, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/users/me/preferences, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/users/me/license, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/users/me/license, PUT} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/users/me/license, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/users/:id, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/users/profile-image, POST} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/users/profile-image, DELETE} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:RouterExplorer] Mapped {/api/users/:id/profile-image, GET} route
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:NestApplication] Nest application successfully started
[Nest] 596  - 07/18/2024, 2:13:54 PM     LOG [Api:Bootstrap] Immich Server is listening on http://[::1]:8080 [v1.109.0] [PRODUCTION] 
Connection to localhost (127.0.0.1) 8080 port [tcp/http-alt] succeeded!
[ig-init] done.
Detected CPU Cores: 4
[Nest] 596  - 07/18/2024, 2:14:22 PM     LOG [Api:EventRepository] Websocket Connect:    EhxTTDCDqZvkuaS9AAAB
[07/18/24 14:14:32] INFO     Starting gunicorn 22.0.0                           
[07/18/24 14:14:32] INFO     Listening at: http://0.0.0.0:3003 (622)            
[07/18/24 14:14:32] INFO     Using worker: uvicorn.workers.UvicornWorker        
[07/18/24 14:14:32] INFO     Booting worker with pid: 684                       
[07/18/24 14:16:24] INFO     Started server process [684]                       
[07/18/24 14:16:24] INFO     Waiting for application startup.                   
[07/18/24 14:16:24] INFO     Created in-memory cache with unloading after 300s  
                             of inactivity.                                     
[07/18/24 14:16:24] INFO     Initialized request thread pool with 4 threads.    
[07/18/24 14:16:24] INFO     Application startup complete.                      
Starting microservices worker
[Nest] 596  - 07/18/2024, 2:17:01 PM     LOG [Api:EventRepository] Websocket Disconnect: EhxTTDCDqZvkuaS9AAAB
[Nest] 626  - 07/18/2024, 2:17:11 PM     LOG [Microservices:EventRepository] Initialized websocket server
[Nest] 626  - 07/18/2024, 2:17:14 PM     LOG [Microservices:SystemConfigService] LogLevel=log (set via system config)
[Nest] 626  - 07/18/2024, 2:17:14 PM     LOG [Microservices:MapRepository] Initializing metadata repository

This was also happening yesterday with the v1.1.08 container as well. Please let me know if I can provide any more information to help debug this issue.

SummitPatel commented 1 month ago

I found the issue. See my comment here, but basically 4GB of RAM is not enough to run Immich. I did an upgrade over the weekend to 16GB and am no longer having boot issues.