Skip to main content
Participant
February 2, 2022
Answered

Issue with Migration using CRX2OAK

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)

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Legend
February 2, 2022

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

Translate
Vikrant R
Vikrant RCorrect answer
Inspiring
February 2, 2022