Immich server keeps restarting after upgrade to v1.135.0 #5827

Closed
opened 2026-02-20 04:05:08 -05:00 by deekerman · 3 comments
Owner

Originally created by @tzxmaster on GitHub (Jun 19, 2025).

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

After upgrading from 1.133.1 to 1.135.0 immich won't start anymore.
I am using portainer for deployment and it indicates all contains are healthy and running but immich_server container has ip only while starting but when it is running, no ip and port are shown in portainer.
What I changed while upgrading is the image for immich_postgres to use ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0 as before I had the image registry.hub.docker.com/tensorchord/pgvecto-rs:pg14-v0.2.0

The OS that Immich Server is running on

Debian

Version of Immich Server

v1.135.0

Version of Immich Mobile App

v1.134.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

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
      - type: bind
        source: ${ORIGINALS_NEXTCLOUD_ADI}
        target: /originals
        read_only: true     
    env_file:
      - stack.env
    ports:
      - 2283:2283
    depends_on:
      - redis
      - database
    restart: always
    healthcheck:
      disable: false    

  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
      - type: bind
        source: ${ORIGINALS_NEXTCLOUD_ADI}
        target: /originals
        read_only: true       
    env_file:
      - stack.env
    restart: always
    healthcheck:
      disable: false
      
  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: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      POSTGRES_INITDB_ARGS: '--data-checksums'
    volumes:
      - ${DB_DATA_LOCATION}:/var/lib/postgresql/data
      - type: bind
        source: ${ORIGINALS_NEXTCLOUD_ADI}
        target: /originals
        read_only: true    
    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:

Your .env content

DB_DATA_LOCATION 	/media/data/immich/immich_database
DB_DATABASE_NAME 	immich
DB_PASSWORD 	pass_secret
DB_USERNAME 	postgres
IMMICH_BUILD 	15743106085
IMMICH_BUILD_IMAGE 	v1.135.0
IMMICH_BUILD_IMAGE_URL 	https://github.com/immich-app/immich/pkgs/container/immich-server
IMMICH_BUILD_URL 	https://github.com/immich-app/immich/actions/runs/15743106085
IMMICH_REPOSITORY 	immich-app/immich
IMMICH_REPOSITORY_URL 	https://github.com/immich-app/immich
IMMICH_SOURCE_COMMIT 	65e8d75e82fba6f6c3f75924ceacbf0782144a15
IMMICH_SOURCE_REF 	v1.135.0
IMMICH_SOURCE_URL 	https://github.com/immich-app/immich/commit/65e8d75e82fba6f6c3f75924ceacbf0782144a15
IMMICH_VERSION 	release
LD_LIBRARY_PATH 	/usr/lib/jellyfin-ffmpeg/lib:/usr/lib/wsl/lib:
NODE_ENV 	production
NODE_VERSION 	22.14.0
NVIDIA_DRIVER_CAPABILITIES 	all
NVIDIA_VISIBLE_DEVICES 	all
ORIGINALS_NEXTCLOUD_ADI 	/media/data/nextcloud/adi/files/InstantUpload/Camera
PATH 	/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/src/app/bin
UPLOAD_LOCATION 	/media/data/immich/immich_storage
YARN_VERSION 	1.22.22

Reproduction steps

1.upgrade from 1.133.1 to 1.135.0
2.upgrade postgress to use new image
3.all containers start but web is not working and immich_server container does not have ip/ports
...

Relevant log output


Additional information

No response

Originally created by @tzxmaster on GitHub (Jun 19, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [ ] Yes ### The bug After upgrading from `1.133.1` to `1.135.0` immich won't start anymore. I am using portainer for deployment and it indicates all contains are healthy and running but immich_server container has ip only while starting but when it is running, no ip and port are shown in portainer. What I changed while upgrading is the image for immich_postgres to use `ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0` as before I had the image `registry.hub.docker.com/tensorchord/pgvecto-rs:pg14-v0.2.0` ### The OS that Immich Server is running on Debian ### Version of Immich Server v1.135.0 ### Version of Immich Mobile App v1.134.0 ### Platform with the issue - [x] Server - [ ] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML 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 - type: bind source: ${ORIGINALS_NEXTCLOUD_ADI} target: /originals read_only: true env_file: - stack.env ports: - 2283:2283 depends_on: - redis - database restart: always healthcheck: disable: false 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 - type: bind source: ${ORIGINALS_NEXTCLOUD_ADI} target: /originals read_only: true env_file: - stack.env restart: always healthcheck: disable: false 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: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0 environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_INITDB_ARGS: '--data-checksums' volumes: - ${DB_DATA_LOCATION}:/var/lib/postgresql/data - type: bind source: ${ORIGINALS_NEXTCLOUD_ADI} target: /originals read_only: true 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: ``` ### Your .env content ```Shell DB_DATA_LOCATION /media/data/immich/immich_database DB_DATABASE_NAME immich DB_PASSWORD pass_secret DB_USERNAME postgres IMMICH_BUILD 15743106085 IMMICH_BUILD_IMAGE v1.135.0 IMMICH_BUILD_IMAGE_URL https://github.com/immich-app/immich/pkgs/container/immich-server IMMICH_BUILD_URL https://github.com/immich-app/immich/actions/runs/15743106085 IMMICH_REPOSITORY immich-app/immich IMMICH_REPOSITORY_URL https://github.com/immich-app/immich IMMICH_SOURCE_COMMIT 65e8d75e82fba6f6c3f75924ceacbf0782144a15 IMMICH_SOURCE_REF v1.135.0 IMMICH_SOURCE_URL https://github.com/immich-app/immich/commit/65e8d75e82fba6f6c3f75924ceacbf0782144a15 IMMICH_VERSION release LD_LIBRARY_PATH /usr/lib/jellyfin-ffmpeg/lib:/usr/lib/wsl/lib: NODE_ENV production NODE_VERSION 22.14.0 NVIDIA_DRIVER_CAPABILITIES all NVIDIA_VISIBLE_DEVICES all ORIGINALS_NEXTCLOUD_ADI /media/data/nextcloud/adi/files/InstantUpload/Camera PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/src/app/bin UPLOAD_LOCATION /media/data/immich/immich_storage YARN_VERSION 1.22.22 ``` ### Reproduction steps 1.upgrade from 1.133.1 to 1.135.0 2.upgrade postgress to use new image 3.all containers start but web is not working and immich_server container does not have ip/ports ... ### Relevant log output ```shell ``` ### Additional information _No response_
Author
Owner

@tzxmaster commented on GitHub (Jun 19, 2025):

I've also tried version v1.134.0 and still won't work.

I've reverted postgress to this image and and works normally now: registry.hub.docker.com/tensorchord/pgvecto-rs:pg14-v0.2.0

@tzxmaster commented on GitHub (Jun 19, 2025): I've also tried version v1.134.0 and still won't work. I've reverted postgress to this image and and works normally now: `registry.hub.docker.com/tensorchord/pgvecto-rs:pg14-v0.2.0`
Author
Owner

@bo0tzz commented on GitHub (Jun 19, 2025):

Please read the breaking changes release notes carefully, you didn't remove the command line from the postgres container.

@bo0tzz commented on GitHub (Jun 19, 2025): Please read the breaking changes release notes carefully, you didn't remove the `command` line from the postgres container.
Author
Owner

@tzxmaster commented on GitHub (Jun 19, 2025):

Thank you !

Due to text format I thought only the healthcheck was removed.
After removing the command as you suggested, it worked flawlessly

@tzxmaster commented on GitHub (Jun 19, 2025): Thank you ! Due to text format I thought only the healthcheck was removed. After removing the command as you suggested, it worked flawlessly
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/immich#5827
No description provided.