Trigger files scan without occ web app in TrueNAS Scale container? (Can't write to External Storage)

Hi,

To launch occ commands in your conatiner from Truenas ( i’m assuming you are using k3s directly from the webUI of Truenas ) :

In WebUI go to apps, select nextcloud and in the right colonn click the console icon :

Then make sure to select the nextcloud pod :

Once you are in console :

su
then
su -m www-data -c 'php occ files:scan --all'

And you are good to go.

1 Like