Changes not detected on "Local" external storage over NFS

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 29.0.5): 29.0.4
Operating system and version (eg, Ubuntu 24.04): Debian 12.7
Apache or nginx version (eg, Apache 2.4.25): 2.4.62
PHP version (eg, 8.3): 8.2.23

The issue you are facing:

Nextcloud server mounts an NFS share and some external storage “Local” folder are configured to access NFS share subfolders

Let say /mnt/share is the mount point
Those are some folders:
folderA Local /mnt/share/folderA
folderB Local /mnt/share/folderB
folderC Local /mnt/share/folderC

NFS server allows apache to access the whole share r/w via ACLs

Manual occ files:scan -all runs smooth with no errors

For all folders “Check for changes” is set to “Once every direct access” BUT when users access the shares sometimes they have updated file/folder list, sometimes not.
This happens more often on larger folders