Hi!
I created external storage from local folder as shown on the following screenshot:
If I create files normally for example:
echo hello >> /media/ntfs/hello.txt
Then I see this file immediately in my nextcloud.
And if I delete it using
rm /media/ntfs/hello.txt
Then I also see change immediately.
But if I mount there something for example by using:
/usr/bin/vmhgfs-fuse .host:/images /media/ntfs -o subtype=vmhgfs-fuse,allow_other
Then I don’t see it until I either:
a) delete and re-create the external storage from Nextcloud admin panel or
b) Run:
sudo -u www-data php /var/www/nextcloud/occ files:scan --all
Why is vmhgfs-fuse cause different different compared to creating and removing files from terminal? Both file manager and and terminal see the new files from this mount command instantly so the problem seems to be nextcloud.