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

fulltextsearch:live does not find and index new files on external storages #566

Open
jacotec opened this issue Feb 28, 2020 · 4 comments
Open

Comments

@jacotec
Copy link

jacotec commented Feb 28, 2020

I have a couple of folders connected via davfs2 to my Nextcloud VM, so they are mounted to the filesystem, i.e. "/opt/Alfresco".

These mounts are configured in Nextcloud as external storage, type "local".

Running a "fulltextsearch: index" crawls them all and the full text search works as expected. I'm then running "fulltextsearch:live" as a system service, this is confirmed working and running.

But when new files are added to one of these external storages, Nextcloud finds and scans them with the cron job, but the running fulltextsearch:live never processes and indexes them. These files are never found in any search.

When stopping the fulltextsearch:live and perfoming an "occ fulltextsearch:index", it'll immediately find and index all the missing files on the external storages.

@trendzetter
Copy link

This appears to be a duplicate of #546

@lhurt
Copy link

lhurt commented Mar 7, 2020

Also a duplicate of #301

@jacotec
Copy link
Author

jacotec commented Mar 11, 2020

No, it's different!
These issues are mentioning that the fulltextsearch does not work at all or does not find the results in nextcloud.

Index and search are working fine, also for external files as local mounts here.

The only thing which does not work: fulltextsearch:live is not indexing new files on the external mounts!

I even did these changes:
Instead of doing a WebDAV-Mount of my Alfresco archives, I sync them to /opt/Alfresco on my nextcloud machine via Syncthing. So they are really "there" physically, and I can use files_external:notify to notify Nextcloud immediately when a file is changed or added.

The notification works perfectly, I can see that in the log - in a running fulltextsearch:live window just nothing happens even when I see in the log that NC was notified about the new file.

That's pretty frustrating as I need to run a full index once per hour to work around this issue.

@mudi0
Copy link

mudi0 commented Mar 13, 2023

i have the same issue. Need to run also Fulltextsearch:index everytime to search for new added files.
Have also a local share, the files are physically on the NC Server.

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

4 participants