Healthcheck issue with Machine Learning container #5732

Closed
opened 2026-02-05 11:41:59 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @zaggash on GitHub (Apr 1, 2025).

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

  • Yes

The bug

Since the new release 1.131.0, the healthcheck is failling.

docker inspect immich_machine_learning | grep heal
                "Status": "unhealthy",
                        "Output": "python3: can't open file '/usr/src/healthcheck.py': [Errno 2] No such file or directory\n"
                        "Output": "python3: can't open file '/usr/src/healthcheck.py': [Errno 2] No such file or directory\n"
                        "Output": "python3: can't open file '/usr/src/healthcheck.py': [Errno 2] No such file or directory\n"
                        "Output": "python3: can't open file '/usr/src/healthcheck.py': [Errno 2] No such file or directory\n"
                        "Output": "python3: can't open file '/usr/src/healthcheck.py': [Errno 2] No such file or directory\n"

The OS that Immich Server is running on

Debian 12 (bookworm)

Version of Immich Server

1.131.1

Version of Immich Mobile App

1.130.3

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

N/A

Your .env content

N/A

Reproduction steps

Start the stack and check the healthcheck from the ML container

Relevant log output

python3: can't open file '/usr/src/healthcheck.py

Additional information

No response

Originally created by @zaggash on GitHub (Apr 1, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug Since the new release 1.131.0, the healthcheck is failling. ``` docker inspect immich_machine_learning | grep heal "Status": "unhealthy", "Output": "python3: can't open file '/usr/src/healthcheck.py': [Errno 2] No such file or directory\n" "Output": "python3: can't open file '/usr/src/healthcheck.py': [Errno 2] No such file or directory\n" "Output": "python3: can't open file '/usr/src/healthcheck.py': [Errno 2] No such file or directory\n" "Output": "python3: can't open file '/usr/src/healthcheck.py': [Errno 2] No such file or directory\n" "Output": "python3: can't open file '/usr/src/healthcheck.py': [Errno 2] No such file or directory\n" ``` ### The OS that Immich Server is running on Debian 12 (bookworm) ### Version of Immich Server 1.131.1 ### Version of Immich Mobile App 1.130.3 ### Platform with the issue - [x] Server - [ ] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML N/A ``` ### Your .env content ```Shell N/A ``` ### Reproduction steps Start the stack and check the healthcheck from the ML container ### Relevant log output ```shell python3: can't open file '/usr/src/healthcheck.py ``` ### Additional information _No response_
Author
Owner

@zaggash commented on GitHub (Apr 1, 2025):

Duplicate of https://github.com/immich-app/immich/issues/17272 opened at the same time

@zaggash commented on GitHub (Apr 1, 2025): Duplicate of https://github.com/immich-app/immich/issues/17272 opened at the same time
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#5732