Bug 48808 - univention-app register is not called in postup.sh anymore
univention-app register is not called in postup.sh anymore
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Update - Release updates
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4
Assigned To: Erik Damrose
Jürn Brodersen
:
: 48841 48975 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-02-27 16:30 CET by Jürn Brodersen
Modified: 2019-03-25 15:18 CET (History)
6 users (show)

See Also:
What kind of report is it?: Release Management
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?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jürn Brodersen univentionstaff 2019-02-27 16:30:11 CET
univention-app register is not called in postup.sh any more

This was removed in f73fc531f23bf021c6f3da44ceb9d18e55f274a4.

ucsschool needs that call otherwise the app version might not be updated in the ldap. Which prevents new 4.4 systems from joining, because the version check fails.

See also bug 45328
Comment 1 Erik Damrose univentionstaff 2019-02-28 17:21:03 CET
eaf9ab0b Update appcenter cache and reregister apps in postup

Package: univention-updater
Version: 14.0.0-14A~4.4.0.201902281713
Branch: ucs_4.4-0
Comment 2 Jürn Brodersen univentionstaff 2019-03-04 11:36:29 CET
Technically this works, but it doesn't produce the result I hopped for.

It seems "univention-app register" needs to run even after the postup or it doesn't work. See bug 45328

I guess we could use the at job that is already in the postup script?
Comment 3 Jürn Brodersen univentionstaff 2019-03-04 12:10:36 CET
Ok lets try it in the at job:
[4.4-0 935157d5d0] Bug #48808: Move univention-app register into at job
Comment 4 Erik Damrose univentionstaff 2019-03-05 11:01:56 CET
Setting to resolved again. Calls have been moved to the atjob run after postup.sh
Comment 5 Jürn Brodersen univentionstaff 2019-03-05 12:08:50 CET
I copied the changelog entry for the postup.sh/preup.sh scripts:
[4.4-0 35f7204a30] Bug #48808: changelog

Works -> Verified
Comment 6 Florian Best univentionstaff 2019-03-12 13:40:27 CET
UCS 4.4 has been released:
 https://docs.software-univention.de/release-notes-4.4-0-en.html
 https://docs.software-univention.de/release-notes-4.4-0-de.html

If this error occurs again, please use "Clone This Bug".
Comment 7 Erik Damrose univentionstaff 2019-03-12 17:52:12 CET
*** Bug 48975 has been marked as a duplicate of this bug. ***
Comment 8 Felix Botner univentionstaff 2019-03-25 15:18:58 CET
*** Bug 48841 has been marked as a duplicate of this bug. ***