• Problem with OKM:mail??

  • 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.
 #12501  by gameking_49
 
I access openkm system with admin role, i removed current openkm:mail in admin tab, i logout and login, i can't login and received problem:com.openkm.core.RepositoryException: okm:mail ???
plz help me fix a problem!
(i use ldap authenticate AD, mail exchange server 2007, mysql, server: linux os server)
Thanks for your help!
 #12514  by jllort
 
How did you delete it ... browsing from repository viewer ? It's a non trivial problem

login from here http://localhost:8080/OpenKM/admin/

Try with scripting
Code: Select all
import com.openkm.bean.Folder;
import com.openkm.api.OKMFolder;

Folder folder = new Folder();
folder.setPath("/okm:mail");
OKMFolder.getInstance().create(null, folder);
 #12533  by jllort
 
That will not be easy to solve, must be done calling low level repository functions:

DirectRepositoryModule ( where mail node is created )
http://openkm.svn.sourceforge.net/viewv ... iew=markup

Take a look:
1- createBase method
2- createBase(session, root, Repository.MAIL);

some scripting code to get session will be useful too
import javax.jcr.*;
import com.openkm.core.*;
import com.openkm.bean.*;
import com.openkm.module.base.*;

String token = JcrSessionManager.getInstance().getSystemToken();
Session session = JcrSessionManager.getInstance().get(token);
If you need support contact with us at http://www.openkm.com/Contact that's not a trivial issue, and need some time job to reparing it. Althought it with information I give to you can doing yourself, but you'll need some time I suggest write scripting step by step.
 #12580  by jllort
 
I've tested on our online demo and there's no error on lines I give to you.

You must work on implement extra calls present on DirectRepositoryModule ( as I said in last post ), it's not a trivial job and must be done with patience.

You're on production environment no ?, Other solution you could test could be exporting data ( I'm not sure if with this internal repository error will be possible ).
 #12604  by gameking_49
 
Thanks for your help, it's a complex problem. I have built a new system with version 5.1.8 (build 7300) in two day,^^. :shock: relly, my job haven't time for fix this error :)
 #12608  by jllort
 
If it was a simply problem that with few minutes will could give to you the script we had done, but really we'll need some hours to prepare it, and in these cases it's only available across professional technical supporting program.

I suggest you ensure you're making backups correctly, because on this scenario some restoring should be really usefull.

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.