Changes in external storage are not checked or updated within nextcloud

Hi everyone,

Iam running Nextcloud 20.0.2 inside a docker container and added an external storage via SFTP and SMB.

All files show up nicely after the initial setup. However, if files are created on the external storage via SFTP or SMB these changes do not show up in Nextcloud. Neither via web ui nor via app.

Interestingly the problem only occurs when files are created on the external storage outside of Nextcloud. If the file/folder has been created from the web ui or app and is then deleted on the external storage the change is visible immediately.

The mount option to check for changes once after accessing the external storage is of course set.

Any ideas ?