Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[immich] Extra environment variables are not passed through to the main container #22477

Closed
2 tasks done
j1mbl3s opened this issue May 26, 2024 · 0 comments · Fixed by #22478
Closed
2 tasks done

[immich] Extra environment variables are not passed through to the main container #22477

j1mbl3s opened this issue May 26, 2024 · 0 comments · Fixed by #22478
Labels
bug Something isn't working

Comments

@j1mbl3s
Copy link

j1mbl3s commented May 26, 2024

chart Name

immich

Operating System

TrueNAS SCALE 24.04.0

Deployment Method

TrueNAS SCALE charts

Chart Version

15.13.6

Kubernetes Events

2024-05-25 23:37:20
Created container immich
2024-05-25 23:37:20
Started container immich
2024-05-25 23:37:18
Container image "altran1502/immich-server:v1.105.1@sha256:658b40420d7a39d6eb34c797cec8d36ff315f5adb168301aaf27dc4eafc8e228" already present on machine
2024-05-25 23:36:56
Created container immich
2024-05-25 23:36:56
Started container immich
2024-05-25 23:36:53
Container image "altran1502/immich-server:v1.105.1@sha256:658b40420d7a39d6eb34c797cec8d36ff315f5adb168301aaf27dc4eafc8e228" already present on machine
2024-05-25 23:36:49
Created container immich-system-redis-wait
2024-05-25 23:36:49
Started container immich-system-redis-wait
2024-05-25 23:36:48
Container image "tccr.io/tccr/db-wait-redis:v1.1.0@sha256:e9412891c9b6c96f11143cd88f5d19df352bf7b5570f1825f67b5e1a2ddec176" already present on machine
2024-05-25 23:36:28
Created container postgres
2024-05-25 23:36:28
Started container postgres
2024-05-25 23:36:27
Container image "ghcr.io/tensorchord/cloudnative-pgvecto.rs:16.3-v0.2.1" already present on machine
2024-05-25 23:36:23
Created container immich-init-wait-server
2024-05-25 23:36:23
Started container immich-init-wait-server
2024-05-25 23:36:22
Created container bootstrap-controller
2024-05-25 23:36:22
Container image "tccr.io/tccr/alpine:v3.19.1@sha256:ade0065e19edaa4f6903d464ee70605111a48394536deb94f31b661264704558" already present on machine
2024-05-25 23:36:22
Started container bootstrap-controller
2024-05-25 23:36:21
Created container immich-redis
2024-05-25 23:36:21
Started container immich-redis
2024-05-25 23:36:21
Add eth0 [172.16.1.51/16] from ix-net
2024-05-25 23:36:19
Container image "bitnami/redis:7.2.4@sha256:c33cfe5511a443bc0a986f25c411e152b29244bdf9b676b7d4c56992467b857c" already present on machine
2024-05-25 23:36:19
Started container immich-system-cnpg-wait
2024-05-25 23:36:19
Add eth0 [172.16.1.50/16] from ix-net
2024-05-25 23:36:19
Container image "ghcr.io/cloudnative-pg/cloudnative-pg:1.22.2" already present on machine
2024-05-25 23:36:18
Add eth0 [172.16.1.49/16] from ix-net
2024-05-25 23:36:18
Created container immich-system-cnpg-wait
2024-05-25 23:36:15
Add eth0 [172.16.1.48/16] from ix-net
2024-05-25 23:36:15
Container image "tccr.io/tccr/db-wait-postgres:v1.1.0@sha256:4e4e5b9f37a5d0c8d90d744de23d1857079095fbb55d2944ec91d83241f60376" already present on machine
2024-05-25 23:36:09
Scaled up replica set immich-6497b6c649 to 1
2024-05-25 23:36:09
Created pod: immich-6497b6c649-54lkx
2024-05-25 23:36:09
Successfully assigned ix-immich/immich-6497b6c649-54lkx to ix-truenas
2024-05-25 23:36:09
Scaled up replica set immich-microservices-7cb8c5fdd5 to 1
2024-05-25 23:36:09
Created pod: immich-microservices-7cb8c5fdd5-pfxjf
2024-05-25 23:36:09
Successfully assigned ix-immich/immich-microservices-7cb8c5fdd5-pfxjf to ix-truenas
2024-05-25 23:36:09
Successfully assigned ix-immich/immich-redis-0 to ix-truenas
2024-05-25 23:36:09
Successfully assigned ix-immich/immich-cnpg-main-1 to ix-truenas
2024-05-25 23:16:36
Readiness probe failed: Get "http://172.16.1.7:8000/readyz": dial tcp 172.16.1.7:8000: connect: connection refused
2024-05-25 23:13:36
Readiness probe failed: HTTP probe failed with statuscode: 500
2024-05-25 23:13:28
Stopping container postgres
2024-05-25 23:11:20
Scaled down replica set immich-b487675f4 to 0 from 1
2024-05-25 23:11:20
Deleted pod: immich-b487675f4-4bpl8
2024-05-25 23:11:20
Stopping container immich
2024-05-25 23:11:20
Scaled down replica set immich-microservices-76fb656c6d to 0 from 1
2024-05-25 23:11:20
Stopping container immich-redis
2024-05-25 23:11:20
Stopping container immich
2024-05-25 23:11:20
Deleted pod: immich-microservices-76fb656c6d-42svs
2024-05-25 23:11:19
Error updating Endpoint Slices for Service ix-immich/immich-cnpg-main-r: failed to delete immich-cnpg-main-r-nl95n EndpointSlice for Service ix-immich/immich-cnpg-main-r: endpointslices.discovery.k8s.io "immich-cnpg-main-r-nl95n" not found
2024-05-25 22:57:20
Created container immich
2024-05-25 22:57:20
Started container immich
2024-05-25 22:57:18
Container image "altran1502/immich-server:v1.105.1@sha256:658b40420d7a39d6eb34c797cec8d36ff315f5adb168301aaf27dc4eafc8e228" already present on machine
2024-05-25 22:56:50
Created container immich
2024-05-25 22:56:50
Started container immich
2024-05-25 22:56:48
Container image "altran1502/immich-server:v1.105.1@sha256:658b40420d7a39d6eb34c797cec8d36ff315f5adb168301aaf27dc4eafc8e228" already present on machine
2024-05-25 22:56:45
Started container immich-system-redis-wait
2024-05-25 22:56:44
Created container immich-system-redis-wait
2024-05-25 22:56:43
Created container immich-init-wait-server
2024-05-25 22:56:43
Container image "tccr.io/tccr/db-wait-redis:v1.1.0@sha256:e9412891c9b6c96f11143cd88f5d19df352bf7b5570f1825f67b5e1a2ddec176" already present on machine
2024-05-25 22:56:43
Started container immich-init-wait-server
2024-05-25 22:56:42
Add eth0 [172.16.1.47/16] from ix-net
2024-05-25 22:56:42
Container image "tccr.io/tccr/alpine:v3.19.1@sha256:ade0065e19edaa4f6903d464ee70605111a48394536deb94f31b661264704558" already present on machine
2024-05-25 22:56:40
Created container immich-system-cnpg-wait
2024-05-25 22:56:40
Started container immich-system-cnpg-wait
2024-05-25 22:56:39
Add eth0 [172.16.1.46/16] from ix-net
2024-05-25 22:56:39
Container image "tccr.io/tccr/db-wait-postgres:v1.1.0@sha256:4e4e5b9f37a5d0c8d90d744de23d1857079095fbb55d2944ec91d83241f60376" already present on machine
2024-05-25 22:56:36
Scaled up replica set immich-microservices-76fb656c6d to 1
2024-05-25 22:56:36
Created pod: immich-microservices-76fb656c6d-42svs
2024-05-25 22:56:36
Successfully assigned ix-immich/immich-microservices-76fb656c6d-42svs to ix-truenas
2024-05-25 22:56:33
Scaled up replica set immich-b487675f4 to 1
2024-05-25 22:56:33
Created pod: immich-b487675f4-4bpl8
2024-05-25 22:56:33
Successfully assigned ix-immich/immich-b487675f4-4bpl8 to ix-truenas
2024-05-25 22:56:29
Readiness probe failed: dial tcp 172.16.1.42:10004: connect: connection refused
2024-05-25 22:55:30
Created container immich-redis
2024-05-25 22:55:30
Started container immich-redis
2024-05-25 22:55:28
Add eth0 [172.16.1.45/16] from ix-net
2024-05-25 22:55:28
Container image "bitnami/redis:7.2.4@sha256:c33cfe5511a443bc0a986f25c411e152b29244bdf9b676b7d4c56992467b857c" already present on machine
2024-05-25 22:55:27
Successfully assigned ix-immich/immich-redis-0 to ix-truenas
2024-05-25 22:55:24
Scaled down replica set immich-7bfb5bfc97 to 0 from 1
2024-05-25 22:55:24
Stopping container immich
2024-05-25 22:55:24
Deleted pod: immich-7bfb5bfc97-glhm9
2024-05-25 22:55:24
Scaled down replica set immich-microservices-6cfc965c5c to 0 from 1
2024-05-25 22:55:24
Deleted pod: immich-microservices-6cfc965c5c-5hb87
2024-05-25 22:55:24
Stopping container immich-redis
2024-05-25 22:55:24
Stopping container immich
2024-05-25 21:43:52
create Pod immich-redis-0 in StatefulSet immich-redis successful
2024-05-25 21:43:51
delete Pod immich-redis-0 in StatefulSet immich-redis successful

chartlication Logs

admin@truenas:~$ alias kubectl="sudo k3s kubectl"
admin@truenas:~$ kubectl get -n ix-immich pod
NAME                                    READY   STATUS    RESTARTS   AGE
immich-cnpg-main-1                      1/1     Running   0          19m
immich-redis-0                          1/1     Running   0          19m
immich-6497b6c649-54lkx                 1/1     Running   0          19m
immich-microservices-7cb8c5fdd5-pfxjf   1/1     Running   0          19m

admin@truenas:~$ kubectl logs -n ix-immich pod/immich-cnpg-main-1
Defaulted container "postgres" out of: postgres, bootstrap-controller (init)
{"level":"info","ts":"2024-05-26T03:36:28Z","logger":"setup","msg":"Starting CloudNativePG Instance Manager","logging_pod":"immich-cnpg-main-1","version":"1.22.2","build":{"Version":"1.22.2","Commit":"bcdcd885","Date":"2024-03-14"}}
{"level":"info","ts":"2024-05-26T03:36:28Z","logger":"setup","msg":"starting tablespace manager","logging_pod":"immich-cnpg-main-1"}
{"level":"info","ts":"2024-05-26T03:36:28Z","logger":"setup","msg":"starting external server manager","logging_pod":"immich-cnpg-main-1"}
{"level":"info","ts":"2024-05-26T03:36:28Z","logger":"setup","msg":"starting controller-runtime manager","logging_pod":"immich-cnpg-main-1"}
{"level":"info","ts":"2024-05-26T03:36:28Z","msg":"Starting webserver","logging_pod":"immich-cnpg-main-1","address":":9187"}
{"level":"info","ts":"2024-05-26T03:36:28Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.Cluster"}
{"level":"info","ts":"2024-05-26T03:36:28Z","msg":"Starting Controller","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster"}
{"level":"info","ts":"2024-05-26T03:36:28Z","logger":"roles_reconciler","msg":"starting up the runnable","logging_pod":"immich-cnpg-main-1"}
{"level":"info","ts":"2024-05-26T03:36:28Z","logger":"roles_reconciler","msg":"setting up RoleSynchronizer loop","logging_pod":"immich-cnpg-main-1"}
{"level":"info","ts":"2024-05-26T03:36:28Z","msg":"Starting webserver","logging_pod":"immich-cnpg-main-1","address":"localhost:8010"}
{"level":"info","ts":"2024-05-26T03:36:28Z","msg":"Starting webserver","logging_pod":"immich-cnpg-main-1","address":":8000"}
{"level":"info","ts":"2024-05-26T03:36:28Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.Cluster"}
{"level":"info","ts":"2024-05-26T03:36:28Z","msg":"Starting Controller","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster"}
{"level":"info","ts":"2024-05-26T03:36:28Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.Cluster"}
{"level":"info","ts":"2024-05-26T03:36:28Z","msg":"Starting Controller","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster"}
{"level":"info","ts":"2024-05-26T03:36:28Z","msg":"Starting workers","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","worker count":1}
{"level":"info","ts":"2024-05-26T03:36:28Z","msg":"Starting workers","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","worker count":1}
{"level":"info","ts":"2024-05-26T03:36:28Z","msg":"Starting workers","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","worker count":1}
{"level":"info","ts":"2024-05-26T03:36:28Z","msg":"Ignore minSyncReplicas to enforce self-healing","logging_pod":"immich-cnpg-main-1","syncReplicas":-1,"minSyncReplicas":0,"maxSyncReplicas":0}
{"level":"info","ts":"2024-05-26T03:36:28Z","msg":"Refreshed configuration file","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"immich-cnpg-main","namespace":"ix-immich"},"namespace":"ix-immich","name":"immich-cnpg-main","reconcileID":"795f47d4-1f18-4bde-83fa-f8af4ff93cfe","uuid":"232445ea-1b11-11ef-a79a-32f419813ce3","logging_pod":"immich-cnpg-main-1","filename":"/controller/certificates/server.crt","secret":"immich-cnpg-main-server"}
{"level":"info","ts":"2024-05-26T03:36:28Z","msg":"Refreshed configuration file","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"immich-cnpg-main","namespace":"ix-immich"},"namespace":"ix-immich","name":"immich-cnpg-main","reconcileID":"795f47d4-1f18-4bde-83fa-f8af4ff93cfe","uuid":"232445ea-1b11-11ef-a79a-32f419813ce3","logging_pod":"immich-cnpg-main-1","filename":"/controller/certificates/server.key","secret":"immich-cnpg-main-server"}
{"level":"info","ts":"2024-05-26T03:36:29Z","msg":"Refreshed configuration file","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"immich-cnpg-main","namespace":"ix-immich"},"namespace":"ix-immich","name":"immich-cnpg-main","reconcileID":"795f47d4-1f18-4bde-83fa-f8af4ff93cfe","uuid":"232445ea-1b11-11ef-a79a-32f419813ce3","logging_pod":"immich-cnpg-main-1","filename":"/controller/certificates/streaming_replica.crt","secret":"immich-cnpg-main-replication"}
{"level":"info","ts":"2024-05-26T03:36:29Z","msg":"Refreshed configuration file","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"immich-cnpg-main","namespace":"ix-immich"},"namespace":"ix-immich","name":"immich-cnpg-main","reconcileID":"795f47d4-1f18-4bde-83fa-f8af4ff93cfe","uuid":"232445ea-1b11-11ef-a79a-32f419813ce3","logging_pod":"immich-cnpg-main-1","filename":"/controller/certificates/streaming_replica.key","secret":"immich-cnpg-main-replication"}
{"level":"info","ts":"2024-05-26T03:36:29Z","msg":"Refreshed configuration file","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"immich-cnpg-main","namespace":"ix-immich"},"namespace":"ix-immich","name":"immich-cnpg-main","reconcileID":"795f47d4-1f18-4bde-83fa-f8af4ff93cfe","uuid":"232445ea-1b11-11ef-a79a-32f419813ce3","logging_pod":"immich-cnpg-main-1","filename":"/controller/certificates/client-ca.crt","secret":"immich-cnpg-main-ca"}
{"level":"info","ts":"2024-05-26T03:36:29Z","msg":"Refreshed configuration file","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"immich-cnpg-main","namespace":"ix-immich"},"namespace":"ix-immich","name":"immich-cnpg-main","reconcileID":"795f47d4-1f18-4bde-83fa-f8af4ff93cfe","uuid":"232445ea-1b11-11ef-a79a-32f419813ce3","logging_pod":"immich-cnpg-main-1","filename":"/controller/certificates/server-ca.crt","secret":"immich-cnpg-main-ca"}
{"level":"info","ts":"2024-05-26T03:36:29Z","msg":"Installed configuration file","logging_pod":"immich-cnpg-main-1","pgdata":"/var/lib/postgresql/data/pgdata","filename":"pg_ident.conf"}
{"level":"info","ts":"2024-05-26T03:36:29Z","msg":"Ignore minSyncReplicas to enforce self-healing","logging_pod":"immich-cnpg-main-1","syncReplicas":-1,"minSyncReplicas":0,"maxSyncReplicas":0}
{"level":"info","ts":"2024-05-26T03:36:29Z","msg":"Cluster status","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"immich-cnpg-main","namespace":"ix-immich"},"namespace":"ix-immich","name":"immich-cnpg-main","reconcileID":"795f47d4-1f18-4bde-83fa-f8af4ff93cfe","uuid":"232445ea-1b11-11ef-a79a-32f419813ce3","logging_pod":"immich-cnpg-main-1","currentPrimary":"immich-cnpg-main-1","targetPrimary":"immich-cnpg-main-1"}
{"level":"info","ts":"2024-05-26T03:36:29Z","msg":"Extracting pg_controldata information","logging_pod":"immich-cnpg-main-1","reason":"postmaster start up"}
{"level":"info","ts":"2024-05-26T03:36:29Z","logger":"pg_controldata","msg":"pg_control version number:            1300\nCatalog version number:
 202307071\nDatabase system identifier:           7373097569762967572\nDatabase cluster state:               shut down\npg_control last modified:
Sun 26 May 2024 03:16:28 AM UTC\nLatest checkpoint location:           0/44000028\nLatest checkpoint's REDO location:    0/44000028\nLatest checkpoint's REDO WAL file:    000000010000000000000044\nLatest checkpoint's TimeLineID:       1\nLatest checkpoint's PrevTimeLineID:   1\nLatest checkpoint's full_page_writes: on\nLatest checkpoint's NextXID:          0:4667\nLatest checkpoint's NextOID:          17560\nLatest checkpoint's NextMultiXactId:  1\nLatest checkpoint's NextMultiOffset:  0\nLatest checkpoint's oldestXID:        722\nLatest checkpoint's oldestXID's DB:   1\nLatest checkpoint's oldestActiveXID:  0\nLatest checkpoint's oldestMultiXid:   1\nLatest checkpoint's oldestMulti's DB: 1\nLatest checkpoint's oldestCommitTsXid:0\nLatest checkpoint's newestCommitTsXid:0\nTime of latest checkpoint:            Sun 26 May 2024 03:16:28 AM UTC\nFake LSN counter for unlogged rels:   0/3E8\nMinimum recovery ending location:     0/0\nMin recovery ending loc's timeline:   0\nBackup start location:                0/0\nBackup end location:                  0/0\nEnd-of-backup record required:        no\nwal_level setting:                    logical\nwal_log_hints setting:                on\nmax_connections setting:              100\nmax_worker_processes setting:         32\nmax_wal_senders setting:              10\nmax_prepared_xacts setting:           0\nmax_locks_per_xact setting:           64\ntrack_commit_timestamp setting:       off\nMaximum data alignment:               8\nDatabase block size:                  8192\nBlocks per segment of large relation: 131072\nWAL block size:                       8192\nBytes per WAL segment:                16777216\nMaximum length of identifiers:        64\nMaximum columns in an index:          32\nMaximum size of a TOAST chunk:        1996\nSize of a large-object chunk:         2048\nDate/time type storage:               64-bit integers\nFloat8 argument passing:              by value\nData page checksum version:           1\nMock authentication nonce:            6cc32d05019e0d9cf2f83734fa167179a45226874ba5c39e4784eec8a9c4a4c8\n","pipe":"stdout","logging_pod":"immich-cnpg-main-1"}
{"level":"info","ts":"2024-05-26T03:36:29Z","msg":"DB not available, will retry","logging_pod":"immich-cnpg-main-1","err":"failed to connect to `host=/controller/run user=postgres database=postgres`: dial error (dial unix /controller/run/.s.PGSQL.5432: connect: no such file or directory)"}
{"level":"info","ts":"2024-05-26T03:36:29Z","msg":"Instance is still down, will retry in 1 second","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"immich-cnpg-main","namespace":"ix-immich"},"namespace":"ix-immich","name":"immich-cnpg-main","reconcileID":"795f47d4-1f18-4bde-83fa-f8af4ff93cfe","uuid":"232445ea-1b11-11ef-a79a-32f419813ce3","logging_pod":"immich-cnpg-main-1"}
{"level":"info","ts":"2024-05-26T03:36:29Z","logger":"postgres","msg":"2024-05-26 03:36:29.059 UTC [20] LOG:  redirecting log output to logging collector process","pipe":"stderr","logging_pod":"immich-cnpg-main-1"}
{"level":"info","ts":"2024-05-26T03:36:29Z","logger":"postgres","msg":"2024-05-26 03:36:29.059 UTC [20] HINT:  Future log output will appear in directory \"/controller/log\".","pipe":"stderr","logging_pod":"immich-cnpg-main-1"}
{"level":"info","ts":"2024-05-26T03:36:29Z","logger":"postgres","msg":"record","logging_pod":"immich-cnpg-main-1","record":{"log_time":"2024-05-26 03:36:29.059 UTC","process_id":"20","session_id":"6652ae3d.14","session_line_num":"1","session_start_time":"2024-05-26 03:36:29 UTC","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"ending log output to stderr","hint":"Future log output will go to log destination \"csvlog\".","backend_type":"postmaster","query_id":"0"}}
{"level":"info","ts":"2024-05-26T03:36:29Z","logger":"postgres","msg":"record","logging_pod":"immich-cnpg-main-1","record":{"log_time":"2024-05-26 03:36:29.059 UTC","process_id":"20","session_id":"6652ae3d.14","session_line_num":"2","session_start_time":"2024-05-26 03:36:29 UTC","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"starting PostgreSQL 16.3 (Debian 16.3-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit","backend_type":"postmaster","query_id":"0"}}
{"level":"info","ts":"2024-05-26T03:36:29Z","logger":"postgres","msg":"record","logging_pod":"immich-cnpg-main-1","record":{"log_time":"2024-05-26 03:36:29.059 UTC","process_id":"20","session_id":"6652ae3d.14","session_line_num":"3","session_start_time":"2024-05-26 03:36:29 UTC","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"listening on IPv4 address \"0.0.0.0\", port 5432","backend_type":"postmaster","query_id":"0"}}
{"level":"info","ts":"2024-05-26T03:36:29Z","logger":"postgres","msg":"record","logging_pod":"immich-cnpg-main-1","record":{"log_time":"2024-05-26 03:36:29.059 UTC","process_id":"20","session_id":"6652ae3d.14","session_line_num":"4","session_start_time":"2024-05-26 03:36:29 UTC","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"listening on IPv6 address \"::\", port 5432","backend_type":"postmaster","query_id":"0"}}
{"level":"info","ts":"2024-05-26T03:36:29Z","logger":"postgres","msg":"2024-05-26 03:36:29.059 UTC [20] LOG:  ending log output to stderr","source":"/controller/log/postgres","logging_pod":"immich-cnpg-main-1"}
{"level":"info","ts":"2024-05-26T03:36:29Z","logger":"postgres","msg":"2024-05-26 03:36:29.059 UTC [20] HINT:  Future log output will go to log destination \"csvlog\".","source":"/controller/log/postgres","logging_pod":"immich-cnpg-main-1"}
{"level":"info","ts":"2024-05-26T03:36:29Z","logger":"postgres","msg":"record","logging_pod":"immich-cnpg-main-1","record":{"log_time":"2024-05-26 03:36:29.062 UTC","process_id":"20","session_id":"6652ae3d.14","session_line_num":"5","session_start_time":"2024-05-26 03:36:29 UTC","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"listening on Unix socket \"/controller/run/.s.PGSQL.5432\"","backend_type":"postmaster","query_id":"0"}}
{"level":"info","ts":"2024-05-26T03:36:29Z","logger":"postgres","msg":"record","logging_pod":"immich-cnpg-main-1","record":{"log_time":"2024-05-26 03:36:29.066 UTC","process_id":"24","session_id":"6652ae3d.18","session_line_num":"1","session_start_time":"2024-05-26 03:36:29 UTC","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"database system was shut down at 2024-05-26 03:16:28 UTC","backend_type":"startup","query_id":"0"}}
{"level":"info","ts":"2024-05-26T03:36:29Z","logger":"postgres","msg":"[2024-05-26T03:36:29Z INFO  service::utils::clean] Find directory \"pg_vectors/indexes/17337\".","source":"/controller/log/postgres","logging_pod":"immich-cnpg-main-1"}
{"level":"info","ts":"2024-05-26T03:36:29Z","logger":"postgres","msg":"[2024-05-26T03:36:29Z INFO  service::utils::clean] Find directory \"pg_vectors/indexes/17338\".","source":"/controller/log/postgres","logging_pod":"immich-cnpg-main-1"}
{"level":"info","ts":"2024-05-26T03:36:29Z","logger":"postgres","msg":"record","logging_pod":"immich-cnpg-main-1","record":{"log_time":"2024-05-26 03:36:29.075 UTC","process_id":"20","session_id":"6652ae3d.14","session_line_num":"6","session_start_time":"2024-05-26 03:36:29 UTC","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"database system is ready to accept connections","backend_type":"postmaster","query_id":"0"}}
{"level":"info","ts":"2024-05-26T03:36:29Z","msg":"Ignore minSyncReplicas to enforce self-healing","logging_pod":"immich-cnpg-main-1","syncReplicas":-1,"minSyncReplicas":0,"maxSyncReplicas":0}
{"level":"info","ts":"2024-05-26T03:36:29Z","msg":"Ignore minSyncReplicas to enforce self-healing","logging_pod":"immich-cnpg-main-1","syncReplicas":-1,"minSyncReplicas":0,"maxSyncReplicas":0}
{"level":"info","ts":"2024-05-26T03:36:29Z","msg":"Ignore minSyncReplicas to enforce self-healing","logging_pod":"immich-cnpg-main-1","syncReplicas":-1,"minSyncReplicas":0,"maxSyncReplicas":0}
{"level":"info","ts":"2024-05-26T03:36:29Z","msg":"Ignore minSyncReplicas to enforce self-healing","logging_pod":"immich-cnpg-main-1","syncReplicas":-1,"minSyncReplicas":0,"maxSyncReplicas":0}
{"level":"info","ts":"2024-05-26T03:36:30Z","msg":"Ignore minSyncReplicas to enforce self-healing","logging_pod":"immich-cnpg-main-1","syncReplicas":-1,"minSyncReplicas":0,"maxSyncReplicas":0}
{"level":"info","ts":"2024-05-26T03:36:30Z","msg":"Ignore minSyncReplicas to enforce self-healing","logging_pod":"immich-cnpg-main-1","syncReplicas":-1,"minSyncReplicas":0,"maxSyncReplicas":0}
{"level":"info","ts":"2024-05-26T03:41:29Z","logger":"postgres","msg":"record","logging_pod":"immich-cnpg-main-1","record":{"log_time":"2024-05-26 03:41:29.164 UTC","process_id":"22","session_id":"6652ae3d.16","session_line_num":"1","session_start_time":"2024-05-26 03:36:29 UTC","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"checkpoint starting: time","backend_type":"checkpointer","query_id":"0"}}
{"level":"info","ts":"2024-05-26T03:41:29Z","logger":"wal-archive","msg":"Backup not configured, skip WAL archiving","logging_pod":"immich-cnpg-main-1","walName":"pg_wal/000000010000000000000044","currentPrimary":"immich-cnpg-main-1","targetPrimary":"immich-cnpg-main-1"}
{"level":"info","ts":"2024-05-26T03:41:29Z","logger":"postgres","msg":"record","logging_pod":"immich-cnpg-main-1","record":{"log_time":"2024-05-26 03:41:29.911 UTC","process_id":"22","session_id":"6652ae3d.16","session_line_num":"2","session_start_time":"2024-05-26 03:36:29 UTC","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"checkpoint complete: wrote 9 buffers (0.1%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.705 s, sync=0.033 s, total=0.748 s; sync files=6, longest=0.009 s, average=0.006 s; distance=44 kB, estimate=44 kB; lsn=0/45000098, redo lsn=0/4400B148","backend_type":"checkpointer","query_id":"0"}}
{"level":"info","ts":"2024-05-26T03:46:30Z","logger":"postgres","msg":"record","logging_pod":"immich-cnpg-main-1","record":{"log_time":"2024-05-26 03:46:30.010 UTC","process_id":"22","session_id":"6652ae3d.16","session_line_num":"3","session_start_time":"2024-05-26 03:36:29 UTC","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"checkpoint starting: time","backend_type":"checkpointer","query_id":"0"}}
{"level":"info","ts":"2024-05-26T03:46:30Z","logger":"postgres","msg":"record","logging_pod":"immich-cnpg-main-1","record":{"log_time":"2024-05-26 03:46:30.027 UTC","process_id":"22","session_id":"6652ae3d.16","session_line_num":"4","session_start_time":"2024-05-26 03:36:29 UTC","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"checkpoint complete: wrote 1 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.003 s, total=0.017 s; sync files=1, longest=0.003 s, average=0.003 s; distance=16346 kB, estimate=16346 kB; lsn=0/45001AD8, redo lsn=0/45001AA0","backend_type":"checkpointer","query_id":"0"}}
{"level":"info","ts":"2024-05-26T03:46:30Z","logger":"wal-archive","msg":"Backup not configured, skip WAL archiving","logging_pod":"immich-cnpg-main-1","walName":"pg_wal/000000010000000000000045","currentPrimary":"immich-cnpg-main-1","targetPrimary":"immich-cnpg-main-1"}
{"level":"info","ts":"2024-05-26T03:51:30Z","logger":"postgres","msg":"record","logging_pod":"immich-cnpg-main-1","record":{"log_time":"2024-05-26 03:51:30.206 UTC","process_id":"22","session_id":"6652ae3d.16","session_line_num":"5","session_start_time":"2024-05-26 03:36:29 UTC","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"checkpoint starting: time","backend_type":"checkpointer","query_id":"0"}}
{"level":"info","ts":"2024-05-26T03:51:30Z","logger":"postgres","msg":"record","logging_pod":"immich-cnpg-main-1","record":{"log_time":"2024-05-26 03:51:30.217 UTC","process_id":"22","session_id":"6652ae3d.16","session_line_num":"6","session_start_time":"2024-05-26 03:36:29 UTC","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"checkpoint complete: wrote 1 buffers (0.0%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.001 s, sync=0.002 s, total=0.011 s; sync files=1, longest=0.002 s, average=0.002 s; distance=16383 kB, estimate=16383 kB; lsn=0/46001A28, redo lsn=0/460019F0","backend_type":"checkpointer","query_id":"0"}}
{"level":"info","ts":"2024-05-26T03:51:30Z","logger":"wal-archive","msg":"Backup not configured, skip WAL archiving","logging_pod":"immich-cnpg-main-1","walName":"pg_wal/000000010000000000000046","currentPrimary":"immich-cnpg-main-1","targetPrimary":"immich-cnpg-main-1"}
{"level":"info","ts":"2024-05-26T03:56:30Z","logger":"postgres","msg":"record","logging_pod":"immich-cnpg-main-1","record":{"log_time":"2024-05-26 03:56:30.434 UTC","process_id":"22","session_id":"6652ae3d.16","session_line_num":"7","session_start_time":"2024-05-26 03:36:29 UTC","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"checkpoint starting: time","backend_type":"checkpointer","query_id":"0"}}
{"level":"info","ts":"2024-05-26T03:56:30Z","logger":"postgres","msg":"record","logging_pod":"immich-cnpg-main-1","record":{"log_time":"2024-05-26 03:56:30.443 UTC","process_id":"22","session_id":"6652ae3d.16","session_line_num":"8","session_start_time":"2024-05-26 03:36:29 UTC","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"checkpoint complete: wrote 1 buffers (0.0%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.001 s, sync=0.001 s, total=0.009 s; sync files=1, longest=0.001 s, average=0.001 s; distance=16384 kB, estimate=16384 kB; lsn=0/47001A28, redo lsn=0/470019F0","backend_type":"checkpointer","query_id":"0"}}
{"level":"info","ts":"2024-05-26T03:56:30Z","logger":"wal-archive","msg":"Backup not configured, skip WAL archiving","logging_pod":"immich-cnpg-main-1","walName":"pg_wal/000000010000000000000047","currentPrimary":"immich-cnpg-main-1","targetPrimary":"immich-cnpg-main-1"}

admin@truenas:~$ kubectl logs -n ix-immich pod/immich-redis-0
redis 03:36:21.73 INFO  ==>
redis 03:36:21.73 INFO  ==> Welcome to the Bitnami redis container
redis 03:36:21.73 INFO  ==> Subscribe to project updates by watching https://github.com/bitnami/containers
redis 03:36:21.73 INFO  ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
redis 03:36:21.74 INFO  ==> Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit https://bitnami.com/enterprise
redis 03:36:21.74 INFO  ==>
redis 03:36:21.74 INFO  ==> ** Starting Redis setup **
redis 03:36:21.75 WARN  ==> You set the environment variable ALLOW_EMPTY_PASSWORD=yes. For safety reasons, do not use this flag in a production environment.
redis 03:36:21.76 INFO  ==> Initializing Redis
redis 03:36:21.77 INFO  ==> Setting Redis config file
redis 03:36:21.82 INFO  ==> Configuring replication mode

redis 03:36:21.85 INFO  ==> ** Redis setup finished! **
redis 03:36:21.86 INFO  ==> ** Starting Redis **
1:C 26 May 2024 03:36:21.874 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 26 May 2024 03:36:21.874 * Redis version=7.2.4, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 26 May 2024 03:36:21.874 * Configuration loaded
1:M 26 May 2024 03:36:21.875 * monotonic clock: POSIX clock_gettime
1:M 26 May 2024 03:36:21.875 * Running mode=standalone, port=6379.
1:M 26 May 2024 03:36:21.876 * Server initialized
1:M 26 May 2024 03:36:21.878 * Creating AOF base file appendonly.aof.1.base.rdb on server start
1:M 26 May 2024 03:36:21.880 * Creating AOF incr file appendonly.aof.1.incr.aof on server start
1:M 26 May 2024 03:36:21.880 * Ready to accept connections tcp

admin@truenas:~$ kubectl logs -n ix-immich immich-6497b6c649-54lkx
Defaulted container "immich" out of: immich, immich-system-cnpg-wait (init), immich-system-redis-wait (init)
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [EventRepository] Initialized websocket server
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [SystemConfigService] LogLevel=debug (set via LOG_LEVEL)
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [ApiService] Feature Flags: {
  "smartSearch": false,
  "facialRecognition": false,
  "map": true,
  "reverseGeocoding": true,
  "sidecar": true,
  "search": true,
  "trash": true,
  "oauth": true,
  "oauthAutoLaunch": false,
  "passwordLogin": true,
  "configFile": false,
  "email": false
}
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [NestFactory] Starting Nest application...
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [InstanceLoader] BullModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [InstanceLoader] OpenTelemetryModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [InstanceLoader] TypeOrmModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [InstanceLoader] OpenTelemetryCoreModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [InstanceLoader] ConfigHostModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [InstanceLoader] DiscoveryModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [InstanceLoader] ClsModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [InstanceLoader] ConfigModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [InstanceLoader] EventEmitterModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [InstanceLoader] ScheduleModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [InstanceLoader] BullModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [InstanceLoader] BullModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [InstanceLoader] TypeOrmCoreModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [InstanceLoader] TypeOrmModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [InstanceLoader] ApiModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:00 PM   DEBUG [ImmichServer] [ClsModule] Mounting ClsMiddleware to *
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] APIKeyController {/api/api-key}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/api-key, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/api-key, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/api-key/:id, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/api-key/:id, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/api-key/:id, DELETE} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] ActivityController {/api/activity}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/activity, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/activity/statistics, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/activity, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/activity/:id, DELETE} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] AlbumController {/api/album}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/album/count, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/album, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/album, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/album/:id, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/album/:id, PATCH} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/album/:id, DELETE} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/album/:id/assets, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/album/:id/assets, DELETE} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/album/:id/users, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/album/:id/user/:userId, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/album/:id/user/:userId, DELETE} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] AppController {/api}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/.well-known/immich, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/custom.css, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] AssetController {/api/asset}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/asset/map-marker, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/asset/memory-lane, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/asset/random, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/asset/device/:deviceId, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/asset/statistics, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/asset/jobs, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/asset, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/asset, DELETE} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/asset/stack/parent, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/asset/:id, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/asset/:id, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] AssetControllerV1 {/api/asset}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/asset/upload, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/asset/file/:id, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/asset/thumbnail/:id, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/asset, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/asset/exist, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/asset/bulk-upload-check, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] AuditController {/api/audit}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/audit/deletes, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] AuthController {/api/auth}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/auth/login, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/auth/admin-sign-up, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/auth/validateToken, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/auth/change-password, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/auth/logout, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] DownloadController {/api/download}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/download/info, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/download/archive, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/download/asset/:id, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] FaceController {/api/face}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/face, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/face/:id, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] JobController {/api/jobs}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/jobs, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/jobs/:id, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] LibraryController {/api/library}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/library, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/library, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/library/:id, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/library/:id, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/library/:id/validate, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/library/:id, DELETE} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/library/:id/statistics, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/library/:id/scan, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/library/:id/removeOffline, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] MemoryController {/api/memories}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/memories, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/memories, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/memories/:id, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/memories/:id, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/memories/:id, DELETE} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/memories/:id/assets, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/memories/:id/assets, DELETE} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] OAuthController {/api/oauth}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/oauth/mobile-redirect, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/oauth/authorize, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/oauth/callback, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/oauth/link, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/oauth/unlink, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] PartnerController {/api/partner}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/partner, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/partner/:id, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/partner/:id, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/partner/:id, DELETE} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] PersonController {/api/person}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/person, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/person, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/person, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/person/:id, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/person/:id, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/person/:id/statistics, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/person/:id/thumbnail, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/person/:id/assets, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/person/:id/reassign, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/person/:id/merge, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] ReportController {/api/report}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/report, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/report/checksum, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/report/fix, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] SearchController {/api/search}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/search/metadata, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/search/smart, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/search/explore, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/search/person, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/search/places, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/search/cities, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/search/suggestions, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] ServerInfoController {/api/server-info}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/server-info, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/server-info/ping, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/server-info/version, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/server-info/features, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/server-info/theme, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/server-info/config, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/server-info/statistics, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/server-info/media-types, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] SessionController {/api/sessions}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/sessions, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/sessions, DELETE} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/sessions/:id, DELETE} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] SharedLinkController {/api/shared-link}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/shared-link, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/shared-link/me, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/shared-link/:id, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/shared-link, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/shared-link/:id, PATCH} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/shared-link/:id, DELETE} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/shared-link/:id/assets, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/shared-link/:id/assets, DELETE} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] SyncController {/api/sync}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/sync/full-sync, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/sync/delta-sync, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] SystemConfigController {/api/system-config}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/system-config, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/system-config/defaults, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/system-config, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/system-config/storage-template-options, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/system-config/map/style.json, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] SystemMetadataController {/api/system-metadata}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/system-metadata/admin-onboarding, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/system-metadata/admin-onboarding, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/system-metadata/reverse-geocoding-state, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] TagController {/api/tag}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/tag, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/tag, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/tag/:id, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/tag/:id, PATCH} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/tag/:id, DELETE} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/tag/:id/assets, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/tag/:id/assets, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/tag/:id/assets, DELETE} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] TimelineController {/api/timeline}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/timeline/buckets, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/timeline/bucket, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] TrashController {/api/trash}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/trash/empty, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/trash/restore, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/trash/restore/assets, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RoutesResolver] UserController {/api/user}:
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/user, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/user/info/:id, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/user/me, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/user, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/user/profile-image, DELETE} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/user/:id, DELETE} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/user/:id/restore, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/user, PUT} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/user/profile-image, POST} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [RouterExplorer] Mapped {/api/user/profile-image/:id, GET} route
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [NestApplication] Nest application successfully started
[Nest] 8  - 05/25/2024, 11:37:00 PM     LOG [ImmichServer] [ImmichServer] Immich Server is listening on http://[::1]:10323 [v1.105.1] [PRODUCTION]
[Nest] 8  - 05/25/2024, 11:37:56 PM     LOG [ImmichServer] [EventRepository] Websocket Connect:    BG675jr0MFeEZEn3AAAB
[Nest] 8  - 05/25/2024, 11:37:56 PM   DEBUG [ImmichServer] [EventRepository] Server event: websocket.connect (send)

admin@truenas:~$ kubectl logs -n ix-immich pod/immich-microservices-7cb8c5fdd5-pfxjf
Defaulted container "immich" out of: immich, immich-init-wait-server (init)
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [EventRepository] Initialized websocket server
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [SystemConfigService] LogLevel=debug (set via LOG_LEVEL)
[Nest] 8  - 05/25/2024, 11:37:27 PM   DEBUG [ImmichMicroservices] [JobService] Registering thumbnailGeneration with a concurrency of 5
[Nest] 8  - 05/25/2024, 11:37:27 PM   DEBUG [ImmichMicroservices] [JobService] Registering metadataExtraction with a concurrency of 5
[Nest] 8  - 05/25/2024, 11:37:27 PM   DEBUG [ImmichMicroservices] [JobService] Registering videoConversion with a concurrency of 1
[Nest] 8  - 05/25/2024, 11:37:27 PM   DEBUG [ImmichMicroservices] [JobService] Registering faceDetection with a concurrency of 2
[Nest] 8  - 05/25/2024, 11:37:27 PM   DEBUG [ImmichMicroservices] [JobService] Registering facialRecognition with a concurrency of 1
[Nest] 8  - 05/25/2024, 11:37:27 PM   DEBUG [ImmichMicroservices] [JobService] Registering smartSearch with a concurrency of 2
[Nest] 8  - 05/25/2024, 11:37:27 PM   DEBUG [ImmichMicroservices] [JobService] Registering backgroundTask with a concurrency of 5
[Nest] 8  - 05/25/2024, 11:37:27 PM   DEBUG [ImmichMicroservices] [JobService] Registering storageTemplateMigration with a concurrency of 1
[Nest] 8  - 05/25/2024, 11:37:27 PM   DEBUG [ImmichMicroservices] [JobService] Registering migration with a concurrency of 5
[Nest] 8  - 05/25/2024, 11:37:27 PM   DEBUG [ImmichMicroservices] [JobService] Registering search with a concurrency of 5
[Nest] 8  - 05/25/2024, 11:37:27 PM   DEBUG [ImmichMicroservices] [JobService] Registering sidecar with a concurrency of 5
[Nest] 8  - 05/25/2024, 11:37:27 PM   DEBUG [ImmichMicroservices] [JobService] Registering library with a concurrency of 5
[Nest] 8  - 05/25/2024, 11:37:27 PM   DEBUG [ImmichMicroservices] [JobService] Registering notifications with a concurrency of 5
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [MetadataRepository] Initializing metadata repository
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [MetadataService] Initialized local reverse geocoder
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [NestFactory] Starting Nest application...
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [InstanceLoader] BullModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [InstanceLoader] OpenTelemetryModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [InstanceLoader] TypeOrmModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [InstanceLoader] OpenTelemetryCoreModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [InstanceLoader] ConfigHostModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [InstanceLoader] DiscoveryModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [InstanceLoader] ClsModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [InstanceLoader] ConfigModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [InstanceLoader] EventEmitterModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [InstanceLoader] BullModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [InstanceLoader] BullModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [InstanceLoader] TypeOrmCoreModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [InstanceLoader] TypeOrmModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [InstanceLoader] MicroservicesModule dependencies initialized
[Nest] 8  - 05/25/2024, 11:37:27 PM   DEBUG [ImmichMicroservices] [ClsModule] Mounting ClsMiddleware to *
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [NestApplication] Nest application successfully started
[Nest] 8  - 05/25/2024, 11:37:27 PM     LOG [ImmichMicroservices] [ImmichMicroservices] Immich Microservices is listening on http://[::1]:10004 [v1.105.1] [PRODUCTION]

