Bug 43835 - update app cache after updater to 4.2
update app cache after updater to 4.2
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Felix Botner
Dirk Wiesenthal
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-13 16:30 CET by Felix Botner
Modified: 2017-04-18 08:03 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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2017-03-13 16:30:17 CET
update app cache in postup
Comment 1 Felix Botner univentionstaff 2017-03-13 18:23:02 CET
univention-updater r77651
test -e /usr/bin/univention-app && univention-app update >>"$UPDATER_LOG" 2>&1 in postup
Comment 2 Dirk Wiesenthal univentionstaff 2017-03-17 02:48:11 CET
Great. (Shouldn't it be -x?)

Can you expand it further?
After the update, the ucs/web/ - UCRVs are not converted into settings/portal_entry.

I added a routine to convert those in univention-appcenter's debian/python-univention-appcenter.postinst. This is too early, though, the cache is not yet in place.
Could you move it (i.e. remove it from univention-appcenter) to postup.sh? This should fix it.
Comment 3 Felix Botner univentionstaff 2017-03-17 09:17:31 CET
(In reply to Dirk Wiesenthal from comment #2)
> Great. (Shouldn't it be -x?)
> 
> Can you expand it further?
> After the update, the ucs/web/ - UCRVs are not converted into
> settings/portal_entry.
> 
> I added a routine to convert those in univention-appcenter's
> debian/python-univention-appcenter.postinst. This is too early, though, the
> cache is not yet in place.
> Could you move it (i.e. remove it from univention-appcenter) to postup.sh?
> This should fix it.

ok, done
Comment 4 Dirk Wiesenthal univentionstaff 2017-03-20 17:34:50 CET
OK, works. No changelog needed.
Comment 5 Stefan Gohmann univentionstaff 2017-04-04 18:28:51 CEST
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".