I'm quite new to ilias, but I think, I have sufficient experience administering different web applications especially LMS (Moodle, Mahara).
I set up a new ilias installation consisting of a db server and an apache web server (both based on CentOS 8).
DB Server:
- MariaDB 10.3 (from CentOS 8)
Web Server:
- Apache 2.4.37 (from CentOS 8)
- php-fpm 7.3.18 (from remi repo)
Setting up the systems I tried to follow the guidelines from the documentation. As CentOS 8 does not provide mod_php anymore I chose to proceed with php-fpm (as we use with all other php-based web applications). I configured php-fpm as recommended for mod_php.
MariaDB 10.3 is the standard version in CentOS 8 and the MariaDB CentOS8 repo also starts from MariaDB 10.3, so I can't downgrade to 10.2 or earlier if this causes the problem.
Ilias is checked out from the git repository and I'm using the 5.4 branch. It was recommend to me to not use the new 6 branch as there could be more small errors which have to be fixed. The system should be as stable as possible.
The basic installation runs through without any error. Also setting up the first client works as expected. After finishing I get displayed the initial login credentials for the root user.
Now the strange things happen. When I click on login, to get to the login page, ilias tells me "Your session has been deactivated due to inactivity.". Also when entering the credentials and clicking on login, ilias won't let me in telling me, the session as been deactivated.
In the back I can see the following:
ilias.log:
"[iaaeo] [2020-06-05 10:04:28.534926] ialt_auth.INFO: ilAuthFrontend::handleAuthenticationSuccess:189 Successfully authenticated: root
[b7ef3] [2020-06-05 10:04:28.535287] ialt_auth.INFO: ilAuthSession::regenerateId:146 Session regenerate id: [iaaeo] -> [b7ef3]
[b7ef3] [2020-06-05 10:04:28.537144] ialt_auth.INFO: ilAuthFrontend::handleAuthenticationSuccess:189 logged in as root, remote:172.22.26.156:58372, server:172.18.88.7:443
[b7ef3] [2020-06-05 10:04:28.537276] ialt_root.INFO: ilOpenIdConnectAppEventListener::handleEvent:194 Services/Authentication : afterLogin
[b7ef3] [2020-06-05 10:04:28.537337] ialt_root.INFO: ilOpenIdConnectAppEventListener::handleEvent:194 Services/Authentication : afterLogin
[b7ef3] [2020-06-05 10:04:28.685991] ialt_root.WARNING: ilOpenIdConnectSettings::setUidField:458
[b7ef3] [2020-06-05 10:04:28.686125] ialt_root.WARNING: ilOpenIdConnectSettings::setUidField:458"
So to me it seems, the credentials are accepted and also the session is being updated/created.
The session table in the database contains to really old entries right after installation (expired sometime in 2016) but after login there is no new entry added to the database.
so now I'm a bit frustrated as I don't know where to look else. Google does not dig out much information on ilias.
Hopefully someone has any helpful hint to get the system running. Maybe I missed something from the installation guide or something else?
Best regards
Sven Laudel