Nextcloud Update schlägt fehl

nextcloud
update

#1

Hallo,

wir haben einen UCS 4.2 Server der an einen Microsoft AD Server angebunden ist.

Wir hatten Nextcloud installiert, nach einem Update war Nextcloud leider weg.
Wenn ich es nun wieder installieren möchte, bekommen wir folgenden Fehler:

univention-app install nextcloud

Press [ENTER] to continue
Creating data directories for nextcloud…
Copying /var/cache/univention-appcenter/appcenter.software-univention.de/4.1/nextcloud_20170920093639.schema
Registering UCR for nextcloud
Marking 4.1/nextcloud=12.0.3-0 as installed
File: /etc/univention/service.info/services/univention-appcenter.cfg
Multifile: /etc/postgresql/9.4/main/pg_hba.conf
File: /usr/share/univention-portal/apps.json
Setting ports for apache proxy
Multifile: /etc/apache2/sites-available/000-default.conf
Multifile: /etc/apache2/sites-available/default-ssl.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.
Es wurden 0 B in 0 s geholt (0 B/s)
Ausführen von dpkg
Creating database for 4.1/nextcloud=12.0.3-0
Password for nextcloud database in /etc/postgresql-nextcloud.secret
Registering schema /usr/share/univention-appcenter/apps/nextcloud/nextcloud.schema
authentication error: Authentication failed

ERROR: Failed to create settings/ldapschema object.
Registration of schema extension failed (Code: 1)
Aborting…
Going to remove Nextcloud (12.0.3-0)
Die Deinstallation von Nextcloud wird ebenfalls alle Daten entfernen.

Falls diese behalten werden sollen, sollte ein Backup der nextcloud
Datenbank aus PostgreSQL sowie vom Datenordner
/var/lib/univention-appcenter/apps/nextcloud/data angelegt werden, bevor
mit der Deinstallation fortgefahren wird.
Press [ENTER] to continue
No hostdn for nextcloud found. Nothing to remove
Configuring 4.1/nextcloud=12.0.3-0
Removing localhost from LDAP object
Module: create_portal_entries
File: /etc/univention/service.info/services/univention-appcenter.cfg
Multifile: /etc/postgresql/9.4/main/pg_hba.conf
Multifile: /etc/apache2/sites-available/000-default.conf
Multifile: /etc/apache2/sites-available/default-ssl.conf
File: /usr/share/univention-portal/apps.json
Reloading apache2 configuration (via systemctl): apache2.service.
Installing join script /var/cache/univention-appcenter/appcenter.software-univention.de/4.1/nextcloud_20170920093639.uinst
univention-run-join-scripts: runs all join scripts existing on local computer.
copyright © 2001-2017 Univention GmbH, Germany

Running 01univention-ldap-server-init.inst skipped (already executed)
Running 02univention-directory-notifier.inst skipped (already executed)
Running 03univention-directory-listener.inst skipped (already executed)
Running 04univention-ldap-client.inst skipped (already executed)
Running 05univention-bind.inst skipped (already executed)
Running 08univention-apache.inst skipped (already executed)
Running 10univention-ldap-server.inst skipped (already executed)
Running 11univention-heimdal-init.inst skipped (already executed)
Running 11univention-pam.inst skipped (already executed)
Running 15univention-directory-notifier-post.inst skipped (already executed)
Running 15univention-heimdal-kdc.inst skipped (already executed)
Running 18python-univention-directory-manager.inst skipped (already executed)
Running 20univention-directory-policy.inst skipped (already executed)
Running 20univention-join.inst skipped (already executed)
Running 26univention-nagios-common.inst skipped (already executed)
Running 26univention-samba.inst skipped (already executed)
Running 30univention-appcenter.inst skipped (already executed)
Running 30univention-nagios-client.inst skipped (already executed)
Running 31univention-nagios-ad-connector.inst skipped (already executed)
Running 33univention-portal.inst skipped (already executed)
Running 34univention-management-console-server.inst skipped (already executed)
Running 35univention-appcenter-docker.inst skipped (already executed)
Running 35univention-management-console-module-adconnector.inst skipped (already executed)
Running 35univention-management-console-module-appcenter.inst skipped (already executed)
Running 35univention-management-console-module-diagnostic.inst skipped (already executed)
Running 35univention-management-console-module-ipchange.inst skipped (already executed)
Running 35univention-management-console-module-join.inst skipped (already executed)
Running 35univention-management-console-module-lib.inst skipped (already executed)
Running 35univention-management-console-module-mrtg.inst skipped (already executed)
Running 35univention-management-console-module-quota.inst skipped (already executed)
Running 35univention-management-console-module-reboot.inst skipped (already executed)
Running 35univention-management-console-module-services.inst skipped (already executed)
Running 35univention-management-console-module-setup.inst skipped (already executed)
Running 35univention-management-console-module-sysinfo.inst skipped (already executed)
Running 35univention-management-console-module-top.inst skipped (already executed)
Running 35univention-management-console-module-ucr.inst skipped (already executed)
Running 35univention-management-console-module-udm.inst skipped (already executed)
Running 35univention-management-console-module-updater.inst skipped (already executed)
Running 35univention-server-overview.inst skipped (already executed)
Running 36univention-management-console-module-apps.inst skipped (already executed)
Running 40univention-postgresql.inst skipped (already executed)
Running 40univention-virtual-machine-manager-schema.inst skipped (already executed)
Running 81univention-ad-connector.inst skipped (already executed)
Running 81univention-nfs-server.inst skipped (already executed)
Running 90univention-bind-post.inst skipped (already executed)
Running 91univention-saml.inst skipped (already executed)
Running 92univention-management-console-web-server.inst skipped (already executed)
Running 98univention-pkgdb-tools.inst skipped (already executed)
Running 51nextcloud-uninstall.uinst failed (exitcode: 3)
root@nextcloud:/var/lib/univention-ldap/local-schema#


#2

Hallo,

das sollte natürlich nicht sein, war es ein UCS Update oder ein Update der App. Gibt es im Log-File /var/log/univention/appcenter.log noch weitere Hinweise auf die “erste” ungewollte Deinstallation?

VG
Felix