fulltextsearch icon indicating copy to clipboard operation
fulltextsearch copied to clipboard

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

Open jacotec opened this issue 4 years ago • 4 comments

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.

jacotec avatar Feb 28 '20 12:02 jacotec

This appears to be a duplicate of #546

trendzetter avatar Mar 06 '20 15:03 trendzetter

Also a duplicate of #301

lhurt avatar Mar 07 '20 06:03 lhurt

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.

jacotec avatar Mar 11 '20 16:03 jacotec

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.

mudi0 avatar Mar 13 '23 23:03 mudi0