Upgrade to 1.98.1 exited with code 0 #2493

Closed
opened 2026-02-05 06:08:03 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @aviv926 on GitHub (Mar 10, 2024).

The bug

I tried to update Immich to version 1.98.1 and encountered problems with the immich_server and immich_microservices services

immich_microservices exited with code 0
immich_server exited with code 0

Before that in version 1.98.0 everything worked fine and it continues to work fine when I return it to this version.

I tried to perform docker compose down and up several times and every time the same error appears.

This server does not contain anything heavy or unusual, it is 100% a test server running on Windows
with latest Docker Desktop 4.28.0 (139021).

I tried to find a similar problem but without success

The OS that Immich Server is running on

Win 10 Pro with Docker

Version of Immich Server

1.98.1

Version of Immich Mobile App

1.98.1

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

100% Default

Your .env content

100% Default

Reproduction steps

1. Use Windows with Docker
2. Update to 1.98.1

Additional information

PS D:\Immich> docker compose down
[+] Running 6/6
 ✔ Container immich_machine_learning  Removed                                                                          0.0s
 ✔ Container immich_microservices     Removed                                                                          0.0s
 ✔ Container immich_server            Removed                                                                          0.0s
 ✔ Container immich_postgres          Removed                                                                          0.0s
 ✔ Container immich_redis             Removed                                                                          0.0s
 ✔ Network immich_default             Removed                                                                          0.2s
PS D:\Immich> docker compose pull
[+] Pulling 5/5
 ✔ immich-microservices Skipped - Image is already being pulled by immich-server                                       0.0s
 ✔ immich-machine-learning Pulled                                                                                      1.3s
 ✔ redis Pulled                                                                                                        0.8s
 ✔ database Pulled                                                                                                     0.8s
 ✔ immich-server Pulled                                                                                                1.3s
PS D:\Immich> docker compose up
[+] Running 6/6
 ✔ Network immich_default             Created                                                                          0.0s
 ✔ Container immich_redis             Created                                                                          0.1s
 ✔ Container immich_machine_learning  Created                                                                          0.1s
 ✔ Container immich_postgres          Created                                                                          0.1s
 ✔ Container immich_microservices     Created                                                                          0.1s
 ✔ Container immich_server            Created                                                                          0.1s
Attaching to immich_machine_learning, immich_microservices, immich_postgres, immich_redis, immich_server
immich_postgres          |
immich_postgres          | PostgreSQL Database directory appears to contain a database; Skipping initialization
immich_postgres          |
immich_redis             | 1:C 09 Mar 2024 23:34:55.186 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
immich_redis             | 1:C 09 Mar 2024 23:34:55.186 # Redis version=6.2.14, bits=64, commit=00000000, modified=0, pid=1, just started
immich_redis             | 1:C 09 Mar 2024 23:34:55.186 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
immich_redis             | 1:M 09 Mar 2024 23:34:55.187 * monotonic clock: POSIX clock_gettime
immich_redis             | 1:M 09 Mar 2024 23:34:55.187 * Running mode=standalone, port=6379.
immich_redis             | 1:M 09 Mar 2024 23:34:55.187 # Server initialized
immich_postgres          | 2024-03-09 23:34:55.193 UTC [1] LOG:  starting PostgreSQL 14.10 (Debian 14.10-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
immich_postgres          | 2024-03-09 23:34:55.193 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
immich_postgres          | 2024-03-09 23:34:55.193 UTC [1] LOG:  listening on IPv6 address "::", port 5432
immich_redis             | 1:M 09 Mar 2024 23:34:55.187 * Ready to accept connections
immich_postgres          | 2024-03-09 23:34:55.204 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
immich_postgres          | 2024-03-09 23:34:55.211 UTC [26] LOG:  database system was shut down at 2024-03-09 23:34:42 UTC
immich_postgres          | [2024-03-09T23:34:55Z INFO  service::utils::clean] Find directory "pg_vectors/indexes/17337".
immich_postgres          | [2024-03-09T23:34:55Z INFO  service::utils::clean] Find directory "pg_vectors/indexes/34161".
immich_postgres          | [2024-03-09T23:34:55Z INFO  service::utils::clean] Find directory "pg_vectors/indexes/17337/segments/9c038fa0-b16d-41fa-85f5-f9e5ee8f2d89".
immich_postgres          | [2024-03-09T23:34:55Z INFO  service::utils::clean] Find directory "pg_vectors/indexes/34161/segments/fc0ff575-0996-40a8-95dd-27c63272a8a0".
immich_postgres          | 2024-03-09 23:34:55.226 UTC [1] LOG:  database system is ready to accept connections
immich_machine_learning  | [03/09/24 23:34:56] INFO     Starting gunicorn 21.2.0
immich_machine_learning  | [03/09/24 23:34:56] INFO     Listening at: http://0.0.0.0:3003 (9)
immich_machine_learning  | [03/09/24 23:34:56] INFO     Using worker: app.config.CustomUvicornWorker
immich_machine_learning  | [03/09/24 23:34:56] INFO     Booting worker with pid: 21
immich_server exited with code 0
immich_microservices exited with code 0
immich_microservices exited with code 0
immich_machine_learning  | [03/09/24 23:35:00] INFO     Started server process [21]
immich_machine_learning  | [03/09/24 23:35:00] INFO     Waiting for application startup.
immich_machine_learning  | [03/09/24 23:35:00] INFO     Created in-memory cache with unloading after 300s
immich_machine_learning  |                              of inactivity.
immich_machine_learning  | [03/09/24 23:35:00] INFO     Initialized request thread pool with 12 threads.
immich_machine_learning  | [03/09/24 23:35:00] INFO     Application startup complete.
immich_server exited with code 0
immich_server exited with code 0
immich_microservices exited with code 0
immich_server exited with code 0
immich_microservices exited with code 0
immich_server exited with code 0
immich_microservices exited with code 0
Gracefully stopping... (press Ctrl+C again to force)
[+] Stopping 5/5
 ✔ Container immich_machine_learning  Stopped                                                                          1.0s
 ✔ Container immich_server            Stopped                                                                          0.0s
 ✔ Container immich_microservices     Stopped                                                                          0.0s
 ✔ Container immich_redis             Stopped                                                                          1.1s
 ✔ Container immich_postgres          Stopped                                                                          0.9s
Originally created by @aviv926 on GitHub (Mar 10, 2024). ### The bug I tried to update Immich to version 1.98.1 and encountered problems with the immich_server and immich_microservices services `immich_microservices exited with code 0` `immich_server exited with code 0` Before that in version 1.98.0 everything worked fine and it continues to work fine when I return it to this version. I tried to perform docker compose down and up several times and every time the same error appears. This server does not contain anything heavy or unusual, it is 100% a test server running on Windows with latest Docker Desktop 4.28.0 (139021). I tried to find a similar problem but without success ### The OS that Immich Server is running on Win 10 Pro with Docker ### Version of Immich Server 1.98.1 ### Version of Immich Mobile App 1.98.1 ### Platform with the issue - [X] Server - [ ] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML 100% Default ``` ### Your .env content ```Shell 100% Default ``` ### Reproduction steps ```bash 1. Use Windows with Docker 2. Update to 1.98.1 ``` ### Additional information ``` PS D:\Immich> docker compose down [+] Running 6/6 ✔ Container immich_machine_learning Removed 0.0s ✔ Container immich_microservices Removed 0.0s ✔ Container immich_server Removed 0.0s ✔ Container immich_postgres Removed 0.0s ✔ Container immich_redis Removed 0.0s ✔ Network immich_default Removed 0.2s PS D:\Immich> docker compose pull [+] Pulling 5/5 ✔ immich-microservices Skipped - Image is already being pulled by immich-server 0.0s ✔ immich-machine-learning Pulled 1.3s ✔ redis Pulled 0.8s ✔ database Pulled 0.8s ✔ immich-server Pulled 1.3s PS D:\Immich> docker compose up [+] Running 6/6 ✔ Network immich_default Created 0.0s ✔ Container immich_redis Created 0.1s ✔ Container immich_machine_learning Created 0.1s ✔ Container immich_postgres Created 0.1s ✔ Container immich_microservices Created 0.1s ✔ Container immich_server Created 0.1s Attaching to immich_machine_learning, immich_microservices, immich_postgres, immich_redis, immich_server immich_postgres | immich_postgres | PostgreSQL Database directory appears to contain a database; Skipping initialization immich_postgres | immich_redis | 1:C 09 Mar 2024 23:34:55.186 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo immich_redis | 1:C 09 Mar 2024 23:34:55.186 # Redis version=6.2.14, bits=64, commit=00000000, modified=0, pid=1, just started immich_redis | 1:C 09 Mar 2024 23:34:55.186 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf immich_redis | 1:M 09 Mar 2024 23:34:55.187 * monotonic clock: POSIX clock_gettime immich_redis | 1:M 09 Mar 2024 23:34:55.187 * Running mode=standalone, port=6379. immich_redis | 1:M 09 Mar 2024 23:34:55.187 # Server initialized immich_postgres | 2024-03-09 23:34:55.193 UTC [1] LOG: starting PostgreSQL 14.10 (Debian 14.10-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit immich_postgres | 2024-03-09 23:34:55.193 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 immich_postgres | 2024-03-09 23:34:55.193 UTC [1] LOG: listening on IPv6 address "::", port 5432 immich_redis | 1:M 09 Mar 2024 23:34:55.187 * Ready to accept connections immich_postgres | 2024-03-09 23:34:55.204 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" immich_postgres | 2024-03-09 23:34:55.211 UTC [26] LOG: database system was shut down at 2024-03-09 23:34:42 UTC immich_postgres | [2024-03-09T23:34:55Z INFO service::utils::clean] Find directory "pg_vectors/indexes/17337". immich_postgres | [2024-03-09T23:34:55Z INFO service::utils::clean] Find directory "pg_vectors/indexes/34161". immich_postgres | [2024-03-09T23:34:55Z INFO service::utils::clean] Find directory "pg_vectors/indexes/17337/segments/9c038fa0-b16d-41fa-85f5-f9e5ee8f2d89". immich_postgres | [2024-03-09T23:34:55Z INFO service::utils::clean] Find directory "pg_vectors/indexes/34161/segments/fc0ff575-0996-40a8-95dd-27c63272a8a0". immich_postgres | 2024-03-09 23:34:55.226 UTC [1] LOG: database system is ready to accept connections immich_machine_learning | [03/09/24 23:34:56] INFO Starting gunicorn 21.2.0 immich_machine_learning | [03/09/24 23:34:56] INFO Listening at: http://0.0.0.0:3003 (9) immich_machine_learning | [03/09/24 23:34:56] INFO Using worker: app.config.CustomUvicornWorker immich_machine_learning | [03/09/24 23:34:56] INFO Booting worker with pid: 21 immich_server exited with code 0 immich_microservices exited with code 0 immich_microservices exited with code 0 immich_machine_learning | [03/09/24 23:35:00] INFO Started server process [21] immich_machine_learning | [03/09/24 23:35:00] INFO Waiting for application startup. immich_machine_learning | [03/09/24 23:35:00] INFO Created in-memory cache with unloading after 300s immich_machine_learning | of inactivity. immich_machine_learning | [03/09/24 23:35:00] INFO Initialized request thread pool with 12 threads. immich_machine_learning | [03/09/24 23:35:00] INFO Application startup complete. immich_server exited with code 0 immich_server exited with code 0 immich_microservices exited with code 0 immich_server exited with code 0 immich_microservices exited with code 0 immich_server exited with code 0 immich_microservices exited with code 0 Gracefully stopping... (press Ctrl+C again to force) [+] Stopping 5/5 ✔ Container immich_machine_learning Stopped 1.0s ✔ Container immich_server Stopped 0.0s ✔ Container immich_microservices Stopped 0.0s ✔ Container immich_redis Stopped 1.1s ✔ Container immich_postgres Stopped 0.9s ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#2493