What files from your Mac are you trying to sync to next cloud? If you have a Truenas already, why are you hosting files from your Mac instead of mapping a share directly from your Truenas into Nextcloud and working directly off of the source instead?
As for syncing photos from my phone to Nextcloud, I've had no issues over the past 3 years hosting it myself. I had one problem with a lot of conflicts where permissions on my truenas wouldn't allow nextcloud to delete them, so I had a manual cleanup process last month but that's the only problem I've had. I just switched to Truenas a few months ago from QNAP and am still learning the caveats of their very granular permissions but everything generally works about 99% of the time.
Shit. Now I need to change my password!