Page 1 of 1
How To Move OpenKM To Another Machine
PostPosted:Mon Jul 11, 2016 2:00 am
by nanda_danis
Hello All,
I used OpenKM 6.3.0 for several years. Suddenly my OS can't boot normally. I have tried many ways to start up my server again but it seem no different. My OS still stuck on boot. My question is can i move entire OpenKM from my old machine to a new fresh installed machine?
FYI
OS Version UBuntu 14.04
OpenKM version 6.3.0
Help Me Please. Thanks Before
Re: How To Move OpenKM To Another Machine
PostPosted:Mon Jul 11, 2016 6:59 am
by jllort
Yes should not be problems on it. Did you configured OpenKM with MySQL or another database or you are using default configuration ( hypersonic embeded database ? ). If your case is the second, then if your openkm is installed at /home/openkm/tomcat should move the entire contents to the new server at /home/openkm/tomcat . In addition if you have configured MySQL or another database we should talk more about it.
Also I suggest you take a look the backup guide at
http://wiki.openkm.com/index.php/Installation_Guide
Re: How To Move OpenKM To Another Machine
PostPosted:Tue Jul 12, 2016 4:40 am
by nanda_danis
Thank Mr Jlort for your advice. i will try it first.
Re: How To Move OpenKM To Another Machine
PostPosted:Wed Jul 13, 2016 4:53 am
by nanda_danis
Thanks Mr Jlort it works. I manually rsynch openkm installation directory from my old machine to my new machine. But there is a problem when i try to preview my microsoft office documment files. I look at catalina.log and catalina.out i find a message "java.lang.IllegalArgumentException: officeHome must exist and be a directory"
Does its mean that some of my directory or file was corrupted from my old machine?How can i fix it Mr Jlort. Thks Before.
Re: How To Move OpenKM To Another Machine
PostPosted:Fri Jul 15, 2016 7:07 am
by jllort
That means the soffice ( openoffice or libreoffice software ) service has not been correctly installed in the new computer. Add another ticket if the problem is only in preview. If you download the file and you open correctly then the problem is on preview configuration.
The error is clear (
officeHome must exist and be a directory and seems it doesn't exists here
/usr/lib/libreoffice)
Code: Select all2016-07-13 11:32:51,688 [localhost-startStop-1] INFO com.openkm.util.DocConverter- system.openoffice.path=/usr/lib/libreoffice
2016-07-13 11:32:51,688 [localhost-startStop-1] INFO com.openkm.util.DocConverter- system.openoffice.tasks=200
2016-07-13 11:32:51,689 [localhost-startStop-1] INFO com.openkm.util.DocConverter- system.openoffice.port=2002
2016-07-13 11:32:51,692 [localhost-startStop-1] WARN com.openkm.servlet.RepositoryStartupServlet- officeHome must exist and be a directory
java.lang.IllegalArgumentException: officeHome must exist and be a directory
at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.checkArgument(DefaultOfficeManagerConfiguration.java:221)
at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.setOfficeHome(DefaultOfficeManagerConfiguration.java:54)
at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.setOfficeHome(DefaultOfficeManagerConfiguration.java:49)