• Lost information after restarting the system

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
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.
 #10871  by ameisner
 
We are using OpenKm with a internet server. The provider had to restart his server an now all informations of users and roles are lost. The files themselves and the folders are not lost.
The hibernatevalue is set to none, but the informations are lost.
Please can you help me?
Last edited by ameisner on Sat Apr 30, 2011 1:17 pm, edited 1 time in total.
 #10873  by jllort
 
Which version of OpenKM are you using ?
Are you sure that hibernate.hbm2ddl=none and you've restarted the application, it's really very strange, please confirm it.
 #10875  by jllort
 
Upgrade to 5.0.4. ( it's really trivial from 5.0.2 to 5.0.4 ) take a look at migration guide in documentation.
It's first time on any version this problem happens, really very strange. You haven't made any modification in OpenKM ( source code etc.. ).
Put here your OpenKM.cfg
 #10880  by jllort
 
could you try stopping jboss and starting again to ensure the problem is on stop starting openkm server ... because it's really very strange.
You are not doing anything else during restarting your server ?
 #10893  by pavila
 
JBoss does not remove himself the hipersonic databases. If your configuration is:
Code: Select all
hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.hbm2ddl=create
It should work. Otherwise, something weird is happening.
 #10950  by ameisner
 
so should we use

hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.hbm2ddl=create

or

hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.hbm2ddl=none ?
 #10960  by pavila
 
Sorry, the create is for initial OpenKM deploy and will create tables in database:
Code: Select all
hibernate.hbm2ddl=create
After the database tables are created, should set to:
Code: Select all
hibernate.hbm2ddl=none
HSQL databases are located at $JBOSS_HOME/server/default/data/hypersonic folder. Check that this folder is not deleted in the server reboot.

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.