-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stopped checking photos #652
Comments
my face recognition stopped too, but object recognition still working. It happened after a memory exceeding 512M error, probably caused by lacking APCu enable in php.ini I'm not sure. I tried disabling classification and re-enable it. Last time I disable the whole plugin and re-enable it seems to work. |
I had the same problem, but running occ recognize:classify after reinstalling the app fixed it for me. |
I've narrowed this issue down to Classifier.php (at least for me) . Seemingly if there's a failure within the Classifier.php at certain points, the face classifier que will not progress anymore. Specifically I had issues with getImageSize() (line 93) and getImagePreview() (line 241) causing uncaught errors. Still, I think such errors shouldn't permanently halt the que which, I think, is the main issue at hand here. |
@ER-EPR / @m1n3nfux does re-enabling / reinstalling makes the process start from scratch, or does it pick-up where it left off? |
If you do not delete the classify cron jobs in the database, it will star where it stoped. But, if the file which caused the process to stop still exist in the jobs, probably it will stop again. You need to resolve the errors in the log first.
…-------- 原始邮件 --------
发件人: Mirek ***@***.***>
日期: 2023年2月2日周四 10:25
收件人: nextcloud/recognize ***@***.***>
抄送: ER-EPR ***@***.***>, Mention ***@***.***>
主 题: Re: [nextcloud/recognize] Stopped checking photos (Issue #652)
@ER-EPR<https://github.com/ER-EPR> / @m1n3nfux<https://github.com/m1n3nfux> does re-enabling / reinstalling makes the process start from scratch, or does it pick-up where it left off?
—
Reply to this email directly, view it on GitHub<#652 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJH4OEO6RSNX7GQAQQ45YB3WVMLJLANCNFSM6AAAAAAUECIP5M>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
How can I access the recognize logs? I don't see anything from it in the global |
After a cron job raises an uncaught exception, Nextcloud will pause it for 12h, but it should restart itself automatically after that. I'll try to catch those errors. |
I remember it reprocessing every file. In the settings panel it always said "Last classification: x seconds ago" for Object recognition, but it did not add any tags for like a day. It seems like it does not check for the "Tagged by recognize v3.0.0" Tag. Though the behaviour can have other reasons too, i'm just guessing. |
the classify and recrawl commands are rather dumb, indeed. |
FWIW, filtering out 0 byte files helped some but, still, corrupt files will cause an uncaught exception. My naïve attempt at catching with "\Exception" didn't help. |
@MB-Finski What's the error stack? |
This is the one for a corrupt JPEG. I'm using NextcloudPi just because they have a ready-made script for setting up an LXC. It's possible that their bundled version of preview generator plays a role in my case..? |
Closing this for now as the surface issue was fixed. If this comes up again, let me know. |
Which version of recognize are you using?
3.3.6
Enabled Modes
Face recognition
TensorFlow mode
Normal mode
Which Nextcloud version do you have installed?
25.0.3.2
Which Operating system do you have installed?
Ubuntu server 22.04
Which Docker container are you using to run Nextcloud? (if applicable)
How much RAM does your server have?
4
What processor Architecture does your CPU have?
x86_64
Describe the Bug
Stopped processing photos
Expected Behavior
I expected the process to go on as from the beginning
To Reproduce
Didn't seem to do anything out of the ordinary, just stopped checking, waiting for some kind of line. Tried running it through
occ recognize:recrawl
but nothing happenedDebug log
<?php $CONFIG = array ( 'instanceid' => '*secret*', 'passwordsalt' => '*secret*', 'secret' => '*secret*', 'trusted_domains' => array ( 0 => '192.168.0.201', ), 'datadirectory' => '/nextcloud/data/', 'dbtype' => 'mysql', 'version' => '25.0.3.2', 'overwrite.cli.url' => 'http://192.168.0.201', 'dbname' => 'nextcloud', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'nextclouduser', 'dbpassword' => '*secret*', 'installed' => true, 'app_install_overwrite' => array ( 0 => 'occweb', ), 'maintenance' => false, );
The text was updated successfully, but these errors were encountered: