I
Immich2y ago
Jdev

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
No description
12 Replies
Alex Tran
Alex Tran2y ago
Did you use the merge face feature?
Alex Tran
Alex Tran2y ago
There was a bug that was fixed in 1.69
No description
Alex Tran
Alex Tran2y ago
you will need to merge some random faces so that the typesense database would reindexing
Jdev
JdevOP2y ago
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
Alex Tran
Alex Tran2y ago
Ah wait You shouldn’t change the port number for ml
jrasm91
jrasm912y ago
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?
Jdev
JdevOP2y ago
I only changed it for testing because this was broken, I have set it back to default since then
Jdev
JdevOP2y ago
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
jrasm91
jrasm912y ago
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.
Jdev
JdevOP2y ago
Oh wait that is supposed to always be 3003 right? That might be the issue.let me test
Jdev
JdevOP2y ago
You got it, its working now, Thanks so much
No description
jrasm91
jrasm912y ago
np 🙂

Did you find this page helpful?