Bug 42760 - appbox: Upgrading a Docker App fails if the container can update packages
appbox: Upgrading a Docker App fails if the container can update packages
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-4
Assigned To: Dirk Wiesenthal
Felix Botner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-10-25 13:02 CEST by Dirk Wiesenthal
Modified: 2016-11-08 13:26 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?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.171
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
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 2016-10-25 13:02:07 CEST
As long as the container finds packages to update, the update of the App itself is delayed.

Instead univention-upgrade is run to update the packages. However, univention-upgrade tries to update the Apps as well. This fails because the new App version is a Docker version and one may not install a Docker App inside a Docker Container. The update fails!

Restarting the process will result in a success, though. All packages have been installed during the last run, thus the App Center can install the new App version inside the container (not by using univention-app, because this would fail)
Comment 1 Dirk Wiesenthal univentionstaff 2016-10-25 13:03:57 CEST
There is a switch in univention-upgrade to skip the App updates. This has to be used for univention-docker-container-mode.

Meanwhile, those scripts may be overwritten by the App version itself.
Comment 2 Dirk Wiesenthal univentionstaff 2016-10-31 15:04:13 CET
Fixed in
  univention-docker-container-mode 1.0.14-2.63.201610311500

Changelog added
Comment 3 Felix Botner univentionstaff 2016-11-01 17:15:46 CET
fail - merged to 4.2-0
Comment 4 Dirk Wiesenthal univentionstaff 2016-11-02 09:40:00 CET
Merged
Comment 5 Felix Botner univentionstaff 2016-11-02 17:34:26 CET
OK - univention-docker-container-mode scripts call univention-upgrade with 
     --disable-app-updates
OK - merged to 4.2-0
OK - changelog
Comment 6 Stefan Gohmann univentionstaff 2016-11-08 13:26:36 CET
UCS 4.1-4 has been released:
 https://docs.software-univention.de/release-notes-4.1-4-en.html
 https://docs.software-univention.de/release-notes-4.1-4-de.html

If this error occurs again, please use "Clone This Bug".