Nextcloud Join Script funktioniert nicht

german
nextcloud

#1

Hi

habe gerade Nextcloud in UCS 4.2 installiert. Nachdem ich mich weder mit dem Administrator noch mit einem User anmelden konnte habe ich festgestellt, daß das Join-Script für Nextcloud nicht durchläuft.

Im log taucht folgender Fehler auf:

dpkg-query: Kein Paket gefunden, das auf univention-ldap-overlay-memberof passt

Habt Ihr eine Lösung für das Problem.

Danke und Gruß,
Joachim


#2

Moin,

ich entnehme dem, das es mindestens zwei Server sind, ein UCS-Master sowie ein backup oder slave auf dem nextcloud läuft.

was sagt denn

apt-cache policy univention-ldap-overlay-memberof

auf dem Master und dem zweiten System?

Vermutlich wurde das overlay nur auf dem Master installiert aber nicht auf dem zweiten System.

Dann sollte das paket univention-ldap-overlay-memberof dort nachinstalliert werden.

Viele Grüße von der bytemine GmbH


#3

Servus,

ich habe nur einen UCS-Master einen Slave habe ich noch nicht aufgesetzt.

Das Ergebnis von apt-cache policy univention-ldap-overlay-memberof ist:

univention-ldap-overlay-memberof:
  Installiert:           (keine)
  Installationskandidat: 9.0.0-1A~4.2.0.201701292156
  Versionstabelle:
     9.0.0-1A~4.2.0.201701292156 0
        500 https://updates.software-univention.de/4.2/maintained/ 4.2-0/all/ Packages
     8.0.1-1.27.201511032358 0
        500 https://updates.software-univention.de/4.1/maintained/ 4.1-0/all/ Packages
     7.0.0-1.26.201410151528 0
        500 https://updates.software-univention.de/4.0/maintained/ 4.0-0/all/ Packages

Habe nun mit

apt-get install univention-ldap-overlay-memberof

das Paket nachinstalliert und das Join-Script nochmal gestartet.
Leider ist nun die Nextcloud Seite überhaupt nicht mehr aufrufbar.

Ist schon eigenartig das Paket univention-ldap-overlay-memberof müsste doch automatisch mit Nextcloud installiert werden…

Ich deinstalliere nun Nextcloud und installiere es noch einmal.

Melde mich danach noch mal.

Beste Grüße,
Joachim Schweidler


#4

Hallo,

ich glaube nicht, dass das hier wirklich das Problem ist:

dpkg-query: Kein Paket gefunden, das auf univention-ldap-overlay-memberof passt

