Bug 43709 - Update to UCS 4.2: App status has to be adjusted in UCS 4.1
Update to UCS 4.2: App status has to be adjusted in UCS 4.1
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Dirk Wiesenthal
Stefan Gohmann
: interim-4
Depends on: 43496
  Show dependency treegraph
Reported: 2017-03-03 04:30 CET by Dirk Wiesenthal
Modified: 2017-04-04 18:29 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
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:


Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2017-03-03 04:30:31 CET
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


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
Comment 1 Dirk Wiesenthal univentionstaff 2017-03-03 04:30:47 CET
Needs to be fixed before 4.2 is released
Comment 2 Stefan Gohmann univentionstaff 2017-03-24 10:43:50 CET
→ postup.sh
Comment 3 Dirk Wiesenthal univentionstaff 2017-03-27 17:00:03 CEST
Fixed in preup.sh of
  univention-updater (12.0.4-17)

Already published to updates-test.software-univention.de
Comment 4 Stefan Gohmann univentionstaff 2017-03-27 22:03:09 CEST
It works. You've changed the variable to
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.
Comment 5 Stefan Gohmann univentionstaff 2017-04-04 18:29:04 CEST
UCS 4.2 has been released:

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