Skip to content

Face Clustering Doesn't Schedule Background Jobs Automatically #1052

@ali-essam

Description

@ali-essam

Which version of recognize are you using?

5.0.3

Enabled Modes

Object recognition, Face recognition

TensorFlow mode

Normal mode

Downstream App

Memories App

Which Nextcloud version do you have installed?

27.1.4

Which Operating system do you have installed?

Debian 12

Which database are you running Nextcloud on?

Postgres

Which Docker container are you using to run Nextcloud? (if applicable)

tccr.io/truecharts/nextcloud-fpm:v27.1.4

How much RAM does your server have?

8Gib (Container Memory Limit)

What processor Architecture does your CPU have?

x86_64

Describe the Bug

Face clustering background job doesn't kick in automatically even with 120+ faces left to cluster

Screenshot 2023-12-10 at 9 05 54 AM

However, I had to run

while true; do occ recognize:cluster-faces --batch-size=500; done

For a while to get the initial clustering to work, but after that still new faces don't trigger the background clustering automatically

For context if helpful, I had a conflicting app installed "Suspicious Logins" initially that was preventing the clustering to run correctly, but after I removed it, the CLI is working fine

Expected Behavior

After rescanning all files, recognize should schedule Background Jobs to cluster faces automatically

To Reproduce

  • Rescan files or add photos with faces automatically (120+)
  • Check last clustering time

Debug log

Nothing helpful much in debug logs

  Debug    PHP                Creation of dynamic property OCA\FirstRunWizard\Settings\Personal::$urlGenerator is deprecated at                 2023-12-10T09:53:00+01:00 
                              /var/www/html/apps/firstrunwizard/lib/Settings/Personal.php#40                                                                              

  Debug    PHP                Creation of dynamic property OCA\FirstRunWizard\Settings\Personal::$urlGenerator is deprecated at                 2023-12-10T09:54:10+01:00 
                              /var/www/html/apps/firstrunwizard/lib/Settings/Personal.php#40                                                                              

  Debug    no app in context  3 well known handlers registered                                                                                  2023-12-10T09:54:11+01:00 

  Debug    no app in context  3 well known handlers registered                                                                                  2023-12-10T09:54:11+01:00 

  Debug    no app in context  Deprecated event type for OCP\IDBConnection::CHECK_MISSING_PRIMARY_KEYS:                                          2023-12-10T09:54:11+01:00 
                              Symfony\Component\EventDispatcher\GenericEvent is used                                                                                      

  Debug    cron               Finished OCA\Files\BackgroundJob\DeleteExpiredOpenLocalEditor job with ID 16 in 0 seconds                         2023-12-10T09:55:02+01:00 

  Debug    cron               Run OCA\Files\BackgroundJob\DeleteExpiredOpenLocalEditor job with ID 16                                           2023-12-10T09:55:02+01:00 

  Debug    cron               CLI cron call has selected job with ID 16                                                                         2023-12-10T09:55:02+01:00 

  Debug    cron               CLI cron call has selected job with ID 8                                                                          2023-12-10T09:55:02+01:00 

  Debug    cron               CLI cron call has selected job with ID 6                                                                          2023-12-10T09:55:02+01:00 

  Debug    cron               CLI cron call has selected job with ID 21                                                                         2023-12-10T09:55:02+01:00 

  Debug    cron               CLI cron call has selected job with ID 2088                                                                       2023-12-10T09:55:02+01:00 

  Debug    cron               CLI cron call has selected job with ID 2262                                                                       2023-12-10T09:55:02+01:00 

  Debug    cron               CLI cron call has selected job with ID 26                                                                         2023-12-10T09:55:02+01:00 

  Debug    cron               CLI cron call has selected job with ID 32                                                                         2023-12-10T10:00:04+01:00 

  Debug    cron               CLI cron call has selected job with ID 23                                                                         2023-12-10T10:00:04+01:00 

  Info     admin_audit        Console command executed: preview:pre-generate                                                                    2023-12-10T10:00:04+01:00 

  Debug    cron               Run OCA\Memories\Cron\IndexJob job with ID 50                                                                     2023-12-10T10:00:04+01:00 

  Debug    cron               CLI cron call has selected job with ID 50                                                                         2023-12-10T10:00:04+01:00 

  Debug    cron               CLI cron call has selected job with ID 13                                                                         2023-12-10T10:00:04+01:00 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions