Page 1 of 1

Authentication Error on First Attempt to Login

PostPosted:Sat Aug 04, 2018 8:24 am
by Wraith
Hi All,

I've recently "successfully" installed OpenKM and MySQL 8.0. Upon my first login attempt I am receiving an Authentication error.

I have tried the following combinations:
  • User: 'openkm'; Password: #Password# This is as per the user setup in the installation script
    User: 'okmAdmin'; Password: #Password# This is as per the user login shown in the installation video
In MySQL Workbench I've confirmed that the user 'openkm' has been created and database 'okmdb' exists.

Would appreciate any feedback or guidance on how to get the login working.

I've attached a compressed copy of openkm.log and catalina.log

Thanks in advance

Re: Authentication Error on First Attempt to Login

PostPosted:Sat Aug 04, 2018 3:35 pm
by jllort
We need the catalina.log file for a detailed error stack trace ( stop OpenKM, delete all files into log folder, start again, try to login and share with us the file ).
Also I suggest read this documentation section https://docs.openkm.com/kcenter/view/ok ... oting.html

Re: Authentication Error on First Attempt to Login

PostPosted:Sun Aug 05, 2018 7:24 am
by Wraith
Hi jllort,

The catalina.log and openkm.log files were attached within the 7zip archive attached to the first post. I wasn't permitted to upload a .log file.

I have read the resource you've linked and made the changes suggested within. I also, based on other posts, have stoped OpenKM, modified the OpenKM.cfg file to read "...=create" on the appropriate line, deleted the repository file, restarted OpenKM and tried to access again.

In my opinion, some or all of the above contributed to me getting as far as I have [the login screen]. Let me know if you need any other info or the catalina.log file uploaded in a different format or manner.

Thanks for your help so far.

Re: Authentication Error on First Attempt to Login

PostPosted:Sun Aug 05, 2018 11:26 am
by jllort
I do not see any kind of error in the log ( only wrong authentication for okmAdmin user what is quite strange ). Also I was expected to find some extra rows what in your case seems are missing in the log for a complete OpenKM starting up, like soffice binding or server start up time in the log what is not shown in your case.

How are you starting the application ?
Check default tomcat ports be available an not used by other apps ? 8080, 8005 and 8009

Re: Authentication Error on First Attempt to Login

PostPosted:Wed Aug 08, 2018 1:36 pm
by Wraith
Hi jllort,
How are you starting the application ?
I find "OpenKM" in Services, right click and select Start
Check default tomcat ports be available an not used by other apps ? 8080, 8005 and 8009
netstat -n -a -o does not report any PID's using ports 8080, 8005 or 8009.

Thanks!

Re: Authentication Error on First Attempt to Login

PostPosted:Fri Aug 10, 2018 5:58 am
by jllort
The OS user and password are ( openkm / openkm )
The OpenKM default user and password are ( okmAdmin / admin ) -> do not forget to write the A ( Uppercase )

Re: Authentication Error on First Attempt to Login

PostPosted:Sun Aug 12, 2018 10:59 am
by Wraith
The OS user and password are ( openkm / openkm )
This didn't work :(
The OpenKM default user and password are ( okmAdmin / admin ) -> do not forget to write the A ( Uppercase )
This DID work! :)

Would appreciate some clarity - If the passwords are either "openkm" or "admin" then what is the password entered or chosen during the installation process?

Re: Authentication Error on First Attempt to Login

PostPosted:Sun Aug 12, 2018 5:08 pm
by jllort
The user openkm with password openkm is for OS of the Virtual Machine, the OpenKM development environment. In both cases, clean installation or running the development environment the credentials for the OpenKM application are user okmAdmin with password admin. Might be now the explanation is clearly ?