NextCloud in TrueNAS. Change Data Directory Shell Commands?

I have been trying to give NextCloud Access to a different set of drives than the drive on which TrueNAS and the jails live. I cant seem to get it right. I am trying change the directory data directory. The commands in this video lead to file / directory not found errors


Nextcloud version 21.0.
Operating system and version TrueNAS 12
Apache or nginx version (eg, Apache 2.4.25): NOT SURE
PHP version (eg, 7.4): `NOT SURE

did you check this tutorial? HowTo: Change / Move data directory after installation