Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Facing issue while extracting content with content transfer tool

Avatar

Level 2
java.lang.RuntimeException: org.apache.jackrabbit.oak.api.CommitFailedException: OakOak0001: Can't open the transformer
	at com.google.common.io.Closer.rethrow(Closer.java:149)
	at com.adobe.granite.skyline.migration.commons.ContentExtractor.migrateToLocalSegmentstore(ContentExtractor.java:248)
	at com.adobe.granite.skyline.migration.commons.ContentExtractor.migrate(ContentExtractor.java:159)
	at com.adobe.granite.skyline.migrator.Main.runExtraction(Main.java:139)
	at com.adobe.granite.skyline.migrator.Main.main(Main.java:102)
Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: OakOak0001: Can't open the transformer
	at com.adobe.granite.skyline.migration.commons.assets.TextRenditionEditor.enter(TextRenditionEditor.java:95)
	at org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:48)
	at org.apache.jackrabbit.oak.spi.commit.EditorHook.processCommit(EditorHook.java:54)
	at com.adobe.granite.skyline.migration.commons.LoggingCompositeHook.processCommit(LoggingCompositeHook.java:45)
	at org.apache.jackrabbit.oak.segment.scheduler.Commit.apply(Commit.java:99)
	at org.apache.jackrabbit.oak.segment.scheduler.LockBasedScheduler.execute(LockBasedScheduler.java:299)
	at org.apache.jackrabbit.oak.segment.scheduler.LockBasedScheduler.schedule(LockBasedScheduler.java:270)
	at org.apache.jackrabbit.oak.segment.SegmentNodeStore.merge(SegmentNodeStore.java:211)
	at com.adobe.granite.skyline.migration.commons.ContentExtractor.migrateContent(ContentExtractor.java:320)
	at com.adobe.granite.skyline.migration.commons.ContentExtractor.migrateToLocalSegmentstore(ContentExtractor.java:243)
	... 3 common frames omitted
Caused by: java.io.IOException: The Lucene index used to provide extracted text during migration was missing from the data store. This may be due to two instances sharing a data store, and not enforcing a policy to prevent blobs from being deleted.
	at com.adobe.granite.skyline.migration.commons.assets.TextRenditionRepositoryTransformer.open(TextRenditionRepositoryTransformer.java:125)
	at com.adobe.granite.skyline.migration.commons.assets.TextRenditionEditor.enter(TextRenditionEditor.java:93)
	... 12 common frames omitted
1 Accepted Solution

Avatar

Correct answer by
Level 1

Has this been ruled out?

 This may be due to two instances sharing a data store

 

View solution in original post

4 Replies

Avatar

Correct answer by
Level 1

Has this been ruled out?

 This may be due to two instances sharing a data store

 

Avatar

Level 2
i was running single instance. Although this is AEM SDK but not normal AEM 6.5 instance. could this be the issue. Is content transfer tool works on AEM SDK??

Avatar

Employee Advisor
@amitcsknit - Yes it is supposed to transfer content from on-premise to cloud. Try running it on on-premise instance to confirm. for transferring content between AEM cloud environments, content package needs to be used.

Avatar

Level 1

I was facing this issue while doing content migration from the AMS publish clone server to cloud publish during the fetch step at the AMS publish server itself. Restoring the publish clone helped to resolve this issue with the help of the AMS engineer.