Bug 46703 - univention-upgrade may exit with an error when upgrading certain Apps
univention-upgrade may exit with an error when upgrading certain Apps
Status: CLOSED FIXED
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
Blocks:
  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:


Attachments

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:
	f.write(password)

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~4.2.0.201803201146
Comment 2 Felix Botner univentionstaff 2018-03-20 13:40:58 CET
OK - univention-appcenter
OK - YAML
Comment 3 Arvid Requate univentionstaff 2018-03-21 13:52:10 CET
<http://errata.software-univention.de/ucs/4.2/313.html>