Page 1 of 1

okm-005013 err when uploading

PostPosted:Sun Aug 02, 2015 6:45 pm
by silverspr
Hello,
I'm getting an error okm-005013 when uploading a pdf file. Searching previous posts on this topic, I tried increasing the max_allowed_packet size on the MySQL server. This did not resolve the problem. Reviewing the catalina log:
Code: Select all
1083 	2015-08-02 12:36:03,181 [http-bio-0.0.0.0-8080-exec-1] ERROR com.openkm.servlet.frontend.FileUploadServlet- /home/optimus/openkm/tomcat/repository/datastore/d7/d2/21/66/d7d22166-0c98-41dd-bfb3-35540a4c8971 (No such file or directory)
1084 	java.io.FileNotFoundException: /home/optimus/openkm/tomcat/repository/datastore/d7/d2/21/66/d7d22166-0c98-41dd-bfb3-35540a4c8971 (No such file or directory)
I'm not sure how to resolve this...I'm still using openKm 6.2...it was working....

thanks for your help

Re: okm-005013 err when uploading

PostPosted:Tue Aug 04, 2015 9:48 am
by jllort
When document is uploaded is saves the binary data into /home/optimus/openkm/tomcat/repository/datastore folder seems is not able to find the document stored there ? quite strange because it's an uploading. Are you sure about the user who's executing tomcat has enought grants to write there, check your grants or do "chown -R user:user /home/optimus/openkm/tomcat"

Re: okm-005013 err when uploading

PostPosted:Sun Aug 09, 2015 2:40 pm
by silverspr
Thanks jllort, that did the trick. I think I even checked permissions... Whatever fixed now. Thanks again.