Univention Bugzilla – Bug 42760
appbox: Upgrading a Docker App fails if the container can update packages
Last modified: 2016-11-08 13:26:36 CET
As long as the container finds packages to update, the update of the App itself is delayed. Instead univention-upgrade is run to update the packages. However, univention-upgrade tries to update the Apps as well. This fails because the new App version is a Docker version and one may not install a Docker App inside a Docker Container. The update fails! Restarting the process will result in a success, though. All packages have been installed during the last run, thus the App Center can install the new App version inside the container (not by using univention-app, because this would fail)
There is a switch in univention-upgrade to skip the App updates. This has to be used for univention-docker-container-mode. Meanwhile, those scripts may be overwritten by the App version itself.
Fixed in univention-docker-container-mode 1.0.14-2.63.201610311500 Changelog added
fail - merged to 4.2-0
Merged
OK - univention-docker-container-mode scripts call univention-upgrade with --disable-app-updates OK - merged to 4.2-0 OK - changelog
UCS 4.1-4 has been released: https://docs.software-univention.de/release-notes-4.1-4-en.html https://docs.software-univention.de/release-notes-4.1-4-de.html If this error occurs again, please use "Clone This Bug".