You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error logs from immich server when hitting Send test email and save button
root@dockge:~# docker logs immich_server -f
...
...
[Nest] 17 - 01/07/2025, 11:43:45 PM ERROR [Api:ErrorInterceptor~2815krld] Unknown error: TypeError: Cannot read properties of undefined (reading 'languages')
TypeError: Cannot read properties of undefined (reading 'languages')
at /usr/src/app/node_modules/@react-email/render/node_modules/prettier/standalone.js:24:694
at Array.flatMap (<anonymous>)
at it (/usr/src/app/node_modules/@react-email/render/node_modules/prettier/standalone.js:24:681)
at Ai (/usr/src/app/node_modules/@react-email/render/node_modules/prettier/standalone.js:27:12039)
at rr (/usr/src/app/node_modules/@react-email/render/node_modules/prettier/standalone.js:33:273)
at /usr/src/app/node_modules/@react-email/render/node_modules/prettier/standalone.js:35:802
at gu (/usr/src/app/node_modules/@react-email/render/node_modules/prettier/standalone.js:35:871)
at pretty (/usr/src/app/node_modules/@react-email/render/dist/node/index.js:87:39)
at /usr/src/app/node_modules/@react-email/render/dist/node/index.js:163:12
at Generator.next (<anonymous>)
The OS that Immich Server is running on
Debian GNU/Linux 12 (bookworm)
Version of Immich Server
v1.124.0
Version of Immich Mobile App
v1.123.0 build.172
Platform with the issue
Server
Web
Mobile
Your docker-compose.yml content
name: immichservices:
immich-server:
container_name: immich_serverimage: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}cap_add:
- CAP_PERFMONdevices:
- /dev/dri/:/dev/dri/volumes:
# Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /mnt/smbserver/Immich-media/:/mnt/smbserver/Immich-media:ro
- /mnt/smbserver/PhotoPrism_Originals:/mnt/smbserver/PhotoPrism:ro
- /etc/localtime:/etc/localtime:roenv_file:
- .envports:
- 2283:2283depends_on:
- redis
- databaserestart: alwayshealthcheck:
disable: falseimmich-machine-learning:
container_name: immich_machine_learning# For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.# Example tag: ${IMMICH_VERSION:-release}-cudaimage: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}# extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration# file: hwaccel.ml.yml# service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicablevolumes:
- model-cache:/cacheenv_file:
- .envrestart: alwayshealthcheck:
disable: falseredis:
container_name: immich_redisimage: docker.io/redis:6.2-alpine@sha256:eaba718fecd1196d88533de7ba49bf903ad33664a92debb24660a922ecd9cac8healthcheck:
test: redis-cli ping || exit 1restart: alwaysdatabase:
container_name: immich_postgresimage: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}POSTGRES_USER: ${DB_USERNAME}POSTGRES_DB: ${DB_DATABASE_NAME}POSTGRES_INITDB_ARGS: --data-checksumsvolumes:
# Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
- ${DB_DATA_LOCATION}:/var/lib/postgresql/datahealthcheck:
test: pg_isready --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' ||exit 1; Chksum="$$(psql --dbname='${DB_DATABASE_NAME}'--username='${DB_USERNAME}' --tuples-only --no-align --command='SELECTCOALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')"; echo"checksum failure count is $$Chksum"; [ "$$Chksum" = '0' ] || exit 1interval: 5mstart_interval: 30sstart_period: 5mcommand:
- postgres
- -c
- shared_preload_libraries=vectors.so
- -c
- search_path="$$user", public, vectors
- -c
- logging_collector=on
- -c
- max_wal_size=2GB
- -c
- shared_buffers=512MB
- -c
- wal_compression=onrestart: alwaysvolumes:
model-cache: nullnetworks: {}
Your .env content
UPLOAD_LOCATION=./library
# The location where your database files are stored
DB_DATA_LOCATION=./postgres
# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List# TZ=Etc/UTC# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release
# Connection secret for postgres. You should change it to a random password
DB_PASSWORD=postgres
# The values below this line do not need to be changed###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
Expand Notification Settings > Email and check Enable email notifications
Fill out the form with Gmail SMTP settings as desribed above and press Send test email and save
6. Check 'Network' tab in Chrome Developer Tools to see:
{
"message": "Failed to send test email",
"error": "Internal Server Error",
"statusCode": 500,
"correlationId": "9exfl99w"
}
Check Docker logs for immich-server with docker logs immich_server -f
[Nest] 16 - 01/08/2025, 12:01:02 AM ERROR [Api:ErrorInterceptor~cwmqpafz] Unknown error: TypeError: Cannot read properties of undefined (reading 'languages')
TypeError: Cannot read properties of undefined (reading 'languages')
at /usr/src/app/node_modules/@react-email/render/node_modules/prettier/standalone.js:24:694
at Array.flatMap (<anonymous>)
at it (/usr/src/app/node_modules/@react-email/render/node_modules/prettier/standalone.js:24:681)
at Ai (/usr/src/app/node_modules/@react-email/render/node_modules/prettier/standalone.js:27:12039)
at rr (/usr/src/app/node_modules/@react-email/render/node_modules/prettier/standalone.js:33:273)
at /usr/src/app/node_modules/@react-email/render/node_modules/prettier/standalone.js:35:802
at gu (/usr/src/app/node_modules/@react-email/render/node_modules/prettier/standalone.js:35:871)
at pretty (/usr/src/app/node_modules/@react-email/render/dist/node/index.js:87:39)
at /usr/src/app/node_modules/@react-email/render/dist/node/index.js:163:12
at Generator.next (<anonymous>)
Relevant log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
The bug
My SMTP config in Immich:
Environment: Proxmox 8.3.2 (LXC container running Dockge)
Error logs from immich server when hitting Send test email and save button
The OS that Immich Server is running on
Debian GNU/Linux 12 (bookworm)
Version of Immich Server
v1.124.0
Version of Immich Mobile App
v1.123.0 build.172
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
6. Check 'Network' tab in Chrome Developer Tools to see:
docker logs immich_server -f
Relevant log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: