Unable to connect to immich_server after updating to 1.135.1 from 1.34.0
I updated to 1.135.1 like normal, but it seems to have broken something on the immich_server container. Other Immich containers show up as healthy in Portainer, but immich_server specifially says unhealthy. Any ideas?
Log output
docker-compose:
Don't have space for env here, but let me know if you need other info.
Container health
Status unhealthy
Failure count 11
Last output curl: (7) Failed to connect to localhost port 2283 after 0 ms: Couldn't connect to server Fail: exit code is 7Container health
Status unhealthy
Failure count 11
Last output curl: (7) Failed to connect to localhost port 2283 after 0 ms: Couldn't connect to server Fail: exit code is 7Log output
2025-06-19T18:46:01.527186403Z Initializing Immich v1.135.1
2025-06-19T18:46:02.052040685Z Detected CPU Cores: 4
2025-06-19T18:46:09.366550993Z Starting api worker
2025-06-19T18:46:09.376385961Z Starting microservices worker
2025-06-19T18:46:13.705303757Z [Nest] 7 - 06/19/2025, 6:46:13 PM LOG [Microservices:EventRepository] Initialized websocket server
2025-06-19T18:46:13.895455313Z [Nest] 7 - 06/19/2025, 6:46:13 PM LOG [Microservices:DatabaseRepository] Running migrations, this may take a while
2025-06-19T18:46:15.028051597Z [Nest] 19 - 06/19/2025, 6:46:15 PM LOG [Api:EventRepository] Initialized websocket server2025-06-19T18:46:01.527186403Z Initializing Immich v1.135.1
2025-06-19T18:46:02.052040685Z Detected CPU Cores: 4
2025-06-19T18:46:09.366550993Z Starting api worker
2025-06-19T18:46:09.376385961Z Starting microservices worker
2025-06-19T18:46:13.705303757Z [Nest] 7 - 06/19/2025, 6:46:13 PM LOG [Microservices:EventRepository] Initialized websocket server
2025-06-19T18:46:13.895455313Z [Nest] 7 - 06/19/2025, 6:46:13 PM LOG [Microservices:DatabaseRepository] Running migrations, this may take a while
2025-06-19T18:46:15.028051597Z [Nest] 19 - 06/19/2025, 6:46:15 PM LOG [Api:EventRepository] Initialized websocket serverdocker-compose:
#
# WARNING: Make sure to use the docker-compose.yml of the current release:
#
# https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
#
# The compose file on main may not be compatible with the latest release.
#
name: immich
services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
ports:
- 2283:2283
depends_on:
- redis
- database
restart: always
immich-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}-cuda
image: 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 applicable
volumes:
- model-cache:/cache
env_file:
- .env
restart: always
redis:
container_name: immich_redis
image: registry.hub.docker.com/library/redis:6.2-alpine@sha256:84882e87b54734154586e5f8abd4dce69fe7311315e2fc6d67c29614c8de2672
restart: always
database:
container_name: immich_postgres
image: registry.hub.docker.com/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
POSTGRES_INITDB_ARGS: '--data-checksums'
# Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
# DB_STORAGE_TYPE: 'HDD'
volumes:
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
restart: always
command: ["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=on"]
volumes:
model-cache:#
# WARNING: Make sure to use the docker-compose.yml of the current release:
#
# https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
#
# The compose file on main may not be compatible with the latest release.
#
name: immich
services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
ports:
- 2283:2283
depends_on:
- redis
- database
restart: always
immich-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}-cuda
image: 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 applicable
volumes:
- model-cache:/cache
env_file:
- .env
restart: always
redis:
container_name: immich_redis
image: registry.hub.docker.com/library/redis:6.2-alpine@sha256:84882e87b54734154586e5f8abd4dce69fe7311315e2fc6d67c29614c8de2672
restart: always
database:
container_name: immich_postgres
image: registry.hub.docker.com/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
POSTGRES_INITDB_ARGS: '--data-checksums'
# Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
# DB_STORAGE_TYPE: 'HDD'
volumes:
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
restart: always
command: ["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=on"]
volumes:
model-cache:Don't have space for env here, but let me know if you need other info.