how to execute nextcloud cli commands

nmbvd

Cadet
Joined
Nov 1, 2023
Messages
1
i have some files in truenas data pool and installed nextcloud app, i copy these files to nextcloud data folder . according to Nextcloud document , need excute "occ files:scan" command. but when i exec blow commond in nextcloud contaier, it says "su: warning: cannot change directory to /var/www"
1698905986835.png

but in the pod describe it shows pod has /var/www mounted
1698906152329.png


how can i excute file scan cli in the nextcloud pod? thanks
 
Top