Bug 52525 - automatically install veyon proxy app when updating UCS@school singlemaster to 4.4 v9
automatically install veyon proxy app when updating UCS@school singlemaster t...
Product: UCS@school
Classification: Unclassified
Component: Join - Hook
UCS@school 4.4
Other Linux
: P5 normal (vote)
: UCS@school 4.4 v9
Assigned To: Daniel Tröder
Tobias Wenzel
Depends on: 52465
Blocks: 52660
  Show dependency treegraph
Reported: 2020-12-21 15:47 CET by Daniel Tröder
Modified: 2021-03-24 14:11 CET (History)
2 users (show)

See Also:
What kind of report is it?: Feature Request
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 Daniel Tröder univentionstaff 2020-12-21 15:47:51 CET
+++ This bug was initially created as a clone of Bug #52465 +++

The Veyon proxy app should automatically be install on UCS@school singlemaster systems when updating to 4.4 v9.
Comment 1 Daniel Tröder univentionstaff 2020-12-21 16:32:38 CET
The meta package will be upgraded during the upgrade to 4.4 v9.
The updated join script will then install a new pre-join hook. But it won't be executed, because the pre-join hook runs before the meta packages join script.

Thus the join script now fails if the Veyon app ist not installed and forces the user to rerun it. That will execute the new pre-join hook code and install the Veyon app.

QA: I have upload the packages to the test appcenter, so it is installed during the upgrade. We'll see tomorrow what happens in Jenkins…

ucs-school-metapackage (12.0.4-4)
Comment 2 Tobias Wenzel univentionstaff 2021-01-05 11:21:22 CET

(the code was already in 4.4, so reopen is not needed)

[4.4] d9d8bf3aa Bug #52525: advisory
[4.4] 4dbd7a848 Bug #52525: pre-joinscripts hook installs ucsschool-veyon-proxy app on singleserver

Changelog → OK
Advisory → OK
Jenkins → OK
Code → OK

4.4 v9 is existing in test appcenter. SupportedUcsVersions was set to 4.4-6 errata762 (and empty for the veyon-proxy app). I changed both to 4.4-7 errata841 to get the recent changes in the ucs package univention-docker.
After that the update & installation work as expected. 
Note: if the vm has less than 1024 MB RAM, the setup will fail.  

Using the test appcenter, I updated from 4.4 v8 → v9 in a single server env.
In the join.log a visible error was logged, reminding me to rerun the join script again or to install the app manually (which succeeded).
The unit tests run during the build & install.
Comment 3 Florian Best univentionstaff 2021-01-26 19:58:56 CET
git:b7db926e2021f0f8a010fad38265a369d8a07b53 has not been merged to UCS 5
Comment 4 Tobias Wenzel univentionstaff 2021-03-24 14:11:23 CET
UCS@school 4.4 v9 has been released.


If this error occurs again, please clone this bug.