Univention Bugzilla – Bug 43709
Update to UCS 4.2: App status has to be adjusted in UCS 4.1
Last modified: 2017-04-04 18:29:04 CEST
We need to prepare App status variables for UCS 4.2: ucr set appcenter/apps/$appid/version=4.1 ucr set appcenter/apps/$appid/server=$(ucr get repository/app_center/server) for all installed Apps. This is important especially for Docker Apps so that the App Center still knows which ini file got the App installed. For Non-Docker Apps, these variables should be set, too. But during the update, .../version should be set to 4.2. Normally, the App should exist in 4.2, otherwise the update would have been blocked. In case the the App is actually not available, but the user decided to "override" the component check (by setting repository/version from "current" to "4.1"), this should not harm anything. Although we could handle these differently. But as the App might get published later on, I guess setting it to 4.2 would be right. +++ This bug was initially created as a clone of Bug #43496 +++ We should allow Docker Apps to be installable by different UCS versions. SupportedUCSVersions=4.1-4 errata350, 4.2-0 should replace RequiredUCSVersion= UCRV ucr set appcenter/server="4.2@appcenter.software-univention.de 4.1@appcenter.software-univention.de" should replace ucr set repository/app_center/server=appcenter.software-univention.de
Needs to be fixed before 4.2 is released
→ postup.sh
Fixed in preup.sh of univention-updater (12.0.4-17) Already published to updates-test.software-univention.de
It works. You've changed the variable to appcenter/apps/$appid/ucs but that is right. The original bug report was created while a different format was using. You set the variables for Docker apps only, that is also right.
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".