Page 1 of 1

Error After Exporting and Re-Importing OpenKM Jail

PostPosted:Wed Jul 07, 2021 3:00 am
by Wraith
Hi,

I've currently installed OpenKM to a FreeBSD 12.2 jail under FreeNAS 12.0-U4. I've loaded a few documents for testing.

I'm testing backing up the installation via backing up the entire jail. The aim here is to maintain all settings, documents, scripts, the general environment. This entails stopping the jail, exporting the jail, deleting the initial jail and importing the backup. However, after importing the jail and attempting to log in to OpenKM I was presented with "null null" on the login screen. However, I was still able to login. Screen shot attached
openkm - null null error.jpg
openkm - null null error.jpg (21.78 KiB) Viewed 3001 times
After logging in, the initilisation progressed until "Loading taxonomy - eval browser params" and then halted.
openkm - login process.jpg
openkm - login process.jpg (32.18 KiB) Viewed 3001 times
Before destroying the jail it may be prudent to obtain an idea of what the issues could be. In theory no errors should've occured.

Thanks in advance

Re: Error After Exporting and Re-Importing OpenKM Jail

PostPosted:Sat Jul 10, 2021 1:09 pm
by jllort
1- stop openkm
2- delete all files in the logs folder
3- start openkm
4- zip the log folder and share here

Re: Error After Exporting and Re-Importing OpenKM Jail

PostPosted:Sun Jul 11, 2021 2:29 am
by Wraith
Hi @jllort,

Zip file attached. Thanks for your help.

Re: Error After Exporting and Re-Importing OpenKM Jail

PostPosted:Fri Jul 16, 2021 4:07 pm
by pavila
You have a couple of exception which need to be solved:
Code: Select all
2021-07-11 10:26:41,428 [localhost-startStop-1] [] ERROR net.sf.ehcache.Cache - Unable to set localhost. This prevents creation of a GUID. Cause was: openkm: openkm: Name does not resolve
java.net.UnknownHostException: openkm: openkm: Name does not resolve
	at java.net.InetAddress.getLocalHost(InetAddress.java:1506) ~[na:1.8.0_282]
And this is the other:
Code: Select all
java.lang.NullPointerException: null
	at com.openkm.kea.RDFREpository.<init>(RDFREpository.java:83) ~[classes/:6.3.11]
	at com.openkm.kea.RDFREpository.getInstance(RDFREpository.java:98) ~[classes/:6.3.11]
	at com.openkm.servlet.RepositoryStartupServlet.start(RepositoryStartupServlet.java:248) [classes/:6.3.11]
	at com.openkm.servlet.RepositoryStartupServlet.init(RepositoryStartupServlet.java:115) [classes/:6.3.11]

Re: Error After Exporting and Re-Importing OpenKM Jail

PostPosted:Mon Jul 19, 2021 6:00 am
by Wraith
Thanks!
I'll look into these.