I think you may want to try enabling the watchaggregator debug logging and see if there’s anything useful recorded in the log. You can do it in the GUI by going into Actions → Logs → Debugging.
Thanks. When I woke up this morning it was working perfectly, however the undesired behaviour has now returned.
I have enabled watchaggregator debugging as you suggested. Any changes one folder deep from the root of the syncthing folder are picked up. Any deeper than that and changes are not detected. This is the case on both the android and ubuntu devices. The windows machine works perfectly, with changes detected as deep as my directories go.
Where no changes are detected I see two outputs.
No old fs events
Resetting notifytimer to 10s
These events occur continually approximately every 10 seconds.
On the ubuntu machine I have used inotifywatch to check that inotify is detecting the changes. It detects changes in all cases, the information just doesn’t seem to be passed on to syncthing for some reason. I have not used inotifywatch on the android device as I’m not sure how I could go about installing it.
Edit to add:
I probably should have mentioned in my original post that the ubuntu machine runs syncthing in a docker container. I realise this brings drawbacks in terms of network discovery, but it makes it easier for me to manage alongside a number of other containers and has worked perfectly for my use case until this problem.
I can confirm that sometimes notes from deeper folders were not updated.
I can’t reproduce it anymore but AFAIC remember the files have actually been updated. Obsidian just did not show the changes.
Can you check the files otherwise and verify if they are up-to-date or not?