External Storage not showing new files?

I have an external storage location defined to a local share on my Unraid server.

If I drop a file into the folder directly through the SMB share it doesn’t show up in Nextcloud.

What am I doing wrong?

Nothing is wrong. Nextcloud does not detect changes to the file system. You would need to run a occ files:scan --path=... to update NC’s database with the new files.

There is a app called INotify available in the appstore that can help detect file system level changes.

Thanks for the tip but I get this when I try to install INotify.

An error occured during the request. Unable to proceed.
App “INotify file watcher” cannot be installed because the following dependencies are not fulfilled: The library inotify is not available.

Any ideas?

You then need the PHP INofity module. You can find it here https://pecl.php.net/package/inotify

You need to lookup how to install PHP modules specific to your system. I Use Gentoo, which is rather unique in how it does things. A quick google showed this https://askubuntu.com/questions/885574/how-does-one-install-the-pecl-inotify-extension-for-php7