• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

Issue with Migration using CRX2OAK

New Here ,
Feb 01, 2022 Feb 01, 2022

Copy link to clipboard

Copied

We are trying to migrate our project from AEM 6.1 to AEM 6.5 using CRX2OAK migration tool. The version we are using - crx2oak-1.10.0-all-in-one.jar. The command we are using is as below.

 

java -Xmx1g -jar crx2oak-1.10.0-all-in-one.jar segment-old:<localdrive>/auth6.1/crx-quickstart/repository <localdrive>/auth6.5/crx-quickstart/repository --include-path=/ --exclude-path=/tmp --src-fileblobstore=D:/cq/ga/auth6.1/crx-quickstart/repository/datastore --fileblobstore=D:/cq/ga/auth6.5/crx-quickstart/repository/datastore --copy-versions=true --copy-orphaned-versions=true > migration_new.txt


We are getting following error. Please suggest.

 

02.02.2022 11:45:34.798 ERROR c.a.g.c.e.MigrationEngine: The internal error occurred during migration. The migration process has been aborted and it is not complete!
java.lang.RuntimeException: javax.jcr.RepositoryException: Failed to copy content
at com.google.common.io.Closer.rethrow(Closer.java:151)
at org.apache.jackrabbit.oak.upgrade.cli.OakUpgrade.migrate(OakUpgrade.java:81)
at com.adobe.granite.crx2oak.engine.MigrationEngine$2.doMigration(MigrationEngine.java:67)
at com.adobe.granite.crx2oak.engine.MigrationEngine.process(MigrationEngine.java:92)
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)
Caused by: javax.jcr.RepositoryException: Failed to copy content
at org.apache.jackrabbit.oak.upgrade.RepositorySidegrade.copy(RepositorySidegrade.java:287)
at org.apache.jackrabbit.oak.upgrade.cli.OakUpgrade.sidegrade(OakUpgrade.java:92)
at org.apache.jackrabbit.oak.upgrade.cli.OakUpgrade.migrate(OakUpgrade.java:78)
... 5 common frames omitted
Caused by: java.lang.IllegalArgumentException: 295053cdc1e4564514db8dd57a907933ab69ad046703ef1faac4a88c181f2cd8#23328
at org.apache.jackrabbit.oak.commons.StringUtils.getHexDigit(StringUtils.java:93)
at org.apache.jackrabbit.oak.commons.StringUtils.convertHexToBytes(StringUtils.java:72)

TOPICS
How to , Services and storage

Views

58

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Feb 02, 2022 Feb 02, 2022

Likes

Translate

Translate
LEGEND ,
Feb 02, 2022 Feb 02, 2022

Copy link to clipboard

Copied

AEM is not supported in these community forums, for some reason.  You need to contact AEM support instead.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Feb 02, 2022 Feb 02, 2022

Copy link to clipboard

Copied

LATEST

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines