Univention Bugzilla – Bug 42498
While upgrading Non-Docker to Docker Apps, unjoin scripts from the Non-Docker App are run last
Last modified: 2016-09-28 14:05:50 CEST
If the new App version is Docker, the new lib is used. If the new lib is used, upgrade goes like this: Install new version (start docker container) Remove old version (apt packages) Done Problem: apt packages may run their unjoin script in postinst. This script may break the App, at least it will probably uninstall the join script of the (now) current App version.
In univention-appcenter 5.0.22-18.224.201609260147 the join script is run during the "install" and then re-run after the "uninstall". I did not remove the first run as just makes it more complicated. The remove routine for already installed unjoin scripts just before running join scripts has been improved. This way some unjoin scripts are never run.
OK - during upgrade docker the join script(s) are called OK - YAML OK - merged to 4.2-0
<https://errata.software-univention.de/ucs/4.1/279.html>