Bug 42969 - App gets removed on failed upgrade (only for upgrade to docker app?)
App gets removed on failed upgrade (only for upgrade to docker app?)
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-4-errata
Assigned To: Dirk Wiesenthal
Felix Botner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-16 11:57 CET by Jürn Brodersen
Modified: 2016-12-07 13:48 CET (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 7: Crash: Bug causes crash or data loss
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.240
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
OX APPS Disapeared from App manager (354.07 KB, image/png)
2016-11-28 15:20 CET, kubik256
Details
New install failed with "App is already installed" (12.31 KB, image/png)
2016-11-28 15:25 CET, kubik256
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jürn Brodersen univentionstaff 2016-11-16 11:57:43 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.
Comment 1 kubik256 2016-11-28 15:20:52 CET
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.
Comment 2 kubik256 2016-11-28 15:25:44 CET
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 :(
Comment 3 Erik Damrose univentionstaff 2016-11-29 11:16:35 CET
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
Comment 4 kubik256 2016-12-02 06:37:57 CET
(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.
Comment 5 Dirk Wiesenthal univentionstaff 2016-12-02 14:39:27 CET
univention-appcenter 5.0.23-16.243.201612021437
Comment 6 Dirk Wiesenthal univentionstaff 2016-12-02 14:40:25 CET
QA: univention-app dev-set horde="5.2.7-3" docker_script_setup=/bin/false
Comment 7 Felix Botner univentionstaff 2016-12-02 15:45:25 CET
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)
Comment 8 Dirk Wiesenthal univentionstaff 2016-12-05 01:19:20 CET
Fixed in
  univention-appcenter (5.0.23-17)
Comment 9 Felix Botner univentionstaff 2016-12-05 16:04:43 CET
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
Comment 10 Janek Walkenhorst univentionstaff 2016-12-07 13:48:05 CET
<http://errata.software-univention.de/ucs/4.1/351.html>