[Solved] Face rocognation cron job no more working

Hello

Using Nextcloud 30.0.5 / Face 0.9.60
It use to works fine, but since some weeks I had the feeling it does not analyse anymore the new picures…

Launching :
sudo -u www-data php /var/www/nextcloud/occ face:stats -u user1
gives :

+------+--------+-----------+-------+----------+---------+
| User | Images | Processed | Faces | Clusters | Persons |
+------+--------+-----------+-------+----------+---------+
| user1 | 24186  | 24186     | 29377 | 23707    | 116     |
+------+--------+-----------+-------+----------+---------+

But if I count the files in the Picture directory :

find . -type f | wc -l
29366

I try also the manual update with :

sudo -u www-data php /var/www/nextcloud/occ face:background_job -u user1
1/8 - Executing task CheckRequirementsTask (Check all requirements)
2/8 - Executing task CheckCronTask (Check that service is started from either cron or from command)
3/8 - Executing task DisabledUserRemovalTask (Purge all the information of a user when disable the analysis.)
4/8 - Executing task StaleImagesRemovalTask (Crawl for stale images (either missing in filesystem or under .nomedia) and remove them from DB)
5/8 - Executing task CreateClustersTask (Create new persons or update existing persons)
	Clusters already exist, estimated there is no need to recreate them
6/8 - Executing task AddMissingImagesTask (Crawl for missing images for each user and insert them in DB)
7/8 - Executing task EnumerateImagesMissingFacesTask (Find all images which don't have faces generated for them)
8/8 - Executing task ImageProcessingTask (Process all images to extract faces)

The step 7 seem’s not finding the new pictures…

I have try also a :
sudo -u www-data php /var/www/nextcloud/occ files:scan user1 -p user1/files/
but all files a referenced in the CN database (And I can see them in the web interface…

Any idea how to force face recognation to chek the new pictures?

Thanks

Maybe someone has an idea to get either log error ? or to go further in the analysis of my p^roblem?

FYI, you (or someone else) tagged this as recognize-app, but it’s actually about the face-recognition app.

Indeed I tag it as a generic “recognize app” because the tag “face-recognition” does not exist :slight_smile:

Hello
Did not any change except upgrading NC to 31.0.2
Maybe the occ command after upgrading that have clean something?

occ maintenance:repair --include-expensive

or

occ db:add-missing-indices

=> But the greet new is that Facerecognation has start again to analyse the new picture!

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.