Portal is broken on UCS 4.4-6 DC Master

Hi

After upgrading to UCS 4.4-6, portal page is empty and the link to login page doesn’t work (I can still login to UMC and apps with their direct URL’s). I am using the latest preview version of portal.

I have the following in /var/log/univention/portal.log

  2147 user         20-10-01 20:16:52 [   DEBUG]: no user given
  2147 cache        20-10-01 20:16:52 [   DEBUG]: getting entries from cache
  2147 cache        20-10-01 20:16:52 [   DEBUG]: getting folders from cache
  2147 server       20-10-01 20:16:52 [   ERROR]: Error during service
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/tornado/web.py", line 1467, in _execute
    result = method(*self.path_args, **self.path_kwargs)
  File "/usr/bin/univention-portal-server", line 590, in get
    visible_content = self._get_visible_content(username, admin_mode)
  File "/usr/bin/univention-portal-server", line 548, in _get_visible_content
    folders = cache.get('folders')
  File "/usr/bin/univention-portal-server", line 157, in get
    return self._get_portal(name)
  File "/usr/bin/univention-portal-server", line 174, in _get_portal
    return deepcopy(self._cache[name])
KeyError: 'folders'

Running univention-directory-listener-ctrl resync portal_server returns “waiting for listener modules to finish” five times and “listener shutdown done”, and when I run univention-directory-listener-ctrl resync the line for portal_server is shown red and value of the modules column is 0.

/var/log/univention/listener.log has the following:

01.10.20 20:28:22.846  LISTENER    ( WARN    ) : received signal 15
01.10.20 20:28:28.033  DEBUG_INIT
01.10.20 20:28:28.038  LISTENER    ( WARN    ) : Notifier/LDAP server is *example.example.com*:7389
01.10.20 20:28:28.038  LDAP        ( PROCESS ) : connecting to ldap://*example.example.com*:7389
UNIVENTION_DEBUG_BEGIN  : uldap.__open host=*example.example.com* port=7389 base=dc=gulfeo,dc=com
UNIVENTION_DEBUG_END    : uldap.__open host=*example.example.com* port=7389 base=dc=gulfeo,dc=com
01.10.20 20:28:29.008  LISTENER    ( WARN    ) : initializing module portal_server
01.10.20 20:28:29.038  LISTENER    ( ERROR   ) : could not get DNs when initializing portal_server: Bad search filter

Also following can be found in syslog:

Oct  1 20:16:52 ucs univention-portal-server[2147]: ERROR:tornado.access:500 GET /?v=3.1.0-26 (127.0.0.1) 2.14ms
Oct  1 20:19:23 ucs systemd[1]: Started Univention self service invitation daemon.
Oct  1 20:19:29 ucs systemd[1]: univention-self-service-invitation.service: Main process exited, code=exited, status=1/FAILURE
Oct  1 20:19:29 ucs systemd[1]: univention-self-service-invitation.service: Unit entered failed state.
Oct  1 20:19:29 ucs systemd[1]: univention-self-service-invitation.service: Failed with result 'exit-code'.

I added this information. Everything else but portal is working.

Update to 4.4-6 errata767 fixed this.

But actually when running univention-directory-listener-ctrl resync it is still showing 0 for modules and red color for /usr/lib/univention-directory-listener/system/portal_server.py, even after running univention-directory-listener-ctrl resync portal_server.

Mastodon