Chart Configuration

tc-immich-bug-config1

Describe the bug

I need to add an extra CA bundle for Immich to make HTTPS requests to my OIDC provider which has a self-signed certificate.

I discovered that Node.js (and hence the Immich server) makes use of a bundled CA certificates bundle. In order to include a custom CA certificate, it is recommended to use the NODE_EXTRA_CA_CERTS environment variable.

However, after confirming in a Discord support thread, it was discovered that the extra environment variables which are set in the TrueNAS SCALE UI are not passed through to the main (immich-server) container.

To Reproduce

  1. Initialize a new Immich app on TrueNAS SCALE
  2. Realize your custom root CA certificate needs to be included in Immich's CA certificate bundle for the OIDC integration
  3. Try adding the NODE_EXTRA_CA_CERTS environment variable pointing to an extra CA certificate bundle
  4. Once the pods are all running, try finding the NODE_EXTRA_CA_CERTS environment variable in the main server pod

Expected Behavior

NODE_EXTRA_CA_CERTS environment variable is set in the main (immich-server) container to the value supplied in the app configuration

Screenshots

admin@truenas:~$ kubectl get -n ix-immich pod
NAME                                    READY   STATUS    RESTARTS   AGE
immich-cnpg-main-1                      1/1     Running   0          44m
immich-redis-0                          1/1     Running   0          44m
immich-6497b6c649-54lkx                 1/1     Running   0          44m
immich-microservices-7cb8c5fdd5-pfxjf   1/1     Running   0          44m

admin@truenas:~$ kubectl exec -n ix-immich immich-6497b6c649-54lkx -- /bin/sh -c "env" | grep NODE_
Defaulted container "immich" out of: immich, immich-system-cnpg-wait (init), immich-system-redis-wait (init)
NODE_VERSION=20.13.1
NODE_ENV=production

admin@truenas:~$

Additional Context

@ksimm1 attempted to set an extra environment variable for a brand new app install and faced the same issue.

I've read and agree with the following

  • I've checked all open and closed issues and my issue is not there.
  • I've prefixed my issue title with [Chart-Name]
@j1mbl3s j1mbl3s added the bug Something isn't working label May 26, 2024
stavros-k added a commit that referenced this issue May 26, 2024
…d from values (#22478)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  #22477 
⚒️ Fixes  #21749

Any configuration for `main` container that was added to values, it was
"overwritten" instead of merged

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [x] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [x] ⬆️ I increased versions for any altered app according to semantic
versioning
- [x] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):` or `chore(chart-name):`

**➕ App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant