Bug 52520 - App configure: configure script not called during App settings and reinitialize
App configure: configure script not called during App settings and reinitialize
Status: RESOLVED DUPLICATE of bug 53761
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-12-21 10:30 CET by Felix Botner
Modified: 2021-09-08 22:59 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
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 2020-12-21 10:30:08 CET
I have a app with app settings, a configure and configure_host script. The configure_host script just calls reinitialize for the app

#!/bin/bash
if [ "$1" = "settings" ]; then
    univention-app reinitialize benno-mailarchiv
fi
exit 0

After applying new app settings configure_host is called but at no point the app's configure script.

I don't know if this is intentional or if this is bug.

Workaround: We moved the code from the configure script to the configure_host

#!/bin/bash
if [ "$1" = "settings" ]; then
    univention-app reinitialize benno-mailarchiv
fi
if [ "$1" = "settings" -o "$1" = "install" -o "$1" = "upgrade" ]; then
        univention-app shell ...
        univention-app shell ...
        ...
fi

exit 0
Comment 1 Dirk Wiesenthal univentionstaff 2021-09-08 22:59:56 CEST

*** This bug has been marked as a duplicate of bug 53761 ***