Page 1 of 1

Forgot OpenKM password

PostPosted:Wed Nov 19, 2014 12:55 pm
by chaywood
Hi,

I have done a very silly thing and forgotten the admin password to my openkm setup. I have full admin access to the server (ubuntu), is there any way it can be easily retrieved?

Cheers,
ch

Re: Forgot OpenKM password

PostPosted:Sun Nov 23, 2014 12:06 pm
by jllort
Yes, you got mysql database or default openkm installation with embeded database HSQL ? in case HSQL you must edit a file tomcat/repository/okmdb.script and edit with some text editor:
Looking for INSERT INTO OKM_USER VALUES('okmAdmin','Administrator' and change for INSERT INTO OKM_USER VALUES('okmAdmin','Administrator','21232f297a57a5a743894a0e4a801fc3','noreply@openkm.com','T the password will be restarted to admin

In case you be on MySQL ( I suggest for production ) then simply change the OKM_USER row value with some mysql client.

Re: Forgot OpenKM password

PostPosted:Wed Dec 03, 2014 5:35 am
by chaywood
That worked perfectly, thank you jllort!!!