How to install apps from the appcenter on your UCS System via CLI.
Step 1: Check the available command with the tool univention-app.
univention-app --help
usage: univention-app
univention-app is a program to manage Apps from the Univention App Center
optional arguments:
-h, --help show this help message and exit
subcommands:
type univention-app <action> --help for further help and possible
arguments
action
configure Configure an app
crestart CRestart an app
dev-populate-appcenter
To be called after dev-setup-local-appcenter! Puts
meta data (like ini file) and packages in the correct
directories. Generates other meta files for the App
Center to work
dev-regenerate-meta-inf
In order to work correctly as an App Center server,
certain cache files need to be present for clients to
download. These are (re)generated automatically by
this function
dev-set Sets attributes for an App and clears cache. Also
works for files like README, store_data
dev-setup-local-appcenter
Sets up this host as an App Center server and
configures the App Center module to use it. WARNING:
the actual app server is overwritten
dev-test Tests an App
dev-test-setup Test environment setup
dev-use-test-appcenter
Uses the Apps in the Test App Center. Used for testing
Apps not yet published.
domain Domain management
get Query an app
info Show general info
install Install an app
list List all apps
logs Get log output of an app.
pin Pins or unpins an app version
register Registers an app
reinitialize Reinitilize Docker App. Mainly used internally.
remove Uninstall an app
restart Restart an app
shell Run in app env
stall Stalls an app
start Start an app
status Retrieve status of an app
stop Stop an app
update Updates the list of apps
update-certificates
Update certificates for an app
update-check Check for all locally installed Apps if they are
available in the next UCS version
upgrade Upgrade an app
upgrade-search Searches for upgrades
Step 2: List all available apps from the appcenter
univention-app list
Step 3: Install apps from the appcenter in the latest available version
If you want to install apps frome the appcenter via terminal:
univention-app install "appname"
for example
univention-app install openproject
Step 3: Install apps frome the appcenter with a specific version
for example
univention-app list openproject (list availble versions)
openproject
Name: OpenProject
Versions:
12.2.2
8.1.0
8.1.0-ucs-1
8.1.0-ucs-2
8.2.0
8.2.1
8.3.1
8.3.2
9.0.2
10.2.0
10.2.1
10.3.0
10.4.0
10.6.4
11.0.0
11.1.0
11.2.1
11.3.2
12.0.4
12.0.5
12.0.6
12.0.7
5.0.15
5.0.17
6.1.5
7.1.0
7.2.3
7.3.1
For using the specific version you have to use appname=version-number
univention-app install openproject=12.0.7