• repository import fails

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
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.
 #19197  by boris
 
i'm trying to migrate to openkm 6.2 but the repository import fails:
it recreates all the folders, but files are ignored. When i browse through the repository export with a filebrowser, all the files are there.
 #19217  by jllort
 
From which version are you trying to migrate ?
 #19494  by boris
 
I found the solution myself:
when importing a repository from version 5.1.* (i tried 5.1.10 and 5.1.11), don't check the 'import history' option. When doing this, the files won't import. Without that flag checked, the import worked for both files and folder
 #19506  by jllort
 
If you export with metadata and history and import with it should be executed correctly ( otherside we got some bug ). But always with version 5.1.11 !! not with 5.1.10
 #19556  by fonnerk
 
I just experienced the same issue trying to do a migration with history. If I export with 5.1.11-SNAPSHOT (Build 7614) There is no option to export history??? Just Metadata.
 #19578  by pavila
 
En la versión 5.1.11 Community que yo recuerde no está opción de exportar con histórico. Y si no exportas con histórico no podrás importar el histórico desde la versión 6.2.1. Vamos, que desde la versión 5.1.11 deberías exportar con metadatos y en la 6.2.1 importar con metadatos, pero olvidarse del histórico.

Tenemos pendiente de implementar la exportación con histórico en la versión 5.1.11 pero aún no está lista -> 0002507: Improve import / export compatibility between OpenKM 5.1 and 6.2

No sé si queda claro o es que el problema es otro.
 #19583  by fonnerk
 
I'm sorry, but I do not speak Spanish. I ran your comment through Google translate though... Here is what I think I understand from your comment and the migration docs....

The 5.1.11 Community version does not support export with History yet. (This is what I gathered from the comment)
You can not upgrade your 5.1 community system to version 6.2 yet and keep your history intact because the upgrade is done with an export and import.
You created issue 0002507 to fix this?

Am I understanding this correctly. I apologize if I'm not... The google translate was a little rough and some of the sentences that it translated did not make any sense to me.

Do you think that the 5.1.11 snapshot will support exporting of history soon?

Thanks,
Kevin
 #19602  by jllort
 
Pavil has tryed to tell to you that:
In version 5.1.11 ( community ) there's no history option. Basically if you do not export with historic from 5.x you can not import with historic in 6.x. Basically you should export with metadata from 5.x and import with metadata in 6.x

We got pending this implementation is ticket 0002507 but is still not yet done
 #19628  by pavila
 
Sorry O thought I was writing in the spanish forum :)

Yes, that is was I tried to explain. We need to do some work to export version history in OpenKM 5.1.11 so I created the ticket.
 #19656  by fonnerk
 
No problem. Thanks for your help and great job on the software. I'll wait for the 5.X integration to get the export with history option. Feel free to let me know once it's there... I'll be happy to test it for you.
 #19713  by pavila
 
I have updated the issue and now the export / import with history should work. Just uploaded, so try to download tomorrow the nightbuild.
 #19803  by fonnerk
 
I am a bit confused... Did you just get rid of the error with the 6.2.2 import with history or did you fix it so that you can export your history from 5.1.11 as well? I looked at the latest release at http://integration.openkm.com/5.1/ and it is still at build 7614. I decided to try it anyways and I still do not see on the export screen on 5.1.11-Snapshot an option to export with history (just metadata)?
 #19822  by fonnerk
 
Also,

I tested out the import (just in case history was included automatically and was in the exported directory in a format that I did not recognize) on 6.2.2-DEV (build: 7745). When I click to browse the filesystem path an application error was thrown. Below is the error thrown on the server. The same same thing happens when browsing the filesystem for export on the latest build.
Code: Select all
2012-12-14 09:26:37,644 [http-bio-0.0.0.0-8080-exec-6] ERROR com.openkm.extension.servlet.DataBrowserServlet -
java.lang.NullPointerException
        at com.openkm.extension.servlet.DataBrowserServlet.fileSystemList(DataBrowserServlet.java:128)
        at com.openkm.extension.servlet.DataBrowserServlet.doGet(DataBrowserServlet.java:86)
        at com.openkm.extension.servlet.DataBrowserServlet.service(DataBrowserServlet.java:71)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:101)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
 #19953  by fonnerk
 
As of 6.2.2-DEV (build 7781) I do not get an error anymore selecting the filesystem path. However I also do not get any files imported... only folders. It's strange I see in the server log info messages stating it is processing the documents and their metadata files... but I still do not see them in the repository after the import.

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.