Hi,
I'm trying to migration from OpenKM 4.1 to OpenKM 5.0 by following this wiki page: http://wiki.openkm.com/index.php/Migrat ... 4.1_to_5.0
I have created the jaas.conf in the local directory and run:
reads (with names changed to protect the innocent:)):
BTW, I've looked at doing an export then import but it appears as if we will lose our history information.
Raffaele
I'm trying to migration from OpenKM 4.1 to OpenKM 5.0 by following this wiki page: http://wiki.openkm.com/index.php/Migrat ... 4.1_to_5.0
I have created the jaas.conf in the local directory and run:
Code: Select all
I get few warnings, as per the wiki page, but the migration fails with the following error:sudo java -Xmx512m -Djava.security.auth.login.conf=jaas.conf -cp ~/Desktop/OpenKM/utilities-5.0.jar com.openkm.util.RepositoryUpgrade -roc OpenKM-4.1_JBoss-4.2.3.GA/repository.xml -roh OpenKM-4.1_JBoss-4.2.3.GA/repository -rnc OpenKM-5.0_JBoss-4.2.3.GA/repository.xml -rnh OpenKM-5.0_JBoss-4.2.3.GA/repository
Code: Select all
We are running 4.1 with bundled JBoss 4.2.3.GA on a Mac OS X 10.6.8. Our repository is around 28GB. We are using LDAP for user authentication and our 4.1 OpenKM.cfg fileWARN org.apache.jackrabbit.core.query.lucene.SearchIndex - OpenKM-5.0_JBoss-4.2.3.GA/repository/workspaces/default/../../../indexing_configuration.xml ignored.
ERROR org.apache.jackrabbit.core.security.simple.SimpleSecurityManager - No valid LoginModule configuriation for OpenKM
javax.jcr.RepositoryException: No valid LoginModule configuriation for OpenKM
at org.apache.jackrabbit.core.security.simple.SimpleSecurityManager.init(SimpleSecurityManager.java:120)
at org.apache.jackrabbit.core.RepositoryImpl.getSecurityManager(RepositoryImpl.java:440)
at org.apache.jackrabbit.core.SessionImpl.retrieveUserId(SessionImpl.java:312)
at org.apache.jackrabbit.core.SessionImpl.<init>(SessionImpl.java:292)
at org.apache.jackrabbit.core.XASessionImpl.<init>(XASessionImpl.java:124)
at com.openkm.core.OKMSystemSession.<init>(OKMSystemSession.java:85)
at com.openkm.core.OKMSystemSession.create(OKMSystemSession.java:72)
at com.openkm.util.RepositoryUpgrade.repositoryUpgrade(RepositoryUpgrade.java:168)
at com.openkm.util.RepositoryUpgrade.main(RepositoryUpgrade.java:133)
reads (with names changed to protect the innocent:)):
Code: Select all
Please help!# Default configuration values
#
# repository.config=repository.xml
# repository.home=repository
# system.user=system
# default.user.role=UserRol
# default.admin.role=AdminRol
# principal.adapter=es.git.openkm.core.UsersRolesPrincipalAdapter
max.file.size=500
# max.search.results=25
# system.demo=off
# update.info=off
# system.ocr=/usr/bin/tesseract
system.openoffice=on
system.pdf2swf=/opt/local/bin/pdf2swf
# system.readonly=off
# system.antivir=/usr/bin/clamscan
restrict.file.mime=off
restrict.file.extension=*~,*.bak,._*
principal.adapter=es.git.openkm.principal.LdapPrincipalAdapter
principal.ldap.server=ldap://local_ldap_server
principal.ldap.security.principal=cn=someone
principal.ldap.security.credentials=password
principal.ldap.user.search.base=ou=people,dc=company,dc=com
principal.ldap.user.search.filter=(objectClass=posixAccount)
principal.ldap.user.attribute=uid
principal.ldap.role.search.base=ou=groups,dc=company,dc=com
principal.ldap.role.search.filter=(objectClass=posixGroup)
principal.ldap.role.attribute=cn
principal.ldap.mail.search.base=ou=people,dc=company,dc=com
principal.ldap.mail.search.filter=(objectClass=posixAccount)
principal.ldap.mail.attribute=zimbraMailDeliveryAddress
system.login.lowercase=on
BTW, I've looked at doing an export then import but it appears as if we will lose our history information.
Raffaele