Skip to content

Facial Recognition Jobs Stuck #22180

Description

@haoxi911

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

  • Yes

The bug

Recently, I noticed that the "Facial Recognition" job stuck and won't process the queue. If you restart immich and scan the missing jobs, it will queue the jobs again, process hundreds of them and then stuck again.

See screenshot. On my server, it has been like this for hours, the number wasn't changed.

Image

I tried to view the docker compose logs but it didn't give any error message there. Should we set a timeout for each "Facial Recognition" job and let it fail so that the rest of jobs in the queue can be processed?

I will try to PR if anyone can give any guidance on which part of the code could be the root cause.

The OS that Immich Server is running on

Ubuntu 22.04.5 LTS

Version of Immich Server

v1.136.0

Version of Immich Mobile App

N/A

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

N/A

Your docker-compose.yml content

N/A

Your .env content

N/A

Reproduction steps

Uploading many photos, all other background tasks can finish without error, but "Facial Recognition" stuck.

Relevant log output

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions