UCS 5.0.3 and Nextcloud Installation error

I have the following challenge, installation of nextcloud fails due various missing packages and version mismatches

Installed UCS Version

root@dc1:/tmp# lsb_release -a
No LSB modules are available.
Distributor ID:	Univention
Description:	Debian GNU/Linux 10 (buster)
Release:	10
Codename:	buster


root@dc1:/tmp# tail -n 5 /var/log/univention/updater.log
Starting univention-upgrade. Current UCS version is 5.0-3 errata572

Checking for package updates:                           none
Checking for app updates:                               none
Checking for release updates:                           none

Nextcloud Installation
but why 4.4 License Agreement ???

univention-app install nextcloud
Resolving dependencies for nextcloud
Going to install Nextcloud Hub (24.0.7-1)
Password for Administrator: 
Showing License agreement for 4.4/nextcloud=24.0.7-1

Postgresql Package not found - because only the newer one postgresql-11 available through univention repository

E: Unable to locate package univention-postgresql
Could not install software packages
Aborting...
Resolving dependencies for nextcloud
Going to remove Nextcloud Hub (24.0.7-1)
Showing README for 4.4/nextcloud=24.0.7-1
   Uninstalling Nextcloud keeps your data.

Manual installing :
cat /usr/share/univention-errata-level/maintained-packages.txt | grep postgresql


postgresql-server-dev-11
postgresql-server-dev-all
univention-postgresql
univention-postgresql-11

univention-app install univention-postgresql
univention-app install: error: Unable to find app univention-postgresql. Maybe “/usr/bin/univention-app update” to get the latest list of applications?

→ univention-postgresql are available on maintained package list

any ideas ?

Hi,

some quick hints:
Nextcloud is a Docker-based app and available for UCS 4.4 as well as UCS 5.0.
You can see the “4.4/someapp” for others too.

root@primus:~# univention-app info
UCS: 5.0-3 errata632
Installed: admindiary-backend=1.0 admindiary-frontend=1.0 cups=2.2.1 dhcp-server=12.0 letsencrypt=2.0.0-2 mailserver=12.0 open-xchange-text=7.10.6-ucs1 oxseforucs=7.10.6-ucs3 samba4=4.16 self-service=5.0 self-service-backend=5.0 squid=3.5 ucsschool=5.0 v3 4.4/etherpad-lite=1.8.14-1 4.4/nextcloud=24.0.7-1 4.4/rocketchat=3.18.2 4.4/ucsschool-id-connector=2.2.5 4.4/ucsschool-kelvin-rest-api=1.8.7 4.4/ucsschool-veyon-proxy=4.7.4.14-0 4.3/dudle=1.2.0-1 4.3/ethercalc=1.0

There is not Postgresql-“App” which can be installed by univention-app but you should be able to install the meta-package with univention-install.

Sidenote: lsb_release is not fully correct atm. Until this is fixed (Bug 50634 – os-release still identifies UCS as Debian) better use univention-app info.
hth,
Dirk

Hi,

thanks for response

actual there is no app installed, because my first try with nextcloud did not Work

root@dc1:~# univention-app info
UCS: 5.0-3 errata572
Installed: 
Upgradable: 

I can’t install Postgresql meta-package because only version 11 is available. the version required by nextcloud is not available

root@dc1:~# univention-install postgresql
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package postgresql
root@dc1:~# univention-install postgresql-
postgresql-11             postgresql-client-common  
postgresql-client-11      postgresql-common         
root@dc1:~# univention-install postgresql-

My example with univention-app info should only show that there are other docker based apps like 4.4/nextcloud.
The name og the meta-package to be installed is univention-postgresql. This would normally install the required postgresql.

root@dc1:~# univention-install univention-postgresql
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package univention-postgresql
root@dc1:

Can you explain how to install this meta package, because in my attempt it is not possible, or what am I doing wrong

what happens if you run apt update? wild guess: the repository settings are wrong for some reason.

I think it looks good

root@dc1:~# apt update
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
root@dc1:~# 

no, it doesnt because it would normally go through the configured repositories…
Please check /etc/apt/sources.list.d/*.list for errors. In case there are some, you can try to fix with `ucr commit /etc/apt/sources.list.d/*list"

thanks this fixed my problems

Mastodon