"administrator" nach frischer Installation nicht verfügbar (OpenOLAT 12.4)

20 views
Skip to first unread message

Joachim Astel

unread,
Jun 11, 2018, 3:48:39 AM6/11/18
to OpenOLAT
Hallo,

ich wollte heute eine OpenOLAT Installation durchführen und habe dazu das WAR-File von openolat.org verwendet. Die Installation auf TomCat8 + JDK 1.8 funktioniert soweit tadellos, ebenso die Anbindung und Authentifizierung an die MySQL-Datenbank über JDBC-Connector per TomCat-Nachkonfiguration implementiert. Der initiale Loginbildschirm von OpenOLAT 12.4 erscheint auch, edoch ist kein Login möglich bzw. nur über den Reiter "Gast", nicht jedoch als Administrator.

Im Logfile heißt es:
"OLATAuthManager  - org.olat.login.OLATAuthenticationController Cannot authenticate user administrator via provider OLAT

Ich habe neben OLAT keine anderen Authentifizierungs-Provider (LDAP / Shibboleth) aktiviert und kann mir daher höchstens vorstellen, dass die Datenbankinitialisierung o. ä. nicht richtig geklappt hat.

An welcher Stelle wird die Usernamen/Passwort-Kombination "administrator / openolat" validiert? Sollte es dazu ggf. einen Datenbankeintrag geben?
(Tables wie o_bs_authentication sind noch komplett leer, im Table "o_user" ist bis jetzt nur "gast" hinterlegt).

Gruß Joachim Astel

Florian Gnägi

unread,
Jun 11, 2018, 6:02:43 AM6/11/18
to open...@googlegroups.com
Hi Joachim

Default user creation is defined in src/main/java/org/olat/user/_spring/userContext.xml
This bean is used by src/main/java/org/olat/admin/setup/SetupModule.java during initialisation. 

Please check your logfile if you have a line like this: 
"Auth token not set! Please fix!"
or
"Error, could not create  user and subject with name"

Did you change the default.auth.provider.identifier property?

Cheers
Florian

--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOLAT".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOLAT - infinite learning - http://www.openolat.org

---
You received this message because you are subscribed to the Google Groups "OpenOLAT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--------------------------------------------------------------------
professional services for the e-learning system OpenOLAT
hosting - operating - support - development - mobile - consulting
--------------------------------------------------------------------
frentix  GmbH
Florian Gnägi, Geschäftsführer
Hardturmstrasse 76
CH-8005 Zürich, Switzerland


Find me on wire skype twitter xing linkedin 
--------------------------------------------------------------------

Reply all
Reply to author
Forward
0 new messages