Univention Bugzilla – Bug 44623
UMC software update module fails to upgrade container environment of apps
Last modified: 2017-08-30 16:29:39 CEST
Created attachment 8855 [details] Screenshot of upgrade module with broken texts for app upgrade UCS 4.2-0 Errata 15 I used the appliance mode to configure a DC Master and installed several apps (self service, etherpad, Nextcloud, OX, SuiteCRM). The "Software Update" module in the UMC now lists two upgradeable apps, but the python string replacement is broken: -- There are App Center updates available. %(name)s: Version %(old)s can be updated to %(new)s %(name)s: Version %(old)s can be updated to %(new)s -- See also attached Screenshot.
I was unable to update in the web interface, but univention-upgrade shows me some usefull information on the command line: -- root@usm:~# univention-upgrade Starting univention-upgrade. Current UCS version is 4.2-0 errata15 Checking for local repository: none Checking for package updates: none Checking for app updates: found The following apps can be upgraded: SuiteCRM: The underlying container can be upgraded Etherpad: The underlying container can be upgraded Starting app upgrade Do you want to upgrade SuiteCRM [Y|n]? -- I was able to update the apps / container using univention-upgrade.
(In reply to Ingo Steuwer from comment #0) > Created attachment 8855 [details] > Screenshot of upgrade module with broken texts for app upgrade > > UCS 4.2-0 Errata 15 > > I used the appliance mode to configure a DC Master and installed several > apps (self service, etherpad, Nextcloud, OX, SuiteCRM). > > The "Software Update" module in the UMC now lists two upgradeable apps, but > the python string replacement is broken: > > -- > There are App Center updates available. > > %(name)s: Version %(old)s can be updated to %(new)s > %(name)s: Version %(old)s can be updated to %(new)s > -- > > See also attached Screenshot. Same here.
*** Bug 44759 has been marked as a duplicate of this bug. ***
Broken for Apps with "The underlying container can be upgraded". Other App updates are shown
r81010 | Bug #44623: Properly display app updates when underlying docker containers were updated. r81011 | Bug #44623: yaml Package: univention-updater Version: 12.0.11-3A~4.2.0.201707101705 Branch: ucs_4.2-0 Scope: errata4.2-1
Currently, UMC does not allow to upgrade the underlying container. It only allows to upgrade the App itself. Therefore, showing the message: '%s: Update for underlying container available' only leads to confusion. Until the UMC App Center can upgrade containers, please remove these App updates completely.
r81038 | Bug #44623: don't display app container updates. r81040 | yaml Package: univention-updater Version: 12.0.11-4A~4.2.0.201707111440 Branch: ucs_4.2-0 Scope: errata4.2-1
We should filter those "Container only Apps" right away. Maybe immediately after retrieving. Currently, I get an empty list: App Center Updates There are App Center updates available. *
Package: univention-updater Version: 12.0.11-7A~4.2.0.201708102012 Branch: ucs_4.2-0 Scope: errata4.2-1 univention-updater (12.0.11-7): r82045 | Bug #44623: filter container upgrades earlier r82046 | Bug #44623: yaml
OK, works. Updated the YAML
<http://errata.software-univention.de/ucs/4.2/151.html>