Page 1 of 1

HELP! - migrate with only datastore folder

PostPosted:Wed Apr 08, 2015 10:03 am
by nigyel
Hello,

I just got the datastore folder only and I want to restore it in a new server with same configuration. I am using 6.3.0
How do I proceed? How can I restore repository view? My repository export is not working from administration -> Export. Any alternatives...
------
the reason why i am planning for a move is that all of a sudden openkm has become too slow and it takes more than 10 minutes to get it started. then comes the login issue, very very slow and sometimes the login page dont show at all. i checked the log and it showed up many errors. if it can be fixed then great. log is attached if any expert can help me bring up the system.
Hope someone will respond to me...

Thanks,
ng.

Re: HELP! - migrate with only datastore folder

PostPosted:Fri Apr 10, 2015 5:52 pm
by pavila
You shouldn't use default embedded in production because is slow and may get corrupted if the server stops abruptly. I recommend a "real" database like MySQL, for example.

If you have problems in repository export, try a recent night build from http://integration.openkm.com

Regards.

Re: HELP! - migrate with only datastore folder

PostPosted:Sat Apr 11, 2015 4:42 am
by nigyel
Dear Pavilla,

Thank you so so much for your response and suggestion.
Using the recent build i am not able to go beyond;
Code: Select all
 *** Initialize language detection engine... ***
2015-04-11 09:40:22,959 [net.sf.ehcache.CacheManager@d8b6800] INFO  net.sf.ehcache.util.UpdateChecker- New update(s) found: 2.4.7 [http://www.terracotta.org/confluence/display/release/Release+Notes+Ehcache+Core+2.4]. Please check http://ehcache.org for the latest version.
.................................. and it stays here only...

While exporting the repository with my existing setting, I am getting some front end error as attached. Because of this cannot export the repository. I have attached the catalina logs also.

If atleast the repository export gets through then only I can migrate to mysql database, if I am not wrong.

Waiting for you help. :)

Warm regards,
Ng.

Re: HELP! - migrate with only datastore folder

PostPosted:Sat Apr 11, 2015 9:36 am
by jllort
Seems the appliation has going out of heap memory
Code: Select all
java.lang.OutOfMemoryError: Java heap space
At least should change the setenv.sh or setenv.bat parameters.
increate -XX:MaxPermSize=1024m and also will be good idea Xmx2048m