Page 1 of 1

FileNotFoundException Repeated Many Times in Error Log After Start Up OpenKM

PostPosted:Mon Jan 09, 2017 2:37 am
by nanda_danis
Dear All,
Can anybody help my to solve this error. I run openkm 6.3 it was no problem before. But today i get an error message "FileNotFoundException: /opt/tomcat/repository/datastore/24/f8/d5/a0/24f8d5a0-540e-49fe-acc9-aeacf16908fc (No such file or directory)" in my log file. And its make my openkm running slower tha before. This error message repeated many times in my openkm logs. Please help me. Thanks.

Re: FileNotFoundException Repeated Many Times in Error Log After Start Up OpenKM

PostPosted:Tue Jan 10, 2017 9:06 am
by jllort
These files are in the okm:trash ?

Re: FileNotFoundException Repeated Many Times in Error Log After Start Up OpenKM

PostPosted:Tue Jan 10, 2017 9:56 am
by nanda_danis
How can i know these file location Mr Jllort?In my server this path "/opt/tomcat/repository/datastore/24/f8/d5/a0/24f8d5a0-540e-49fe-acc9-aeacf16908fc" is doesnt exist.

Re: FileNotFoundException Repeated Many Times in Error Log After Start Up OpenKM

PostPosted:Wed Jan 11, 2017 7:45 pm
by jllort
the "24f8d5a0-540e-49fe-acc9-aeacf16908fc" is the document version -> you can get the reference from OKM_DOCUMENT_VERSION table what refers OKM_NODE_DOCUMENT and OKM_NODE_BASE;

Execute from Administration > database query
Code: Select all
SELECT NDV_PARENT FROM OKM_NODE_DOCUMENT_VERSION where NDV_UUID='24f8d5a0-540e-49fe-acc9-aeacf16908fc';
SELECT * from OKM_NODE_DOCUMENT where NBS_UUID='value of NDV_PARENT';
SELECT * from OKM_NODE_BASE where NBS_UUID='value of NDV_PARENT'; // from here you can see the context
Also with scripting when you have the NDV_PARENT can execute
Code: Select all
import com.openkm.api.*;
OKMRepository.getInstance().getNodePath(null, "value of the NDV_PARENT");