Jelle de Jong
2020-May-13 19:06 UTC
[Samba] nextcloud files_external:notify: "Due to limitations of linux based SMB servers, this feature only works reliably on Windows SMB servers"
Hello everybody, I am wondering if anyone know more about the fact that the official nextcloud documentation states it does not work with linux based smb servers for notify support? https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/external_storage/smb.html "Due to limitations of linux based SMB servers, this feature only works reliably on Windows SMB servers." I tried several searches with Google and Nextcloud github but no luck.... "files_external:notify samba" https://github.com/nextcloud/server/issues?q=samba+files_external+notify I am planning on migrating NFS to Samba and use this as external storage for nextcloud, but I need notify support as this seems to be an issue with nfs and local external storage at the moment needed constant cronjobs running to manually scan. Kind regards, Jelle
Jeremy Allison
2020-May-13 19:16 UTC
[Samba] nextcloud files_external:notify: "Due to limitations of linux based SMB servers, this feature only works reliably on Windows SMB servers"
On Wed, May 13, 2020 at 09:06:29PM +0200, Jelle de Jong via samba wrote:> Hello everybody, > > I am wondering if anyone know more about the fact that the official > nextcloud documentation states it does not work with linux based smb servers > for notify support? > > https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/external_storage/smb.html > > "Due to limitations of linux based SMB servers, this feature only works > reliably on Windows SMB servers."If all accesses to the underlying SMB filestore are via SMB to Samba, then we are as reliable as a Windows SMB server as we handle everything internally via Samba and don't depend on the underlying OS change notify. They may be talking about scenarios where there are other protocols or local process access to the underlying filestore simultaneously to Samba. In that case we have to depend on notification via the underlying OS change notify implementation, which is sometimes unreliable. Hope this helps ! Jeremy.