Univention Bugzilla – Bug 42969
App gets removed on failed upgrade (only for upgrade to docker app?)
Last modified: 2016-12-07 13:48:05 CET
I tried an app upgrade from a non docker version to a docker version. The installation of the docker version failed and as a result the non docker version got removed. This might only be a problem for upgrades to docker versions. But I didn't test that further.
Created attachment 8247 [details] OX APPS Disapeared from App manager After failed upgrade of OX App Suite it totaly disapeared from list of installed apps.
Created attachment 8248 [details] New install failed with "App is already installed" If I try to install OX App Suite again, it will fail with error from screenshot. Probably the same bug :(
Hi kubik256, the initial bug report is about migrating to a docker variant of an app. As the OpenXchange apps are no docker apps yet, i do think you encountered a different issue. Please open a thread in our forum to get assistance: http://forum.univention.de
(In reply to Erik Damrose from comment #3) > Hi kubik256, the initial bug report is about migrating to a docker variant > of an app. As the OpenXchange apps are no docker apps yet, i do think you > encountered a different issue. Please open a thread in our forum to get > assistance: http://forum.univention.de Sorry for that, this problem looked quite similar to me. If you say so, I'll create a new thread ;) Thanks.
univention-appcenter 5.0.23-16.243.201612021437
QA: univention-app dev-set horde="5.2.7-3" docker_script_setup=/bin/false
Now the appcenter is trapped in some kind of loop upgrade -> failed -> upgrade-search -> new version found -> upgrade -> failed ... -> univention-app dev-set horde="5.2.7-3" docker_script_setup=/bin/false -> univention-app upgrade horde Going to upgrade Horde Groupware Webmail Edition (5.2.7-3) ... Setup script failed! Aborting... Going to remove Horde Groupware Webmail Edition (5.2.7-3) ... 4312 actions.upgrade-search 16-12-02 15:39:09 [ DEBUG]: Calling upgrade-search 4312 actions.upgrade-search.progress 16-12-02 15:39:09 [ DEBUG]: 0 4312 actions.upgrade-search 16-12-02 15:39:09 [ DEBUG]: Checking horde=5.2.7-3 4312 actions.upgrade-search.progress 16-12-02 15:39:09 [ DEBUG]: 100 4312 actions.remove.progress 16-12-02 15:39:09 [ DEBUG]: 100 4312 actions.upgrade-search 16-12-02 15:39:09 [ DEBUG]: Calling upgrade-search 4312 actions.upgrade-search.progress 16-12-02 15:39:09 [ DEBUG]: 0 4312 actions.upgrade-search 16-12-02 15:39:09 [ DEBUG]: Checking horde=5.2.7-3 4312 actions.upgrade-search.progress 16-12-02 15:39:09 [ DEBUG]: 100 4312 actions.install.progress 16-12-02 15:39:09 [ DEBUG]: 100 4312 actions.upgrade 16-12-02 15:39:09 [ INFO]: Upgrading docker 4312 actions.configure 16-12-02 15:39:09 [ DEBUG]: Finding all configuration options for horde 4312 actions.install 16-12-02 15:39:09 [ DEBUG]: Calling install 4312 actions.install.progress 16-12-02 15:39:09 [ DEBUG]: 0 4312 actions.install 16-12-02 15:39:09 [ INFO]: Going to install Horde Groupware Webmail Edition (5.2.7-3)
Fixed in univention-appcenter (5.0.23-17)
OK - 5.0.23-17.244.201612030024 OK - (non-Docker) app is not removed if upgrade to docker app fails OK - merged to 4.2-0
<http://errata.software-univention.de/ucs/4.1/351.html>