• Users deleted after reboot.

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #16784  by K9Sports
 
Sorry if this has already been covered but couldn't find it in the searches.

I've set up users fine and it sticks until I reboot. This includes changing the okmadmin account with email and password. After I reboot the server, every user is deleted and the okmadmin account is reset back to default.

I'm sure it's a permissions thing somewhere but don't know where to look.

Help is very appreciated.

Thanks.
 #16785  by fabpicca
 
I know I'm about to give a trivial answer so please forgive me in advance, but did you checked this?

From OpenKM 5.x there's a property definition in OpenKM.cfg to automatically create the OpenKM database. Once the tables are created, change the hibernate.hbm2ddl property from create to none. Do this after running the application for the first time. If you don't, the repository will be deleted and re-created the next time OpenKM starts.

(http://wiki.openkm.com/index.php/Quick_ ... :_OpenKM_5)

Otherwise each time you reboot (and thus restart jboss), you'll get your DB erased!
 #16787  by K9Sports
 
I saw that but it's mentioning the repository. The repository is fine and is untouched. I'm just having issues with user accounts. I'll give it a try anyways.
 #16794  by jllort
 
If you do not change hibernate.hbm2ddl=none then the okm_app tables will be re-created each time you start openkm

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.