Impossible de migrer le contenu d’AEM 6.1 vers 6.5

Description

La trace de pile suivante est générée lors de la migration de contenu AEM v6.1 vers 6.5 :

C:\aem\aem61\crx-quickstart-v65-unpack\opt\extensionsjava -jar crx2oak.jar segment-old:C:/aem/aem61/crx-quickstart-v61/repository/segmentstore/ C:/aem/aem61/crx-quickstart/repository/datastore
29.04.2022 17:06:50.038 INFO   c.a.g.c.CRX2Oak: started with args: segment-old:C:/aem/aem61/crx-quickstart-v61/repository/segmentstore/, C:/aem/aem61/crx-quickstart/repository/datastore
29.04.2022 17:06:50.107 INFO   c.a.g.c.c.VersionPrinter: CRX2Oak version: 1.10.0 (STANDALONE mode)
29.04.2022 17:06:50.276 INFO   c.a.g.c.c.VersionPrinter: /C:/aem/aem61/crx-quickstart-v65-unpack/opt/extensions/crx2oak.jar (version: 1.10, checksum: 8582adb2b4f999866d4b24a48364295c4665e1ab9ea164460e122f555dd3e6421a81f55e74b45d72b86777079b7e48a29e2b8e6703c2a31d3b772e115743bfa5)
29.04.2022 17:06:50.276 INFO   c.a.g.c.p.ProfileHandler: Applying partly the command line (before loading a profile): segment-old:C:/aem/aem61/crx-quickstart-v61/repository/segmentstore/, C:/aem/aem61/crx-quickstart/repository/datastore
29.04.2022 17:06:50.295 INFO   c.a.g.c.p.ProfileHandler: The following template tags has been defined: {}
29.04.2022 17:06:50.295 INFO   c.a.g.c.p.ProfileHandler: The command line (after loading a profile): segment-old:C:/aem/aem61/crx-quickstart-v61/repository/segmentstore/, C:/aem/aem61/crx-quickstart/repository/datastore
29.04.2022 17:06:50.295 INFO   c.a.g.c.c.MigrationSpecGenerator: The effective command line for migration: segment-old:C:/aem/aem61/crx-quickstart-v61/repository/segmentstore/, C:/aem/aem61/crx-quickstart/repository/datastore
Exception in thread "main" java.lang.IllegalStateException
        at com.google.common.base.Preconditions.checkState(Preconditions.java:429)
        at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.init(FileStore.java:403)
        at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.init(FileStore.java:92)
        at org.apache.jackrabbit.oak.plugins.segment.file.FileStore$ReadOnlyStore.init(FileStore.java:1449)
        at org.apache.jackrabbit.oak.plugins.segment.file.FileStore$ReadOnlyStore.init(FileStore.java:1446)
        at org.apache.jackrabbit.oak.plugins.segment.file.FileStore$Builder.buildReadOnly(FileStore.java:393)
        at org.apache.jackrabbit.oak.upgrade.cli.node.SegmentFactory.hasExternalBlobReferences(SegmentFactory.java:94)
        at org.apache.jackrabbit.oak.upgrade.cli.node.StoreFactory.hasExternalBlobReferences(StoreFactory.java:67)
        at org.apache.jackrabbit.oak.upgrade.cli.parser.StoreArguments.srcUsesEmbeddedDatastore(StoreArguments.java:115)
        at com.adobe.granite.crx2oak.oak.OakUtils.updateSecondaryHeavyOakTopics(OakUtils.java:60)
        at com.adobe.granite.crx2oak.oak.OakUtils.updateAllOakTopics(OakUtils.java:41)
        at com.adobe.granite.crx2oak.core.MigrationSpecGenerator.preprocess(MigrationSpecGenerator.java:48)
        at com.adobe.granite.crx2oak.pipeline.InputAggregatingComponent.process(InputAggregatingComponent.java:38)
        at com.adobe.granite.crx2oak.pipeline.Pipeline.run(Pipeline.java:103)
        at com.adobe.granite.crx2oak.CRX2Oak.run(CRX2Oak.java:66)
        at com.adobe.granite.crx2oak.CRX2Oak.main(CRX2Oak.java:51)

Résolution

Effectuez d’abord la migration vers AEM v6.3, puis vers la version 6.5.

Sur cette page