• How To Move OpenKM To Another Machine

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
 #42004  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
 #42007  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
 #42012  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.
Attachments
(25.12 KiB) Downloaded 206 times
 #42022  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 all
2016-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)

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.