Version 10 is pretty much unsupported for some time now (except if you pay for enterprise support or FreeNAS has a fork they support themselves ) Maybe the FreeNAS people can help you here?
Even better would be to use Docker and install the latest Nextcloud release anyway.