Ive been struggling with Truenas Scale and Nextcloud for a few days now. After reading all the solutions to get occ to run, and I still haven't reliably, I'm pulling the plug. It may have a future but right now it is too cumbersome to make things work. I have four Truenas core machines setup and been running since freenas 11. One is my test system for a home lab with Nextcloud for family to post and share whatever, so I thought Scale would be nice to try there.
I will be overwriting Scale with Core this evening, run Dan's Scripted install of Nextcloud and go back to set it and forget it, other than updates periodically.
Thanks to all the contributors, appreciate your work to help make things run for novices like me!