Nextcloud AIO created file on command line not visible

Hey,

I have created some files using touch and chmod (www-data:www-data) in a user folder and it is not visible. Restarting the container did not help me. Is there something I am missing?

Yes. This is not how Nextcloud works (at least by default). Nextcloud expects all files to be created/managed by it, not outside of it.

You can run occ files:scan --all[1] if you are only doing this occasionally.

You could also adjust the filesystem_check_changes[2] value.

[1] Using the occ command — Nextcloud latest Administration Manual latest documentation
[2] Configuration Parameters — Nextcloud latest Administration Manual latest documentation

Thank you! In addition this helped me out GitHub - nextcloud/all-in-one: 📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.

1 Like