icewind1991 / files_inotify

Adds support detecting changes in local external storages with occ files_external:notify
29 stars 3 forks source link

How to make use of this app? #8

Open sm8ps opened 6 years ago

sm8ps commented 6 years ago

Contrary to what others have said, this app does run stably here (NC 13). Though I am not certain about its usage. Running 'occ files_external:notify -v ' does immediately show changes in external storage. However, this does not seem to trigger any action on the side of NC. Is this purely informative then? Please clarify, thanks!

sm8ps commented 6 years ago

Part of the answer may lie in issue #10097 of nextcloud/server (occ files_external:notify exits spontaneously).

icewind1991 commented 6 years ago

The notify command only marks the changed files to be scanned, the background scanner should then do the actual update while running cron.

Alternatively you can manually schedule occ files:scan --unscanned --all to be ran

sm8ps commented 6 years ago

Many thanks for your answer, @icewind1991! Things are slowly getting more clear to me. As a regular user, I expected the app to take care of running the notify command by itself but that does not seem to be the case? Do you have any insight into the mentioned issue #10097 of nextcloud/server and the related #8717?