Univention Bugzilla – Bug 45808
More error codes for failed App installations / upgrades / uninstallations
Last modified: 2017-12-14 12:55:58 CET
Now we need more details about the error codes. +++ This bug was initially created as a clone of Bug #43061 +++ After an App installation etc, a status code is sent. Currently, 200 means success, 500 means traceback, 401 means a "clean" raise Abort(). But what exactly caused the App Center to abort the action is not sent. We should improve that.
I have had a look at the error codes and which occur more frequently. These error codes should get more details: InstallSetupFailed (416) DockerCouldNotStartContainer (417) InstallFailed (420) RegisterSchemaFailed (425) Note that DockerCouldNotStartContainer and InstallFailed are not implemented yet. We should first work with 416 and 425 and see how much these details help. Additionally, every other exception sends its str() representation. E.g., 500 - "TypeError: int() argument must be a string or a number, not 'NoneType'"
(In reply to Dirk Wiesenthal from comment #1) > Additionally, every other exception sends its str() representation. E.g., > 500 - "TypeError: int() argument must be a string or a number, not > 'NoneType'" Without a full traceback this information is not really useful.
(In reply to Florian Best from comment #2) > (In reply to Dirk Wiesenthal from comment #1) > > Additionally, every other exception sends its str() representation. E.g., > > 500 - "TypeError: int() argument must be a string or a number, not > > 'NoneType'" > Without a full traceback this information is not really useful. Maybe not always. But some may be: "IOError: [Errno 2] No such file or directory: u'/var/lib/univention-appcenter/apps/nextcloud/data'" "CalledProcessError: Command '[...]' returned non-zero exit status 1" Also, we may see whether 20 of our 500 error codes all have the same str() representation or not. Many error codes cannot come from that many places inside "install".
OK - univention-appcenter status OK - YAML
<http://errata.software-univention.de/ucs/4.2/250.html>