Nextcloud join script fails, also update to 5.0 fails maybe related? UCS 4.4-8 errata995

Hello and thanks for your hard work. UCS has been running fine for couple years until this latest update, and we have had some issues now. We got the notice owncloud wasnt supported in the update to 5.0 and so uninstalled and tried to put nextcloud instead from the app store. It seemed to install fine, and shows in portal except it doesnt connect, and there is a join script failure in the Domain Join section for nextcloud50. Thank you Any help appreciated.

image

image