Univention Bugzilla – Bug 57544
App center runs joinscripts before configure scripts during upgrade
Last modified: 2024-08-28 15:29:57 CEST
During an upgrade of a docker app, the configure scripts are only called after the joinscript already run. The reason is, that during the upgrade_docker step of the appcenter, _install_new_app is run, with an argument that inhibits the run of the "configure" scripts. But it still executes the joinscripts. Only later, _configure is explicitly run alongside call_joinscripts. But as the joinscript version was already executed, this won't do anything anymore. This is very unexpected and different to what is documented in the ISV documentation and probably by mistake. https://docs.software-univention.de/app-center/latest/en/configurations.html#upgrade-scripts
We adjusted the code to skip both configure script and joinscript during the update of the image. Only afterwards, both are run explicitely. 0ac5207f22 Bug #57544: Skip configure and joinscripts during image update
OK 5.0-8 - test - univention-appcenter 9.0.12-2 - yaml OK 5.1-0 - univention-appcenter 10.0.12 OK 5.2-0 - univention-appcenter 11.0.9
<https://errata.software-univention.de/#/?erratum=5.0x1107>