When using univention-app update-check --ucs-version 5.1 in the preup.sh during the 5.0->5.1 upgrade, the tool may not report all broken apps. Because it uses the App Cache from 5.1 at this point. And 5.1 does not take 4.4 Docker Apps into account. Example to reproduce: root@primary:~# univention-app info UCS: 5.0-9 errata1187 Installed: 4.4/prometheus=2.35.0-5 Upgradable:
Possible result: The administrator can upgrade to UCS 5.2 - losing the information that Prometheus is installed and no easy way to recover from that state. An app upgrade is probably somehow possible but not without manual intervention.
Fixed in Package: univention-appcenter Version: 9.0.13-3 Branch: ucs_5.0-0-errata5.0-9 Scope: errata5.0-9 univention-appcenter (9.0.13-3) c08cd7811c56 | Bug #57802: did not report all missing apps during a UCS upgrade. Some docker apps may be missed due to working on the wrong cache. This has been fixed. Backported to 5.1 and 5.2
Extending the bug: Now that we have a correct univention-app update-check, we see that the Updater UMC module is flawed: As docker apps are no "native updater components", the page still gets a list of potential UCS releases. We want to hide these as there is no valid release update until all docker apps are up-to-date and released for the next UCS version.
univention-updater.yaml 5f1dfb58a737 | Bug #57802: Do not provide the option to update to a new UCS release if some docker apps are not yet released for that release. univention-updater (15.0.18-2) 5f1dfb58a737 | Bug #57802: Do not provide the option to update to a new UCS release if some docker apps are not yet released for that release. univention-appcenter.yaml 38d573204396 | Bug #57802: YAML Merged to 5.1 and 5.2 as well
- OK release update is blocked if apps are not available in next version - OK 5.1 note is show before update - OK update works - OK 5.0-9 univention-updater 15.0.18-3 univention-appcenter 9.0.13-3 - OK merged to 5.1/5.2 - OK yaml
<https://errata.software-univention.de/#/?erratum=5.0x1194> <https://errata.software-univention.de/#/?erratum=5.0x1195>