Bug 50639 - Failing package update and jq install inside container breaks owncloud app upgrade
Failing package update and jq install inside container breaks owncloud app up...
Status: RESOLVED INVALID
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-12-14 14:28 CET by Valentin Heidelberger
Modified: 2020-03-09 11:38 CET (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.086
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Valentin Heidelberger univentionstaff 2019-12-14 14:28:01 CET
See https://github.com/owncloud/appliance/issues/65

The store_data script of the owncloud app does the following, which might fail, if ubuntu.com is not resolvable/reachable from inside the container:

apt-get -q update; apt-get -q -y install jq

This breaks the upgrade; my preferred workaround is to install jq manually before running the upgrade using:
univention-app shell owncloud

At a customer's site we needed to work around a certain proxy and use external DNS to install jq successfully for example. Afterwards the update worked like a charm. 

Make sure to still have the DC master reachable from the UCS host for the joinscript to succeed!
Comment 1 Nico Gulden univentionstaff 2020-03-09 11:31:28 CET
Seems like ownCloud is taking care of this in its app. Furthermore, the app's store_data script is run inside the app container and therefore in the app's context. There is nothing, we can do from the App Center perspective here, I think.
Comment 2 Valentin Heidelberger univentionstaff 2020-03-09 11:38:46 CET
(In reply to Nico Gulden from comment #1)
> Seems like ownCloud is taking care of this in its app. Furthermore, the
> app's store_data script is run inside the app container and therefore in the
> app's context. There is nothing, we can do from the App Center perspective
> here, I think.

Yup, that's correct from my view. I'm just opening bugs in our bugzilla because the problem is specific to UCS and to point people facing this and looking for info here to what's known and issues on other platforms like GitHub.