Univention Bugzilla – Bug 47108
Empty portal page on slave - local portal was not created
Last modified: 2021-05-14 16:34:52 CEST
I installed a UCS-4.3-0 slave and joined it to my UCS-4.3-0 master (upgraded from UCS-4.2-4 yesterday). Opening "http://$FQDN_of-slave/" redirects my to an empty portal page - no link to the master or to the UMC on the slave. Even after login as Administrator the portal page stays empty. root@sla33:~# udm settings/portal list DN: cn=domain,cn=portal,cn=univention,dc=phahn,dc=dev background: None cssBackground: None displayName: en_US: Univention Portal displayName: de_DE: Univention Portal displayName: fr_FR: Univention Portal fontColor: None logo: None name: domain portalComputers: cn=dc0,cn=dc,cn=computers,dc=phahn,dc=dev portalComputers: cn=host8,cn=dc,cn=computers,dc=phahn,dc=dev showApps: TRUE showLogin: TRUE showMenu: TRUE showSearch: TRUE showServers: TRUE root@sla33:~# udm settings/portal_entry list | sed 'H;/^./{$!d};x;s/^\n//m;s/^ icon: [0-9A-Za-z+=\n]*//m' DN: cn=umc-domain,cn=portal,cn=univention,dc=phahn,dc=dev activated: TRUE authRestriction: anonymous category: admin description: de_DE: Univention Management Console zur Verwaltung der UCS-Domäne und des lokalen Systems description: en_US: Univention Management Console for administrating the UCS domain and the local system displayName: de_DE: System- und Domäneneinstellungen displayName: en_US: System and domain settings favorite: None link: /univention/management/ name: umc-domain portal: cn=domain,cn=portal,cn=univention,dc=phahn,dc=dev userGroup: None DN: cn=server-overview,cn=portal,cn=univention,dc=phahn,dc=dev activated: TRUE authRestriction: authenticated category: admin description: de_DE: Zeigt eine Übersicht aller UCS Server in der Domäne description: fr_FR: Vue d'ensemble de tous les serveurs UCS du domaine description: en_US: Provide an overview of all UCS server in the domain displayName: de_DE: Serverübersicht displayName: fr_FR: Vue d'ensemble de serveurs displayName: en_US: Server overview favorite: None link: /univention/server-overview/ name: server-overview portal: cn=domain,cn=portal,cn=univention,dc=phahn,dc=dev userGroup: None root@sla33:~# univention-check-join-status Joined successfully root@sla33:~# univention-directory-listener-ctrl status Listener status: run: univention-directory-listener: (pid 7698) 57051s, normally down Current Notifier ID on "dc0.phahn.dev" 1260 Last Notifier ID processed by local Listener: 1260 tail: '/var/lib/univention-ldap/notify/transaction' kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden Last transaction processed: Modules: 3 bind /usr/lib/univention-directory-listener/system/bind.py 3 faillog /usr/lib/univention-directory-listener/system/faillog.py 3 gencertificate /usr/lib/univention-directory-listener/system/gencertificate.py 3 hosteddomains /usr/lib/univention-directory-listener/system/hosteddomains.py 3 keytab-member /usr/lib/univention-directory-listener/system/keytab-member.py 3 keytab /usr/lib/univention-directory-listener/system/keytab.py 3 ldap_extension /usr/lib/univention-directory-listener/system/ldap_extension.py 3 ldap_server /usr/lib/univention-directory-listener/system/ldap_server.py 3 license_uuid /usr/lib/univention-directory-listener/system/license_uuid.py 3 nagios-client /usr/lib/univention-directory-listener/system/nagios-client.py 3 nfs-homes /usr/lib/univention-directory-listener/system/nfs-homes.py 3 nfs-shares /usr/lib/univention-directory-listener/system/nfs-shares.py 3 nscd_update /usr/lib/univention-directory-listener/system/nscd.py 3 nss /usr/lib/univention-directory-listener/system/nss.py 3 pkgdb-watch /usr/lib/univention-directory-listener/system/pkgdb-watch.py 3 portal_entry /usr/lib/univention-directory-listener/system/portal_entry.py 3 portal /usr/lib/univention-directory-listener/system/portal.py 3 quota /usr/lib/univention-directory-listener/system/quota.py 3 replication /usr/lib/univention-directory-listener/system/replication.py 3 udm_extension /usr/lib/univention-directory-listener/system/udm_extension.py 3 umc-service-providers /usr/lib/univention-directory-listener/system/umc-service-providers.py 3 univention-saml-servers /usr/lib/univention-directory-listener/system/univention-saml-servers.py 3 uvmmd-ldap /usr/lib/univention-directory-listener/system/uvmmd-ldap.py 3 uvmmd-nodes /usr/lib/univention-directory-listener/system/uvmmd-nodes.py 3 well-known-sid-name-mapping /usr/lib/univention-directory-listener/system/well-known-sid-name-mapping.py root@sla33:~# find /var/log \( -name apache2 -o -name apt \) -prune -o -type f \( -name \*.gz -exec zgrep portal {} + -o -not -name \*.gz -exec grep portal {} + \) /var/log/univention/management-console-module-updater.log:30.05.18 14:19:33.882 NETWORK ( PROCESS ) : Added univention-portal to the list of upgraded packages /var/log/univention/appcenter.log: 12248 portalentries 18-03-16 14:01:01 [ DEBUG]: Changed: set([]) /var/log/univention/appcenter.log: 32235 portalentries 18-03-16 14:02:58 [ DEBUG]: Changed: set([]) /var/log/univention/appcenter.log: 28486 portalentries 18-03-22 10:14:04 [ DEBUG]: Changed: set([]) /var/log/univention/appcenter.log: 25979 actions.update 18-03-22 10:16:22 [ INFO]: File: /usr/share/univention-portal/apps.json /var/log/univention/appcenter.log: 10575 portalentries 18-05-30 14:23:09 [ DEBUG]: Changed: set([]) /var/log/univention/appcenter.log: 27907 actions.update 18-05-30 14:27:16 [ INFO]: File: /usr/share/univention-portal/apps.json /var/log/univention/directory-manager-cmd.log:30.05.18 13:59:34.835 ADMIN ( ERROR ) : Creating 'cn=portal,cn=univention,dc=phahn,dc=dev' failed: Traceback (most recent call last): /var/log/univention/directory-manager-cmd.log:objectExists: cn=portal,cn=univention,dc=phahn,dc=dev /var/log/univention/directory-manager-cmd.log:30.05.18 13:59:34.964 ADMIN ( ERROR ) : Creating 'cn=portal,cn=custom attributes,cn=univention,dc=phahn,dc=dev' failed: Traceback (most recent call last): /var/log/univention/directory-manager-cmd.log:objectExists: cn=portal,cn=custom attributes,cn=univention,dc=phahn,dc=dev /var/log/univention/join.log:30.05.18 13:57:49.625 LISTENER ( WARN ) : initializing module portal_entry /var/log/univention/join.log:30.05.18 13:57:49.654 LISTENER ( PROCESS ) : Writing image to /usr/share/univention-portal/icons/entries/umc-domain.svg /var/log/univention/join.log:30.05.18 13:57:49.658 LISTENER ( PROCESS ) : Writing image to /usr/share/univention-portal/icons/entries/server-overview.svg /var/log/univention/join.log:30.05.18 13:57:49.660 LISTENER ( WARN ) : finished initializing module portal_entry with rv=0 /var/log/univention/join.log:30.05.18 13:57:49.660 LISTENER ( WARN ) : initializing module portal /var/log/univention/join.log:30.05.18 13:57:49.680 LISTENER ( WARN ) : finished initializing module portal with rv=0 /var/log/univention/join.log:Configure 33univention-portal.inst Wed May 30 13:59:34 CEST 2018 /var/log/univention/join.log:Object exists: cn=portal,cn=univention,dc=phahn,dc=dev /var/log/univention/join.log:Object exists: cn=portal,cn=custom attributes,cn=univention,dc=phahn,dc=dev /var/log/univention/join.log:RUNNING 33univention-portal.inst /var/log/univention/listener.log:30.05.18 13:59:35.665 LISTENER ( WARN ) : DN cn=local,cn=portal,cn=univention,dc=phahn,dc=dev not found! Falling back to hard coded values /var/log/univention/listener.log:30.05.18 13:59:35.666 LISTENER ( PROCESS ) : Writing CSS file /usr/share/univention-portal/portal.css root@sla33:~# ucr search --brief ^version/ version/erratalevel: 89 version/patchlevel: 0 version/releasename: Neustadt version/version: 4.3 root@sla33:~# univention-join did *not* fix it. root@dc0:/usr/lib/univention-install# univention-run-join-scripts --force --run-scripts 33univention-portal.inst fixed it root@dc0:/usr/lib/univention-install# less /var/log/univention/updater.log univention-portal (2.0.1-1A~4.3.0.201803101157) wird eingerichtet ... Neue Version der Konfigurationsdatei /etc/univention/templates/modules/univention_blog.py wird installiert ... Calling joinscript 33univention-portal.inst ... 2018-05-30 13:32:29.110941692+02:00 (in joinscript_init) Joinscript 33univention-portal.inst finished with exitcode 1 Module: univention_blog Object not found: cn=univentionblog,cn=portal,cn=univention,dc=phahn,dc=dev File: /usr/share/univention-portal/apps.json ... univention-portal (2.0.1-2A~4.3.0.201804261419) wird eingerichtet ... Neue Version der Konfigurationsdatei /etc/univention/templates/info/univention-portal.info wird installiert ... Calling joinscript 33univention-portal.inst ... 2018-05-30 13:43:07.038185646+02:00 (in joinscript_init) Joinscript 33univention-portal.inst finished with exitcode 1 File: /usr/share/univention-portal/apps.json File: /etc/apache2/sites-available/univention-portal.conf Module: univention_blog Object not found: cn=univentionblog,cn=portal,cn=univention,dc=phahn,dc=dev Enabling site univention-portal. To activate the new configuration, you need to run: systemctl reload apache2
This issue has been filed against UCS 4.3. UCS 4.3 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.