Cant run face detection job
When i try to run the face detection job, it tries to run the job but it finishes in a couple of seconds with no warnings or errors but when i look at the logs for the immich_microservices container i get the following errors shown in the picture.
Has anyone seen this error?
I have tried changing the port number for in this ENV variable IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3004 but still same issue

12 Replies
Did you use the merge face feature?
There was a bug that was fixed in 1.69

you will need to merge some random faces so that the typesense database would reindexing
Mm no I did not. I saw the merge face feature but the issue is I don't have any face detected for my library that's about 1.2k photos.
I made sure I have the latest server and app version as well as delete and rebuild containers. I don't have any other container using that internal port so not sure why I am seeing this.
I did see some faces before and it stopped working after v1.70.0
I can do some debugging if needed but just thought to post the question in case it was a known issue
Ah wait
You shouldn’t change the port number for ml
I assume your machine learning container is running on port 3003? You probably are just using the wrong port somewhere. Can you post your docker compose and .env file?
I only changed it for testing because this was broken, I have set it back to default since then
Yes here they are
I also included a screenshot of all the containers running alongside immich and its ports.
I do see that for some reason immich_machine_learning has no ports, but i dont remember this ever having exposed ports since I first set immich up but maybe i am wrong
Can you change IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3002 to port 3003?
That is the default value. Looks like it incorrectly got changed to port 3002 and some point.
Oh wait that is supposed to always be 3003 right?
That might be the issue.let me test
You got it, its working now,
Thanks so much

np 🙂