Das Joinscript von Nextcloud prüft zwar, ob univention-ldap-overlay-memberof installiert ist, das ist aber nur eine Empfehlung und keine Voraussetzung und das Joinscript dürfte da eigentlich nicht hart aussteigen (vgl. https://github.com/nextcloud/univention-app/blob/master/inst#L92)

Ich vermute das Problem woanders. Kannst du die gesamte join.log hier anhängen?

Gruß, Michael


#5

Hallo,

ich kann Dir bei der Problemlösung leider auch nicht weiterhelfen, allerdings habe bzw. “hatte” ich dasselbe Problem. Nachdem ich mir dachte, dass ich vielleicht erst den UCS restarten müsste, damit es funktioniert, komme ich nun garnicht mehr auf die Nextcloud Oberfläche, siehe:

Mit freundlichem Gruß,
nichauser


#6

Hallo zusammen,

nach der Deinstallation wollte ich Nextcloud neu installieren was auch fehlschlug, wahrscheinlich weil das join-script nach dem Uninstall nicht ausgeführt werden konnte.

Anbei noch das join.log (bekomme es leider nicht ganz rein wg. Beschränkung der Zeichenanzahl)

univention-run-join-scripts started
Di 28. Nov 13:46:49 CET 2017

RUNNING 01univention-ldap-server-init.inst
EXITCODE=already_executed
RUNNING 02univention-directory-notifier.inst
EXITCODE=already_executed
RUNNING 03univention-directory-listener.inst
EXITCODE=already_executed
RUNNING 04univention-ldap-client.inst
EXITCODE=already_executed
RUNNING 05univention-bind.inst
EXITCODE=already_executed
RUNNING 08univention-apache.inst
EXITCODE=already_executed
RUNNING 10univention-ldap-server.inst
EXITCODE=already_executed
RUNNING 11univention-heimdal-init.inst
EXITCODE=already_executed
RUNNING 11univention-pam.inst
EXITCODE=already_executed
RUNNING 15univention-directory-notifier-post.inst
EXITCODE=already_executed
RUNNING 15univention-heimdal-kdc.inst
EXITCODE=already_executed
RUNNING 18python-univention-directory-manager.inst
EXITCODE=already_executed
RUNNING 20univention-directory-policy.inst
EXITCODE=already_executed
RUNNING 20univention-join.inst
EXITCODE=already_executed
RUNNING 26univention-nagios-common.inst
EXITCODE=already_executed
RUNNING 28univention-nagios-server.inst
EXITCODE=already_executed
RUNNING 30univention-appcenter.inst
EXITCODE=already_executed
RUNNING 30univention-nagios-client.inst
EXITCODE=already_executed
RUNNING 33univention-portal.inst
EXITCODE=already_executed
RUNNING 34univention-management-console-server.inst
EXITCODE=already_executed
RUNNING 34univention-self-service.inst
EXITCODE=already_executed
RUNNING 35univention-appcenter-docker.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-appcenter.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-diagnostic.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-ipchange.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-join.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-lib.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-mrtg.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-quota.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-reboot.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-services.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-setup.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-sysinfo.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-top.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-ucr.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-udm.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-updater.inst
EXITCODE=already_executed
RUNNING 35univention-nagios-cups.inst
EXITCODE=already_executed
RUNNING 35univention-nagios-dansguardian.inst
EXITCODE=already_executed
RUNNING 35univention-nagios-squid.inst
EXITCODE=already_executed
RUNNING 35univention-self-service-passwordreset-umc.inst
EXITCODE=already_executed
RUNNING 35univention-server-overview.inst
EXITCODE=already_executed
RUNNING 36univention-management-console-module-apps.inst
EXITCODE=already_executed
RUNNING 38univention-management-console-module-oxldb.inst
EXITCODE=already_executed
RUNNING 40univention-postgresql.inst
EXITCODE=already_executed
RUNNING 40univention-virtual-machine-manager-schema.inst
EXITCODE=already_executed
RUNNING 50nextcloud.inst
2017-11-28 13:46:54.975474794+01:00 (in joinscript_init)
Object exists: cn=services,cn=univention,dc=joeshome,dc=intranet
Object exists: cn=Nextcloud,cn=services,cn=univention,dc=joeshome,dc=intranet
WARNING: cannot append Nextcloud to service, value exists
No modification: cn=ucs,cn=dc,cn=computers,dc=joeshome,dc=intranet
Not updating nextcloud/ucs/modifyUsersFilter
Not updating nextcloud/ucs/userEnabled
Not updating nextcloud/ucs/userQuota
Not updating nextcloud/ldap/cacheTTL
Not updating nextcloud/ldap/homeFolderAttribute
Not updating nextcloud/ldap/userSearchAttributes
Not updating nextcloud/ldap/userDisplayName
Not updating nextcloud/ldap/groupDisplayName
Not updating nextcloud/ldap/base
Not updating nextcloud/ldap/baseUsers
Not updating nextcloud/ldap/baseGroups
Not updating nextcloud/ldap/filterLogin
Not updating nextcloud/ldap/filterUsers
Not updating nextcloud/ldap/filterGroups
dpkg-query: Kein Paket gefunden, das auf univention-ldap-overlay-memberof passt
Object exists: cn=ldapschema,cn=univention,dc=joeshome,dc=intranet
INFO: No change of core data of object nextcloud.
No modification: cn=nextcloud,cn=ldapschema,cn=univention,dc=joeshome,dc=intranet

Waiting for activation of the extension object nextcloud: OK
Object exists: cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
E: Object exists: cn=nextcloudUserEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
No modification: cn=nextcloudUserEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
E: Object exists: cn=nextcloudUserQuota,cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
No modification: cn=nextcloudUserQuota,cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
E: Object exists: cn=nextcloudGroupEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
No modification: cn=nextcloudGroupEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
curl: (3) <url> malformed
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (51) SSL: no alternative certificate subject name matches target host name 'ucs.joeshome.intranet'
EXITCODE=0
RUNNING 50wordpress.inst
EXITCODE=already_executed
RUNNING 62univention-bareos.inst
EXITCODE=already_executed
RUNNING 65univention-ox.inst
EXITCODE=already_executed
RUNNING 67univention-mail-server.inst
EXITCODE=already_executed
RUNNING 80univention-radius.inst
EXITCODE=already_executed
RUNNING 81univention-nfs-server.inst
EXITCODE=already_executed
RUNNING 82univention-mail-dovecot.inst
EXITCODE=already_executed
RUNNING 90univention-bind-post.inst
EXITCODE=already_executed
RUNNING 91univention-saml.inst
EXITCODE=already_executed
RUNNING 92univention-management-console-web-server.inst
EXITCODE=already_executed
RUNNING 98univention-pkgdb-tools.inst
EXITCODE=already_executed

Di 28. Nov 13:47:01 CET 2017
univention-run-join-scripts finished


univention-run-join-scripts started
Di 28. Nov 16:59:42 CET 2017

RUNNING 50nextcloud.inst
2017-11-28 16:59:47.286667131+01:00 (in joinscript_init)
Object exists: cn=services,cn=univention,dc=joeshome,dc=intranet
Object exists: cn=Nextcloud,cn=services,cn=univention,dc=joeshome,dc=intranet
WARNING: cannot append Nextcloud to service, value exists
No modification: cn=ucs,cn=dc,cn=computers,dc=joeshome,dc=intranet
Not updating nextcloud/ucs/modifyUsersFilter
Not updating nextcloud/ucs/userEnabled
Not updating nextcloud/ucs/userQuota
Not updating nextcloud/ldap/cacheTTL
Not updating nextcloud/ldap/homeFolderAttribute
Not updating nextcloud/ldap/userSearchAttributes
Not updating nextcloud/ldap/userDisplayName
Not updating nextcloud/ldap/groupDisplayName
Not updating nextcloud/ldap/base
Not updating nextcloud/ldap/baseUsers
Not updating nextcloud/ldap/baseGroups
Not updating nextcloud/ldap/filterLogin
Not updating nextcloud/ldap/filterUsers
Not updating nextcloud/ldap/filterGroups
Object exists: cn=ldapschema,cn=univention,dc=joeshome,dc=intranet
INFO: No change of core data of object nextcloud.
No modification: cn=nextcloud,cn=ldapschema,cn=univention,dc=joeshome,dc=intranet

Waiting for activation of the extension object nextcloud: OK
Object exists: cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
E: Object exists: cn=nextcloudUserEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
No modification: cn=nextcloudUserEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
E: Object exists: cn=nextcloudUserQuota,cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
No modification: cn=nextcloudUserQuota,cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
E: Object exists: cn=nextcloudGroupEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
No modification: cn=nextcloudGroupEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
curl: (3) <url> malformed
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (51) SSL: no alternative certificate subject name matches target host name 'ucs.joeshome.intranet'
EXITCODE=0

Di 28. Nov 16:59:53 CET 2017
univention-run-join-scripts finished


univention-run-join-scripts started
Di 28. Nov 17:06:02 CET 2017

RUNNING 50nextcloud.inst
2017-11-28 17:06:05.739301982+01:00 (in joinscript_init)
Object exists: cn=services,cn=univention,dc=joeshome,dc=intranet
Object exists: cn=Nextcloud,cn=services,cn=univention,dc=joeshome,dc=intranet
WARNING: cannot append Nextcloud to service, value exists
No modification: cn=ucs,cn=dc,cn=computers,dc=joeshome,dc=intranet
Not updating nextcloud/ucs/modifyUsersFilter
Not updating nextcloud/ucs/userEnabled
Not updating nextcloud/ucs/userQuota
Not updating nextcloud/ldap/cacheTTL
Not updating nextcloud/ldap/homeFolderAttribute
Not updating nextcloud/ldap/userSearchAttributes
Not updating nextcloud/ldap/userDisplayName
Not updating nextcloud/ldap/groupDisplayName
Not updating nextcloud/ldap/base
Not updating nextcloud/ldap/baseUsers
Not updating nextcloud/ldap/baseGroups
Not updating nextcloud/ldap/filterLogin
Not updating nextcloud/ldap/filterUsers
Not updating nextcloud/ldap/filterGroups
Object exists: cn=ldapschema,cn=univention,dc=joeshome,dc=intranet
INFO: No change of core data of object nextcloud.
No modification: cn=nextcloud,cn=ldapschema,cn=univention,dc=joeshome,dc=intranet

Waiting for activation of the extension object nextcloud: OK
Object exists: cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
E: Object exists: cn=nextcloudUserEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
No modification: cn=nextcloudUserEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
E: Object exists: cn=nextcloudUserQuota,cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
No modification: cn=nextcloudUserQuota,cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
E: Object exists: cn=nextcloudGroupEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
No modification: cn=nextcloudGroupEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
curl: (3) <url> malformed
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (51) SSL: no alternative certificate subject name matches target host name 'ucs.joeshome.intranet'
EXITCODE=0

Di 28. Nov 17:06:12 CET 2017
univention-run-join-scripts finished


univention-run-join-scripts started
Di 28. Nov 17:12:30 CET 2017

RUNNING 01univention-ldap-server-init.inst
EXITCODE=already_executed
RUNNING 02univention-directory-notifier.inst
EXITCODE=already_executed
RUNNING 03univention-directory-listener.inst
EXITCODE=already_executed
RUNNING 04univention-ldap-client.inst
EXITCODE=already_executed
RUNNING 05univention-bind.inst
EXITCODE=already_executed
RUNNING 08univention-apache.inst
EXITCODE=already_executed
RUNNING 10univention-ldap-server.inst
EXITCODE=already_executed
RUNNING 11univention-heimdal-init.inst
EXITCODE=already_executed
RUNNING 11univention-pam.inst
EXITCODE=already_executed
RUNNING 15univention-directory-notifier-post.inst
EXITCODE=already_executed
RUNNING 15univention-heimdal-kdc.inst
EXITCODE=already_executed
RUNNING 18python-univention-directory-manager.inst
EXITCODE=already_executed
RUNNING 20univention-directory-policy.inst
EXITCODE=already_executed
RUNNING 20univention-join.inst
EXITCODE=already_executed
RUNNING 26univention-nagios-common.inst
EXITCODE=already_executed
RUNNING 28univention-nagios-server.inst
EXITCODE=already_executed
RUNNING 30univention-appcenter.inst
EXITCODE=already_executed
RUNNING 30univention-nagios-client.inst
EXITCODE=already_executed
RUNNING 33univention-portal.inst
EXITCODE=already_executed
RUNNING 34univention-management-console-server.inst
EXITCODE=already_executed
RUNNING 34univention-self-service.inst
EXITCODE=already_executed
RUNNING 35univention-appcenter-docker.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-appcenter.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-diagnostic.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-ipchange.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-join.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-lib.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-mrtg.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-quota.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-reboot.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-services.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-setup.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-sysinfo.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-top.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-ucr.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-udm.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-updater.inst
EXITCODE=already_executed
RUNNING 35univention-nagios-cups.inst
EXITCODE=already_executed
RUNNING 35univention-nagios-dansguardian.inst
EXITCODE=already_executed
RUNNING 35univention-nagios-squid.inst
EXITCODE=already_executed
RUNNING 35univention-self-service-passwordreset-umc.inst
EXITCODE=already_executed
RUNNING 35univention-server-overview.inst
EXITCODE=already_executed
RUNNING 36univention-management-console-module-apps.inst
EXITCODE=already_executed
RUNNING 38univention-management-console-module-oxldb.inst
EXITCODE=already_executed
RUNNING 40univention-postgresql.inst
EXITCODE=already_executed
RUNNING 40univention-virtual-machine-manager-schema.inst
EXITCODE=already_executed
RUNNING 50wordpress.inst
EXITCODE=already_executed
RUNNING 62univention-bareos.inst
EXITCODE=already_executed
RUNNING 65univention-ox.inst
EXITCODE=already_executed
RUNNING 67univention-mail-server.inst
EXITCODE=already_executed
RUNNING 80univention-radius.inst
EXITCODE=already_executed
RUNNING 81univention-nfs-server.inst
EXITCODE=already_executed
RUNNING 82univention-mail-dovecot.inst
EXITCODE=already_executed
RUNNING 90univention-bind-post.inst
EXITCODE=already_executed
RUNNING 91univention-saml.inst
EXITCODE=already_executed
RUNNING 92univention-management-console-web-server.inst
EXITCODE=already_executed
RUNNING 98univention-pkgdb-tools.inst
EXITCODE=already_executed
RUNNING 51nextcloud-uninstall.uinst
2017-11-28 17:12:37.196279559+01:00 (in joinscript_init)
Object modified: cn=ucs,cn=dc,cn=computers,dc=joeshome,dc=intranet
Object removed: cn=Nextcloud,cn=services,cn=univention,dc=joeshome,dc=intranet
Object removed: cn=nextcloud,cn=custom attributes,cn=univention,dc=joeshome,dc=intranet
No handlers could be found for logger "univention.service_info"
Unsetting nextcloud/autostart
Unsetting nextcloud/ldap/base
Unsetting nextcloud/ldap/baseGroups
Unsetting nextcloud/ldap/baseUsers
Unsetting nextcloud/ldap/cacheTTL
Unsetting nextcloud/ldap/filterGroups
Unsetting nextcloud/ldap/filterLogin
Unsetting nextcloud/ldap/filterUsers
Unsetting nextcloud/ldap/groupDisplayName
Unsetting nextcloud/ldap/homeFolderAttribute
Unsetting nextcloud/ldap/userDisplayName
Unsetting nextcloud/ldap/userSearchAttributes
Unsetting nextcloud/ucs/modifyUsersFilter
Unsetting nextcloud/ucs/userEnabled
Unsetting nextcloud/ucs/userQuota
Module: autostart
Module: ox-config
psql: konnte nicht mit dem Server verbinden: Datei oder Verzeichnis nicht gefunden
Läuft der Server lokal und akzeptiert er Verbindungen
auf dem Unix-Domain-Socket »/var/run/postgresql/.s.PGSQL.5432«?
EXITCODE=2

Di 28. Nov 17:12:47 CET 2017
univention-run-join-scripts finished


univention-run-join-scripts started
Di 28. Nov 17:17:42 CET 2017

RUNNING 01univention-ldap-server-init.inst
EXITCODE=already_executed
RUNNING 02univention-directory-notifier.inst
EXITCODE=already_executed
RUNNING 03univention-directory-listener.inst
EXITCODE=already_executed
RUNNING 04univention-ldap-client.inst
EXITCODE=already_executed
RUNNING 05univention-bind.inst
EXITCODE=already_executed
RUNNING 08univention-apache.inst
EXITCODE=already_executed
RUNNING 10univention-ldap-server.inst
EXITCODE=already_executed
RUNNING 11univention-heimdal-init.inst
EXITCODE=already_executed
RUNNING 11univention-pam.inst
EXITCODE=already_executed
RUNNING 15univention-directory-notifier-post.inst
EXITCODE=already_executed
RUNNING 15univention-heimdal-kdc.inst
EXITCODE=already_executed
RUNNING 18python-univention-directory-manager.inst
EXITCODE=already_executed
RUNNING 20univention-directory-policy.inst
EXITCODE=already_executed
RUNNING 20univention-join.inst
EXITCODE=already_executed
RUNNING 26univention-nagios-common.inst
EXITCODE=already_executed
RUNNING 28univention-nagios-server.inst
EXITCODE=already_executed
RUNNING 30univention-appcenter.inst
EXITCODE=already_executed
RUNNING 30univention-nagios-client.inst
EXITCODE=already_executed
RUNNING 33univention-portal.inst
EXITCODE=already_executed
RUNNING 34univention-management-console-server.inst
EXITCODE=already_executed
RUNNING 34univention-self-service.inst
EXITCODE=already_executed
RUNNING 35univention-appcenter-docker.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-appcenter.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-diagnostic.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-ipchange.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-join.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-lib.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-mrtg.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-quota.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-reboot.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-services.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-setup.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-sysinfo.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-top.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-ucr.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-udm.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-updater.inst
EXITCODE=already_executed
RUNNING 35univention-nagios-cups.inst
EXITCODE=already_executed
RUNNING 35univention-nagios-dansguardian.inst
EXITCODE=already_executed
RUNNING 35univention-nagios-squid.inst
EXITCODE=already_executed
RUNNING 35univention-self-service-passwordreset-umc.inst
EXITCODE=already_executed
RUNNING 35univention-server-overview.inst
EXITCODE=already_executed
RUNNING 36univention-management-console-module-apps.inst
EXITCODE=already_executed
RUNNING 38univention-management-console-module-oxldb.inst
EXITCODE=already_executed
RUNNING 40univention-postgresql.inst
EXITCODE=already_executed
RUNNING 40univention-virtual-machine-manager-schema.inst
EXITCODE=already_executed
RUNNING 50wordpress.inst
EXITCODE=already_executed
RUNNING 62univention-bareos.inst
EXITCODE=already_executed
RUNNING 65univention-ox.inst
EXITCODE=already_executed
RUNNING 67univention-mail-server.inst
EXITCODE=already_executed
RUNNING 80univention-radius.inst
EXITCODE=already_executed
RUNNING 81univention-nfs-server.inst
EXITCODE=already_executed
RUNNING 82univention-mail-dovecot.inst
EXITCODE=already_executed
RUNNING 90univention-bind-post.inst
EXITCODE=already_executed
RUNNING 91univention-saml.inst
EXITCODE=already_executed
RUNNING 92univention-management-console-web-server.inst
EXITCODE=already_executed
RUNNING 98univention-pkgdb-tools.inst
EXITCODE=already_executed
RUNNING 51nextcloud-uninstall.uinst
2017-11-28 17:17:48.496355522+01:00 (in joinscript_init)
WARNING: cannot remove Nextcloud from service, value does not exist
No modification: cn=ucs,cn=dc,cn=computers,dc=joeshome,dc=intranet
E: object not found
EXITCODE=3

Di 28. Nov 17:17:50 CET 2017
univention-run-join-scripts finished


univention-run-join-scripts started
Di 28. Nov 17:21:27 CET 2017

RUNNING 01univention-ldap-server-init.inst
EXITCODE=already_executed
RUNNING 02univention-directory-notifier.inst
EXITCODE=already_executed
RUNNING 03univention-directory-listener.inst
EXITCODE=already_executed
RUNNING 04univention-ldap-client.inst
EXITCODE=already_executed
RUNNING 05univention-bind.inst
EXITCODE=already_executed
RUNNING 08univention-apache.inst
EXITCODE=already_executed
RUNNING 10univention-ldap-server.inst
EXITCODE=already_executed
RUNNING 11univention-heimdal-init.inst
EXITCODE=already_executed
RUNNING 11univention-pam.inst
EXITCODE=already_executed
RUNNING 15univention-directory-notifier-post.inst
EXITCODE=already_executed
RUNNING 15univention-heimdal-kdc.inst
EXITCODE=already_executed
RUNNING 18python-univention-directory-manager.inst
EXITCODE=already_executed
RUNNING 20univention-directory-policy.inst
EXITCODE=already_executed
RUNNING 20univention-join.inst
EXITCODE=already_executed
RUNNING 26univention-nagios-common.inst
EXITCODE=already_executed
RUNNING 28univention-nagios-server.inst
EXITCODE=already_executed
RUNNING 30univention-appcenter.inst
EXITCODE=already_executed
RUNNING 30univention-nagios-client.inst
EXITCODE=already_executed
RUNNING 33univention-portal.inst
EXITCODE=already_executed
RUNNING 34univention-management-console-server.inst
EXITCODE=already_executed
RUNNING 34univention-self-service.inst
EXITCODE=already_executed
RUNNING 35univention-appcenter-docker.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-appcenter.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-diagnostic.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-ipchange.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-join.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-lib.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-mrtg.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-quota.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-reboot.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-services.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-setup.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-sysinfo.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-top.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-ucr.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-udm.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-updater.inst
EXITCODE=already_executed
RUNNING 35univention-nagios-cups.inst
EXITCODE=already_executed
RUNNING 35univention-nagios-dansguardian.inst
EXITCODE=already_executed
RUNNING 35univention-nagios-squid.inst
EXITCODE=already_executed
RUNNING 35univention-self-service-passwordreset-umc.inst
EXITCODE=already_executed
RUNNING 35univention-server-overview.inst
EXITCODE=already_executed
RUNNING 36univention-management-console-module-apps.inst
EXITCODE=already_executed
RUNNING 38univention-management-console-module-oxldb.inst
EXITCODE=already_executed
RUNNING 40univention-postgresql.inst
EXITCODE=already_executed
RUNNING 40univention-virtual-machine-manager-schema.inst
EXITCODE=already_executed
RUNNING 50wordpress.inst
EXITCODE=already_executed
RUNNING 62univention-bareos.inst
EXITCODE=already_executed
RUNNING 65univention-ox.inst
EXITCODE=already_executed
RUNNING 67univention-mail-server.inst
EXITCODE=already_executed
RUNNING 80univention-radius.inst
EXITCODE=already_executed
RUNNING 81univention-nfs-server.inst
EXITCODE=already_executed
RUNNING 82univention-mail-dovecot.inst
EXITCODE=already_executed
RUNNING 90univention-bind-post.inst
EXITCODE=already_executed
RUNNING 91univention-saml.inst
EXITCODE=already_executed
RUNNING 92univention-management-console-web-server.inst
EXITCODE=already_executed
RUNNING 98univention-pkgdb-tools.inst
EXITCODE=already_executed
RUNNING 51nextcloud-uninstall.uinst
2017-11-28 17:21:32.994229719+01:00 (in joinscript_init)
WARNING: cannot remove Nextcloud from service, value does not exist
No modification: cn=ucs,cn=dc,cn=computers,dc=joeshome,dc=intranet
E: object not found
EXITCODE=3

Di 28. Nov 17:21:35 CET 2017
univention-run-join-scripts finished


univention-run-join-scripts started
Mi 29. Nov 09:00:35 CET 2017

RUNNING 51nextcloud-uninstall.uinst
2017-11-29 09:00:40.370418839+01:00 (in joinscript_init)
WARNING: cannot remove Nextcloud from service, value does not exist
No modification: cn=ucs,cn=dc,cn=computers,dc=joeshome,dc=intranet
E: object not found
EXITCODE=3

Mi 29. Nov 09:00:43 CET 2017
univention-run-join-scripts finished

Danke Euch
Joachim


#7

Hallo,

ich glaube das Zertifikat ist das Problem:

curl: (51) SSL: no alternative certificate subject name matches target host name 'ucs.joeshome.intranet'

Der Host heißt ucs.joeshome.intranet, aber das Zertifikat ist offenbar auf einen anderen Hostnamen ausgestellt und die Zertifikatsprüfung schlägt daher fehl. Ich würde temporär das selbstsignierte Zertifikat von UCS für Apache reaktivieren und dann das Joinscript nochmal ausführen. Ist das Zertifikat von Let’s Encrypt? Wenn wir mal davon ausgehen, wären die Schritte so (aber bitte auf die Pfade aufpassen, ob die bei dir wirklich die selben sind!):

$ ucr search --brief apache2/ssl/{cert,key}
apache2/ssl/certificate: /etc/univention/letsencrypt/signed.crt
apache2/ssl/certificatechain: /etc/univention/letsencrypt/intermediate.pem
apache2/ssl/key: /etc/univention/letsencrypt/domain.key
ucr unset apache2/ssl/certificate \
          apache2/ssl/certificatechain \
          apache2/ssl/key
systemctl restart apache2.service
univention-run-join-scripts
ucr set apache2/ssl/certificate="/etc/univention/letsencrypt/signed.crt" \
        apache2/ssl/certificatechain="/etc/univention/letsencrypt/intermediate.pem" \
        apache2/ssl/key="/etc/univention/letsencrypt/domain.key"
systemctl restart apache2.service

#8

Hi Grandjean,

habe die Schritte, die Du vorgeschlagen hast durchgeführt.
Möglicherweise funktioniert das Procedere bei einer Neuinstallation aber leider schlägt das uninstall-script für Nextcloud schon fehl…

RUNNING 51nextcloud-uninstall.uinst
2017-11-29 14:16:38.298929197+01:00 (in joinscript_init)
WARNING: cannot remove Nextcloud from service, value does not exist
No modification: cn=ucs,cn=dc,cn=computers,dc=joeshome,dc=intranet
E: object not found
EXITCODE=3

Mi 29. Nov 14:16:42 CET 2017
univention-run-join-scripts finished

Ich würde Deinen Vorschlag gerne noch mal testen, wenn das uninstall-script durchgelaufen ist. Hast Du dafür eine Idee?

Danke und Gruß,
Joachim


#9

Hey,

hier kann ich dir jetzt wiederrum weiterhelfen, da ich bei meinem Versuch das Problem mit den nicht Erfolgreich anmelden, und nicht mehr auf die Nextcloud Seite zu kommen, auch versucht habe Nextcloud zu deinstallieren und anschließend neu zu installieren.

Deine Deinstallation sollte schon korrekt durchgelaufen sein, nur das Join-Skript scheint hängen zu bleiben, dies siehst du auch, wenn du unter Domäne > Domänenbeitritt schaust, wird hinter dem Skript “51nextcloud-uninstall” vermutlich ein “ausstehend” oder ähnliches zu finden sein.

Hierbei hat mir folgende Beschreibung aus dem Forum geholfen:

Anschließend konnte ich Nextcloud erneut installieren. Allerdings hat das bei mir nicht zum Erfolg geführt.

Mit freundlichem Gruß,
nichauser


#10

Hi nichauser,

Dein Tip hat funktioniert. Ich konnte danach nextcloud neu installieren.
Wie @Grandjean geschrieben hat, habe ich vor der Neuinstallation von nextcloud die Zertifikate auf die SelfSIgned Zertifikate zurückgestellt und danach wieder auf die LetsEncrypt Zertifikate eingestellt.

Jetzt funktioniert Nextcloud einwandfrei.

Danke Euch allen für Eure kompetente Hilfe,
Joachim