Univention Bugzilla – Bug 53625
UMC Appcenter does not show content of error file
Last modified: 2021-09-15 17:41:46 CEST
If, for example, the preinst of an App fails, we have the option to pass an error message to the appcenter like this while [ $# -gt 0 ] do case "$1" in "--error-file") shift error_file=$1 shift ;; *) shift ;; esac done echo "$@" echo "this is a test" > $error_file exit 1 -> univention-app install ... ... this is a test Running prescript of 4.4/owncloud=10.7.0 failed. Aborting... This works on cmdline, but no longer in UMC in UCS 5.0, this is all i get: ----------------------------------------- Installation von ownCloud Beim Versuch der Umsetzung kam es zu Fehlern bei owncloud auf master.five.local Diese Fehlermeldungen kommen vom Server. Weitere Informationen können in der Logdatei des Systems enthalten sein: /var/log/univention/appcenter.log * -----------------------------------------
univention-appcenter.yaml 7265bc24d593 | Bug #53625: added changelog entry univention-appcenter (9.0.2-65) 0da3bcf18aa3 | Bug #53625: show content of error file in Appcenter
preinst: OK Code review: OK YAML: OK
<https://errata.software-univention.de/#/?erratum=5.0x92>