Bug 46703 - univention-upgrade may exit with an error when upgrading certain Apps
univention-upgrade may exit with an error when upgrading certain Apps
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2-3-errata
Assigned To: Dirk Wiesenthal
Felix Botner
Depends on: 46684
  Show dependency treegraph
Reported: 2018-03-20 11:43 CET by Dirk Wiesenthal
Modified: 2018-03-21 13:52 CET (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.229
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2018-03-20 11:43:12 CET
Happened during 4.2 -> 4.3 upgrade. Backporting.

+++ This bug was initially created as a clone of Bug #46684 +++

The error is in docker_base.py (_execute_container_script):

with open(password_file.name, 'w') as f:

raises if password is None. This may happen on a DC Master with univention-upgrade, because the DC Master currently may _think_ a password is available because he always has an adminConnection.
Comment 1 Dirk Wiesenthal univentionstaff 2018-03-20 11:47:10 CET
Fixed in
  univention-appcenter 6.0.11-15A~
Comment 2 Felix Botner univentionstaff 2018-03-20 13:40:58 CET
OK - univention-appcenter
Comment 3 Arvid Requate univentionstaff 2018-03-21 13:52:10 CET