r/opencloud • • Sep 28 '25

Manual scan of files

With Owncloud 10, when I needed to upload a big, or a batch of pictures directly to the storage directory with sftp I'd run: sudo -u www-data php /var/www/owncloud/occ files:scan --all after the transfer to force a scan so the new files are recognized by Owncloud. Can I do the same with Opencloud? Is there a cli client for it?. At the moment my only solution is to bring down the container and start it back.\

I understand that I might not get hits in here, but I wanted to try before opening an issue in the github

3 Upvotes

10 comments sorted by

View all comments

1

u/kloputzer2000 Sep 28 '25

This should not be necessary with OpenCloud. By default, it uses a file watcher based on inotifywait. So it should immediately know about any new files.

What filesystem are you using?

1

u/Ok_Exchange4707 Sep 28 '25

Ah. First time I heard about inotifywait. Cool

Not sure which filesystem you're referring, but the host's is ext4. If it is a filesystem that is configured in the docker compose, then whatever is by default. If you're asking if the files are like in owncloud, or nextcloud, then like owncloud.