Page 1 of 1

com.openkm.core.PathNotFoundException: /okm:trash/system

PostPosted:Mon Jul 22, 2019 10:15 am
by wayne
Hi,

i used the okmAdmin to remove a system folder in the /okm:trash folder, is that possible to recreate the folder ("system")

Re: com.openkm.core.PathNotFoundException: /okm:trash/system

PostPosted:Thu Jul 25, 2019 7:39 am
by jllort
login with okmAdmin -> go to administration > scripting and execute the script below:
Code: Select all
import com.openkm.api.*;
OKMFolder.getInstance().createSimple(null,"/okm:trash/system");

Re: com.openkm.core.PathNotFoundException: /okm:trash/system

PostPosted:Tue Aug 13, 2019 3:53 am
by wayne
Thank you jllort!