Problem: You cannot login in the Portal after update to 5.0-4

Problem:

When I try to login, the portal site shows up again, with the login tile, but If I switch to the “old” management, I am logged in.

Investigation:

The portal log shows 11814 user 23-07-17 11:41:23 [ ERROR]: request failed: HTTP 403: Forbidden
The apache access.log shows 127.0.0.1 - - [17/Jul/2023:11:44:48 +0300] "GET /univention/get/session-info HTTP/1.1" 403 628 "-" "-"

Solution:

Check if there is a proxy, which interferes here
Check if /etc/apache2/conf-enabled/umc-access.conf is present and if Require ip 127.0.0.1/32 is accessable.

Maybe editing /usr/lib/univention-portal/config/config.json and replace
"umc_session_url": "http://localhost/univention/get/session-info" to
"umc_session_url": "http://127.0.0.1/univention/get/session-info"
and
systemctl restart univention-portal-server

2 Likes
Mastodon