Skip to content

Instantly share code, notes, and snippets.

@tlnagy
Created June 19, 2022 00:07
Show Gist options
  • Save tlnagy/7eff950527fb0cdedbce7afe433cccbb to your computer and use it in GitHub Desktop.
Save tlnagy/7eff950527fb0cdedbce7afe433cccbb to your computer and use it in GitHub Desktop.
Took me awhile to figure out how to run Nextcloud's file scan option inside of my Nextcloud instance which was hosted inside of a docker container
su -s /bin/bash www-data -c "php occ files:scan --all"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment