• Error in table OKM_NODE_DOCUMENT_VERSION

  • 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.
 #23714  by ancker
 
Hi All,

When I try to insert a document this error appears and I can not send the document.
Code: Select all
2013-06-25 17:31:06,038 [ajp-bio-8009-exec-14] INFO  com.openkm.servlet.frontend.FileUploadServlet - Filename: 'RELAÇÃO DE CONTRIBUIÇÃO DE FGTS.pdf'
2013-06-25 17:31:06,038 [ajp-bio-8009-exec-14] INFO  com.openkm.servlet.frontend.FileUploadServlet - Upload file 'RELAÇÃO DE CONTRIBUIÇÃO DE FGTS.pdf' into '/okm:root/PESSOAL/GEFIP/Ampla (3.8 KB)'
2013-06-25 17:31:06,038 [ajp-bio-8009-exec-14] INFO  com.openkm.servlet.frontend.FileUploadServlet - Wizard: {path=, showWizardCategories=false, showWizardKeywords=false, groupsList=[], workflowList=[], hasAutomation=false, error=, digitalSignature=false}
2013-06-25 17:31:06,108 [ajp-bio-8009-exec-14] WARN  org.hibernate.util.JDBCExceptionReporter - SQL Error: 145, SQLState: HY000
2013-06-25 17:31:06,108 [ajp-bio-8009-exec-14] ERROR org.hibernate.util.JDBCExceptionReporter - Table './okmdb/OKM_NODE_DOCUMENT_VERSION' is marked as crashed and should be repaired
2013-06-25 17:31:06,109 [ajp-bio-8009-exec-14] ERROR com.openkm.servlet.frontend.FileUploadServlet - Could not execute JDBC batch update
com.openkm.core.DatabaseException: Could not execute JDBC batch update
        at com.openkm.dao.NodeDocumentDAO.create(NodeDocumentDAO.java:144)
        at com.openkm.module.db.base.BaseDocumentModule.create(BaseDocumentModule.java:156)
        at com.openkm.module.db.DbDocumentModule.create(DbDocumentModule.java:221)
        at com.openkm.servlet.frontend.FileUploadServlet.doPost(FileUploadServlet.java:314)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
How to solve this? My version is 6.2.4-DEV (8075)
 #23726  by jllort
 
Have you read it:
2013-06-25 17:31:06,108 [ajp-bio-8009-exec-14] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 145, SQLState: HY000
2013-06-25 17:31:06,108 [ajp-bio-8009-exec-14] ERROR org.hibernate.util.JDBCExceptionReporter - Table './okmdb/OKM_NODE_DOCUMENT_VERSION' is marked as crashed and should be repaired

Have you done some update from older openkm version ? or you have closed openkm incorrectly ( some hardware incorrectly stop etc... ? )

I suggest go to Administration / utilities -> check repository
 #23745  by jllort
 
Which database are you using, Mysql or which comes by default with openkm hsql ? hsql is a very sensitive database when stops system incorrectly and can easilly be affected and corrupt by it. I suggest move to mysql with full repository migration if this is your case.

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.