plasma
IImmich
•Created by plasma on 3/31/2025 in #help-desk-support
Machine learning container start.sh failed
In portainer I had already
'python' '-m' 'immich_ml'
in. I changed it to 'python -m immich_ml'
-> the container is now healthy
Thanks for the help!
But my Immich-SERVER can't reach the ML container still:
[Nest] 6 - 04/02/2025, 5:14:41 PM WARN [Microservices:MachineLearningRepository] Machine learning request to "http://immich-machine-learning:3003" failed: fetch failed
[Nest] 6 - 04/02/2025, 5:14:41 PM ERROR [Microservices:{"id":"8f6ef92f-8a95-4897-b337-c9121656093b"}] Unable to run job handler (smartSearch/smart-search): Error: Machine learning request '{"clip":{"visual":{"modelName":"ViT-B-32__openai"}}}' failed for all URLs
101 replies
IImmich
•Created by plasma on 3/31/2025 in #help-desk-support
Machine learning container start.sh failed
The full lines:
[Nest] 8 - 04/01/2025, 12:12:50 AM WARN [Microservices:MachineLearningRepository] Machine learning request to "http://immich-machine-learning:3003" failed: fetch failed
[Nest] 8 - 04/01/2025, 12:12:50 AM ERROR [Microservices:{"id":"241293c4-0dc0-48d4-8681-522d67143b06"}] Unable to run job handler (smartSearch/smart-search): Error: Machine learning request '{"clip":{"visual":{"modelName":"ViT-B-32__openai"}}}' failed for all URLs
101 replies
IImmich
•Created by plasma on 3/31/2025 in #help-desk-support
Machine learning container start.sh failed
101 replies
IImmich
•Created by plasma on 3/31/2025 in #help-desk-support
Machine learning container start.sh failed
Alright. That's good and not good 🫣
In the ML container the log tells me the following:
[03/31/25 22:09:02] INFO Starting gunicorn 23.0.0
[03/31/25 22:09:02] INFO Listening at: http://[::]:3003 (8)
[03/31/25 22:09:02] INFO Using worker: immich_ml.config.CustomUvicornWorker [03/31/25 22:09:02] INFO Booting worker with pid: 9
[03/31/25 22:09:06] INFO Started server process [9]
[03/31/25 22:09:06] INFO Waiting for application startup.
[03/31/25 22:09:06] INFO Created in-memory cache with unloading after 300s of inactivity.
[03/31/25 22:09:06] INFO Initialized request thread pool with 4 threads.
[03/31/25 22:09:06] INFO Application startup complete.
[03/31/25 22:09:02] INFO Listening at: http://[::]:3003 (8)
[03/31/25 22:09:02] INFO Using worker: immich_ml.config.CustomUvicornWorker [03/31/25 22:09:02] INFO Booting worker with pid: 9
[03/31/25 22:09:06] INFO Started server process [9]
[03/31/25 22:09:06] INFO Waiting for application startup.
[03/31/25 22:09:06] INFO Created in-memory cache with unloading after 300s of inactivity.
[03/31/25 22:09:06] INFO Initialized request thread pool with 4 threads.
[03/31/25 22:09:06] INFO Application startup complete.
101 replies
IImmich
•Created by plasma on 3/31/2025 in #help-desk-support
Machine learning container start.sh failed
I did it like that. Removed the ML container, deleted the image and cache, repulled the image and created the container new.
The container now starts but is 'unhealthy'. The Immich-SERVER doesn't seem to reach it (fetch failed).
101 replies
IImmich
•Created by plasma on 3/31/2025 in #help-desk-support
Machine learning container start.sh failed
I recreated all of the four containers with the option "re-pull image".
But the ML container still refuses to start with the same log lines like above.
101 replies
IImmich
•Created by plasma on 3/31/2025 in #help-desk-support
Machine learning container start.sh failed
101 replies
IImmich
•Created by plasma on 3/31/2025 in #help-desk-support
Machine learning container start.sh failed
I guess from the instructions that I followed (mariushosting.com)
101 replies
IImmich
•Created by plasma on 3/31/2025 in #help-desk-support
Machine learning container start.sh failed
How come? I started with v1.124
I don't see any breaking changes afterwards.
101 replies