I do sometimes see exception like javax.jcr.InvalidItemStateException: OakState0001: Unresolved conflicts in /content/people/ola-normann-10663 at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:237)
Am wondering if this can be related to the above issue. Is there an easy way to resolve these? On 27 April 2015 at 10:52, Torgeir Veimo <torgeir.ve...@gmail.com> wrote: > I'm trying to move a repository from tarmk to mongodb, and am using > the oak-run restore command, but am getting an exception; > > spazzo:oak-run torgeir$ java -jar ./target/oak-run-1.2.1.jar restore > mongodb://localhost/oak ~/oak-repository-backup-20150427a > > Apache Jackrabbit Oak 1.2.1 > Exception in thread "main" java.lang.IllegalArgumentException: builder > must be a org.apache.jackrabbit.oak.plugins.document.DocumentRootBuilder > at > org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.asDocumentRootBuilder(DocumentNodeStore.java:2232) > at > org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.merge(DocumentNodeStore.java:1490) > [...] > > Looking at the mailing list it might be due to OAK-2049. I've tried > running the node count script in oak console to find the offending > node, but it detects no errors. > > http://oak-dev.jackrabbit.apache.narkive.com/KVUViR6K/cannot-backup-and-restore-aem-tar-repository > > Are there any other things I need to fix in the repository? I've run > the check, compact and then backup commands on the repository prior to > trying to restore it to mongodb. > > -- > -Tor -- -Tor