Truenas Scale - NextCloud Preview Generator

i’m not sure where to run the preview generator command?

./occ preview:generate-all -vvv

if i run it in the normal shell, I get this error

image

i can’t even find the occ in the pod shell?

Can someone pls help I am stuck on this step too.

Screenshot 2025-04-18 084319

I am running ElectricEel-24.10.2.1
I am also a beginner in using linux and this whole NAS environment.