Nextcloud install Abort Returncode 1 for query

Hello,
after a update failed on the UCS 5.02 i removed nextcloud an want to install it new.
removed postgresql database etc like shown in the deinstallation (ucr …)

When i want to install it new, i got the following error:

Configuring 4.4/nextcloud=24.0.4-0
Creating data directories for nextcloud...
Copying /var/cache/univention-appcenter/appcenter.software-univention.de/4.4/nextcloud_20220818160033.schema
Registering UCR for nextcloud
Marking 4.4/nextcloud=24.0.4-0 as installed
Multifile: /etc/postgresql/11/main/pg_hba.conf
File: /etc/univention/service.info/services/univention-appcenter.cfg
Setting ports for apache proxy
Multifile: /etc/apache2/sites-available/default-ssl.conf
Multifile: /etc/apache2/sites-available/000-default.conf
File: /etc/apache2/sites-available/univention-letsencrypt.conf
Creating /etc/init.d/docker-app-nextcloud
Adding localhost to LDAP object
Setting overview variables
Module: create_portal_entries
Reloading apache2 configuration (via systemctl): apache2.service.
univention-postgresql wurde bereits auf manuell installiert gesetzt.
**Returncode 1 for query**
**Aborting...**
Resolving dependencies for nextcloud
Going to remove Nextcloud Hub (24.0.4-0)
Showing README for 4.4/nextcloud=24.0.4-0
   Die Deinstallation von Nextcloud behält Anwendungs- und Nutzdaten bei.

   Folgende Artefakte bleiben erhalten:

  UCR Variablen

   Diese können mit folgendem Befehl auf dem Host zurückgesetzt werden:

   ucr unset `ucr search --key "^nextcloud" | cut -d ":" -f 1 | grep
   nextcloud | tr '\n' ' '`

  Die Datenbank

   Mit folgenden Befehlen kann die Datenbank bereinigt werden

   su -c "psql -c \"drop database nextcloud\"" - postgres && \
   su -c "dropuser \"nextcloud\"" - postgres && \
   rm /etc/postgresql-nextcloud.secret

   Die erste Befehl löscht die Nextcloud Datenbank in Postgres, der zweite
   Befehl entfernt den Datenbank-Benutzer. Die Dritte tilgt die
   Passwortdatei.

  Nextclouds Anwendungsordner

   Der Anwendungsordner enthält UCS-spezifische Daten, sowie den Nextcloud
   Datenordner. Folgender Befehl löscht den Ordner

   rm -Rf "/var/lib/univention-appcenter/apps/nextcloud"
Press [ENTER] to continue

Has anyone a solution for that? UCS was updated from 4.4 to 5.0

Mastodon