nextcloud/univention-app

Unsuccessful OCS-APIREQUEST should make the joinscript fail hard

MiGrandjean opened this issue · 0 comments

In inst.sh, there are some curl commands doing OCS-APIREQUESTs. If these requests fail, the joinscript finishes with exit 0 nevertheless. This way users get the impression that everything went fine, while in fact nextcloud_add_Administrator_to_admin_group or nextcloud_configure_ldap_backend did not succeed. This results in a broken configuration / installation.

https://help.univention.com/t/univention-nextcloud-join/5057/8 (post 8 and following)
https://help.univention.com/t/nextcloud-ldap-anbindung-fehlt/5704