• Deleting all documents from OpenKM & Physical

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
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.
 #49738  by tvsuhail
 
Hi,

Kindly let me know whether there are anyway to delete all documents/folders (From physical disk, and database tables etc.) to start from fresh uploads? without effecting the configurations?

I had done lot of testings with documents where it is more than 600k documents, but getting very difficult to purge or delete from OpenKM due to the time out, or due to the deletion I have done physically from the disk. Even tried to purge after recreating those files using script from the OS.

Version : 6.3.8

Thanks,
Suhail
 #49747  by jllort
 
Delete all folders and nodes from OpenKM and then clean the trash ( the action will take some time ).

More radical option:
1- Stop application
2- Drop and create database again
3- Delete repository folder
4- Update OpenKM.cfg and set hibernate.hbm2ddl==create
5- Start application

Following these steps should get a fresh repository

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.