Skip to content
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

Newly added files are not classified #495

Closed
fa0311 opened this issue Nov 14, 2022 · 5 comments
Closed

Newly added files are not classified #495

fa0311 opened this issue Nov 14, 2022 · 5 comments

Comments

@fa0311
Copy link
Contributor

fa0311 commented Nov 14, 2022

Describe the bug
Files added after the StorageCrawlJob has finished are not added to the queue.

To Reproduce

Expected behavior

Recognize (please complete the following information):

Server (please complete the following information):

Additional context
The result of the SELECT COUNT(*) FROM oc_jobs WHERE class LIKE '%Recognize%'; run is 0.
Is there a way to automatically add them to the queue without running occ recognize:recrawl?

@marcelklehr
Copy link
Member

There is a file listener that should add them to the queue: https://github.com/nextcloud/recognize/blob/master/lib/Hooks/FileListener.php#L97

@fa0311
Copy link
Contributor Author

fa0311 commented Nov 15, 2022

This is a server bug and is therefore closed.
nextcloud/server#34958

@fa0311 fa0311 closed this as completed Nov 15, 2022
@fa0311
Copy link
Contributor Author

fa0311 commented Nov 15, 2022

https://github.com/nextcloud/recognize/blob/master/lib/Hooks/FileListener.php#L97

Not directly related to this Issues, but does this exclude .nomedia?

@marcelklehr
Copy link
Member

Not directly related to this Issues, but does this exclude .nomedia?

Good point! It does not currently.

@marcelklehr
Copy link
Member

see #497

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants