Reset clustering takes hours and seems to be stuck
I try tuning the parameters to reduce false positives in a person cluster. So I wanted to reset the clustering to recluster with new parameters after that.
The command I used: occ face:reset --clustering
But it hangs for hours now, there was a back question if i am sure but after that nithing else happened.
Can I recluster without resetting?
Thanks for your help!
At the moment you cannot recluster without resetting.
Two Options...
Option 1: For testing create a user with a few pictures. Reset only this user. with occ:face:reset -u [uid] < i think it was so. I cannot check it at the moment. Then recluster
Option2: Let do the recluster in the original background-job. occ:face:backgroundjob -t 900 (or what you want in seconds) and run this job as much as needed in your crontab.
So when I change parameters the backgroundjob reclusters automatically? Or how is option 2 ment?
The normal way is to use a cronjob to cluster your faces. On Debian-Based Systems use
sudo -u www-data crontab -e
There u can add the line like
*/30 * * * * php -f /var/www/nextcloud/occ face:background_job -t 900
The result is that every 30 Minutes the Crontab executes the background-taks for 15 Minutes so often until all faces are reclusterd. you must edit the path to your nextcloud-directory. If you use Docker you must do this in the container.