Page 1 of 1

Deleting all documents from OpenKM & Physical

PostPosted:Tue Mar 03, 2020 10:02 am
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

Re: Deleting all documents from OpenKM & Physical

PostPosted:Sat Mar 07, 2020 11:28 am
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

Re: Deleting all documents from OpenKM & Physical

PostPosted:Sat Mar 14, 2020 1:14 pm
by tvsuhail
Thanks, it worked.