Univention Bugzilla – Bug 40074
App Center does not start when docker is not running
Last modified: 2015-12-29 10:45:28 CET
The App Center checks whether docker is running. If not, it starts it. If this fails, the App Center refuses to work. We should make this check configurable. If the docker state is not checked, Docker Apps should not be shown. Proposed UCRV: appcenter/docker?enabled Useful when the docker service just fails to start for whatever reason, but also in a Univention App (Docker), where the App Center is still part of UMC.
Fixed in univention-appcenter 5.0.19-18.77.201511302249 UCRV is appcenter/docker If disabled, the startup check is skipped. Docker Apps can still be seen, but not installed. A button is presented to re-configure the App Center so that the Docker Apps can again be installed (=> appcenter/docker=enabled), but only if we manage to start the docker service
OK: Code OK: advisory OK: Test: # mv /usr/bin/docker /usr/bin/docker.off # ucr set appcenter/docker=on → AppCenter reports "Der Docker-Dienst läuft nicht......." # ucr set appcenter/docker=off → AppCenter starts properly, when trying to install a DockerApp, it reports "The application uses a container technology while the App Center is configured to not not support it......" and offers to enable "Docker Support". → That fails with the first message and leaves the UCR=off. It is thus possible to continue using the AppCenter. # mv /usr/bin/docker.off /usr/bin/docker → AppCenter starts properly, when trying to install a DockerApp, it reports "The application uses a container technology while the App Center is configured to not not support it......" and offers to enable "Docker Support". → This time it succeeds, the UCR is changed, the App installation continues.
(In reply to Daniel Tröder from comment #2) > → This time it succeeds, the UCR is changed, the App installation continues. It actually does not continue, but goes back to the App-page, where the app installation can once again be started and succeeds.
<http://errata.software-univention.de/ucs/4.1/27.html>
*** Bug 40256 has been marked as a duplicate of this bug. ***