Univention Bugzilla – Bug 51688
remove second docker pull during app update (compose)
Last modified: 2020-12-04 11:16:59 CET
During the update of docker compose apps (not checked for docker apps) we call pull twice: Calling docker-compose -p wekan pull Calling docker-compose -p wekan start Calling docker-compose -p wekan start Calling docker-compose -p wekan stop Calling docker-compose -p wekan stop Calling docker-compose -p wekan down --remove-orphans Running command: docker-compose -p wekan pull Running command: docker-compose -p wekan up -d --no-build --no-recreate Calling docker-compose -p wekan start Calling docker-compose -p wekan start If the second pull call fails, we end up with an undefined app state, app is no longer usable, and updates also do not work I think we added the first pull, so that we are sure we have downloaded the new image before change the current app. But seems that we forgot to remove the second pull call. That is what this bug is about, remove the unnecessary second pull call.