Bug 48016 - univention-app upgrade doesn't check if the specified app is installed
univention-app upgrade doesn't check if the specified app is installed
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-10-18 14:05 CEST by Valentin Heidelberger
Modified: 2018-10-18 14:07 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.017
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
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 2018-10-18 14:05:18 CEST
univention-app upgrade <app> does not seem to check whether <app> is actually installed. This does not cause actual problems at the moment afaik, the output is just a little confusing, especially in the case of docker apps.

Installed: 4.2/owncloud=10.0.9-20180720

Trying to upgrade a not-installed docker app:
root@master:~# univention-app upgrade nextcloud
Going to upgrade Nextcloud (13.0.7-0)
Password for Administrator: 
nextcloud is not supported
Could not start the app container. It needs to be running to be upgraded!
Aborting...
nextcloud is not supported

Trying to upgrade a not-installed non-docker app:
root@master:~# univention-app upgrade letsencrypt
A newer version of letsencrypt than the one installed must be present and chosen
Comment 1 Valentin Heidelberger univentionstaff 2018-10-18 14:07:39 CEST
$ univention-app --help
...
install       Install an app
...
upgrade       Upgrade an app
...