• error 005013 uploading file

  • 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.
 #22335  by Superpan
 
Hi all,
I am using OpenKM 6.2.2 with MySQL and have the following problem:
When I try to upload certain files I am getting the error: c:\fakepath\the_name_of_the_file.doc OKM-005013. This happens to relatively large files (about 10-12MB) but I have also tried to make the files smaller, or change the path and name to have no spaces, or even tried this with another OpenKM version (6.2.1) in another machine again with MySQL. The files are not corrupted and I have tried .doc files and .zip files. The only way I managed to add the document was when almost erased every page of it and became about 160kB. The max file size was the default but I also tried to put the value of 100 to that long.

So this is NOT a problem of the file, the path, MySQL. Can you suggest me anything on this? Do you need any logs? Am I doing something wrong?

Thank you in advance.
Panos.
 #22369  by pavila
 
Yes, attach the log file zipped (please).

The problem is related to a IO problem. Maybe the disk has a bad sector or has little free space.
 #22371  by Superpan
 
I saw the error codes but this is not my case. I have tried uploading files to 2 machines. I have OpenKM installed in 2 different machines (2 different MySQL) and the same files have problems. I tried pdf files. Under 4MB was Ok. Above 4MB I had problem. I tried zip files.. same problems. It is not very clear to me yet what is the condition to popup this error. Maybe file size... I have also tried the default max.file.size (which is 0) and also 100 and 1000 (long). So in my case it is not bad sector or size on disk. Attached are the logs. Hope to find a solution to this.. I was just started copying my files to OpenKM... : /
Thank you in advance guys.
Attachments
(20.11 KiB) Downloaded 254 times
 #22404  by pavila
 
I see several problem in the log:
Code: Select all
Packet for query is too large (2237453 > 1048576). You can change this value on the server by setting the max_allowed_packet' variable.
Code: Select all
Could not delete file 'C:\openkm-6.2.1-community\tomcat\repository\datastore\20\b1\26\d7/20b126d7-f277-4778-b03c-a4d90bfb8734'
java.io.IOException: Could not delete file 'C:\openkm-6.2.1-community\tomcat\repository\datastore\20\b1\26\d7/20b126d7-f277-4778-b03c-a4d90bfb8734'
 #22417  by Superpan
 
I really appreciate this help pavila! Increasing the max_allowed_packet solved the issue! Thank you very much...

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.