Upgrade to 5 breaks portal access

Hi I have upgraded to version 5 and kopano, nextcloud, wiki all works fine.
Though I am not able to login into the portal.
Following is in the log when I try to login as me:
Aug 12 15:06:45 mail univention-portal-server[25076]: searching user for cookies={‘UMCLang’: ‘en-US’, ‘UMCSessionId’: ‘92010ec0-17c9-43d2-8300-c390ddd7b90c’, ‘lang’: ‘en_GB.UTF-8’, ‘_ga’: ‘GA1.2.1402801928.1634748022’, ‘PHPSESSID’: ‘0eeaad184555dfc0e3ca0afdbec934ba’, ‘event_filter’: ‘all’, ‘sidebar_collapsed’: ‘false’, ‘bluespiceCalumma_state’: ‘%7B%22Calumma_desktop-view%22%3A%22true%22%7D’, ‘bluespice_MWCookieConsent’: ‘%7B%22groups%22%3A%7B%22necessary%22%3Atrue%2C%22convenience%22%3Atrue%7D%7D’, ‘bluespiceUserName’: ‘Robert’, ‘VEE’: ‘visualeditor’, ‘__Secure-encryption-store-key’: ‘fe9f2b257050b3db80b62b88ae934b4f’, ‘__Secure-KOPANO_WEBAPP’: ‘29ntofeeoq85hun9n90ntoev2h’, ‘bluespice_session’: ‘ognvd3fpi3nb0p4p3t7bvhqus1c3hl0j’, ‘bluespicenotificationFlag’: ‘1’}
Aug 12 15:06:45 mail univention-portal-server[25076]: DEBUG:univention.portal.user:searching user for cookies={‘UMCLang’: ‘en-US’, ‘UMCSessionId’: ‘92010ec0-17c9-43d2-8300-c390ddd7b90c’, ‘lang’: ‘en_GB.UTF-8’, ‘_ga’: ‘GA1.2.1402801928.1634748022’, ‘PHPSESSID’: ‘0eeaad184555dfc0e3ca0afdbec934ba’, ‘event_filter’: ‘all’, ‘sidebar_collapsed’: ‘false’, ‘bluespiceCalumma_state’: ‘%7B%22Calumma_desktop-view%22%3A%22true%22%7D’, ‘bluespice_MWCookieConsent’: ‘%7B%22groups%22%3A%7B%22necessary%22%3Atrue%2C%22convenience%22%3Atrue%7D%7D’, ‘bluespiceUserName’: ‘Robert’, ‘VEE’: ‘visualeditor’, ‘__Secure-encryption-store-key’: ‘fe9f2b257050b3db80b62b88ae934b4f’, ‘__Secure-KOPANO_WEBAPP’: ‘29ntofeeoq85hun9n90ntoev2h’, ‘bluespice_session’: ‘ognvd3fpi3nb0p4p3t7bvhqus1c3hl0j’, ‘bluespicenotificationFlag’: ‘1’}
Aug 12 15:06:45 mail univention-portal-server[25076]: malformed answer!
Aug 12 15:06:45 mail univention-portal-server[25076]: ERROR:univention.portal.user:malformed answer!
Aug 12 15:06:45 mail univention-portal-server[25076]: no user found
Aug 12 15:06:45 mail univention-portal-server[25076]: DEBUG:univention.portal.user:no user found
Aug 12 15:06:45 mail univention-portal-server[25076]: Status 403 while getting categories
Aug 12 15:06:45 mail univention-portal-server[25076]: DEBUG:univention.portal.umc:Status 403 while getting categories
Aug 12 15:06:45 mail univention-portal-server[25076]: Status 403 while getting modules
Aug 12 15:06:45 mail univention-portal-server[25076]: DEBUG:univention.portal.umc:Status 403 while getting modules
Aug 12 15:06:45 mail univention-portal-server[25076]: WARNING:tornado.access:404 GET //univention/umc/i18n/en.json (127.0.0.1) 0.35ms
Aug 12 15:07:12 mail slapd[22416]: <= mdb_equality_candidates: (nextcloudEnabled) not indexed
Aug 12 15:07:13 mail systemd[1]: univention-self-service-invitation.service: Service RestartSec=1min expired, scheduling restart.
Aug 12 15:07:13 mail systemd[1]: univention-self-service-invitation.service: Scheduled restart job, restart counter is at 807.
Aug 12 15:07:13 mail systemd[1]: Stopped Univention self service invitation daemon.
Aug 12 15:07:13 mail systemd[1]: Started Univention self service invitation daemon.
Aug 12 15:07:14 mail systemd[1]: univention-self-service-invitation.service: Main process exited, code=exited, status=1/FAILURE
Aug 12 15:07:14 mail systemd[1]: univention-self-service-invitation.service: Failed with result ‘exit-code’.
Aug 12 15:08:14 mail systemd[1]: univention-self-service-invitation.service: Service RestartSec=1min expired, scheduling restart.
Aug 12 15:08:14 mail systemd[1]: univention-self-service-invitation.service: Scheduled restart job, restart counter is at 808.
Aug 12 15:08:14 mail systemd[1]: Stopped Univention self service invitation daemon.
Aug 12 15:08:14 mail systemd[1]: Started Univention self service invitation daemon.
Aug 12 15:08:14 mail systemd[1]: univention-self-service-invitation.service: Main process exited, code=exited, status=1/FAILURE
Aug 12 15:08:14 mail systemd[1]: univention-self-service-invitation.service: Failed with result ‘exit-code’.
Aug 12 15:08:25 mail slapd[22416]: <= mdb_equality_candidates: (nextcloudEnabled) not indexed
Aug 12 15:08:25 mail slapd[22416]: <= mdb_equality_candidates: (nextcloudEnabled) not indexed
Aug 12 15:08:25 mail slapd[22416]: <= mdb_equality_candidates: (nextcloudEnabled) not indexed
Aug 12 15:08:25 mail slapd[22416]: <= mdb_equality_candidates: (nextcloudEnabled) not indexed
Aug 12 15:08:25 mail slapd[22416]: <= mdb_equality_candidates: (nextcloudEnabled) not indexed
Aug 12 15:08:25 mail slapd[22416]: <= mdb_equality_candidates: (nextcloudEnabled) not indexed
Aug 12 15:08:26 mail slapd[22416]: <= mdb_equality_candidates: (nextcloudEnabled) not indexed
Aug 12 15:08:26 mail slapd[22416]: <= mdb_equality_candidates: (nextcloudEnabled) not indexed
Aug 12 15:08:26 mail slapd[22416]: <= mdb_equality_candidates: (nextcloudEnabled) not indexed
Aug 12 15:09:00 mail systemd[1]: Starting Clean php session files…
Aug 12 15:09:00 mail sessionclean[3149]: PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/20151012/mapi.so’ - /usr/lib/php/20151012/mapi.so: cannot open shared object file: No such file or directory in Unknown on line 0
Aug 12 15:09:00 mail sessionclean[3149]: PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/20151012/kopano_smime.so’ - /usr/lib/php/20151012/kopano_smime.so: cannot open shared object file: No such file or directory in Unknown on line 0
Aug 12 15:09:00 mail sessionclean[3149]: PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/20151012/smbclient.so’ - /usr/lib/php/20151012/smbclient.so: cannot open shared object file: No such file or directory in Unknown on line 0
Aug 12 15:09:00 mail sessionclean[3149]: PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/20151012/mapi.so’ - /usr/lib/php/20151012/mapi.so: cannot open shared object file: No such file or directory in Unknown on line 0
Aug 12 15:09:00 mail sessionclean[3149]: PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/20151012/kopano_smime.so’ - /usr/lib/php/20151012/kopano_smime.so: cannot open shared object file: No such file or directory in Unknown on line 0
Aug 12 15:09:00 mail sessionclean[3149]: PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/20151012/ldap.so’ - /usr/lib/php/20151012/ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0
Aug 12 15:09:00 mail sessionclean[3149]: PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/20151012/smbclient.so’ - /usr/lib/php/20151012/smbclient.so: cannot open shared object file: No such file or directory in Unknown on line 0
Aug 12 15:09:00 mail sessionclean[3149]: PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/20151012/mapi.so’ - /usr/lib/php/20151012/mapi.so: cannot open shared object file: No such file or directory in Unknown on line 0
Aug 12 15:09:00 mail sessionclean[3149]: PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/20151012/kopano_smime.so’ - /usr/lib/php/20151012/kopano_smime.so: cannot open shared object file: No such file or directory in Unknown on line 0
Aug 12 15:09:00 mail sessionclean[3149]: PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/20151012/smbclient.so’ - /usr/lib/php/20151012/smbclient.so: cannot open shared object file: No such file or directory in Unknown on line 0
Aug 12 15:09:00 mail systemd[1]: phpsessionclean.service: Succeeded.
Aug 12 15:09:00 mail systemd[1]: Started Clean php session files.
Aug 12 15:09:02 mail CRON[3419]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Aug 12 15:09:02 mail CRON[3420]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Aug 12 15:09:14 mail systemd[1]: univention-self-service-invitation.service: Service RestartSec=1min expired, scheduling restart.
Aug 12 15:09:14 mail systemd[1]: univention-self-service-invitation.service: Scheduled restart job, restart counter is at 809.
Aug 12 15:09:14 mail systemd[1]: Stopped Univention self service invitation daemon.
Aug 12 15:09:14 mail systemd[1]: Started Univention self service invitation daemon.
Aug 12 15:09:14 mail systemd[1]: univention-self-service-invitation.service: Main process exited, code=exited, status=1/FAILURE
Aug 12 15:09:14 mail systemd[1]: univention-self-service-invitation.service: Failed with result ‘exit-code’.

Any idea how to fix it? Thanks in advance.

Same thing happened to me. I blame old hardware, in my case. But something similar might be happening for you. Check that all of your mounts are mounting (/var, /tmp, /home, etc.). In my case, the file /etc/fstab was blank. Got wiped out. Why? I don’t know. I did some digging and recreated it. Root (/) was mounted as read-only, as well. That was unpleasant. There’s another forum post that describes how to fix, I’ll link if that ends up being helpful for you.

Once I fixed /etc/fstab, I was able to restart and continue with the errata update as normal.

Thank you, though my mount points and fstab look normal.

Have you tried the obvious TOTO? (Turn Off Turn On, aka restart)… I’m no guru, but looks to me like some services aren’t starting correctly (again, no guru, just guessing). You might also want to check that you have enough disk space df -h That’s something I’ve ran into a lot with my aforementioned old hardware.

Mastodon