S3 404 Not Found errors during AEM Content Transfer Tool migration with a shared blob store

This article explains how to resolve S3 404 Not Found errors that occur during Adobe Experience Manager Content Transfer Tool migrations when both the source and target environments share the same S3 or Azure blob store.

Description description

Environment

  • Adobe Experience Manager (AEM) with S3 or Azure Blob Store
  • Content Transfer Tool migrations between environments sharing the same blob store

Issue/Symptoms

  • Migration fails with S3 404 Not Found errors.
  • Error logs reference missing blob identifiers and DataStoreException.

Cause

With active deletion of index blobs enabled in both the source and target environments sharing the same blob store, one environment removes blobs still required by the other, causing migration failures.

Resolution resolution

To fix the S3 404 Not Found errors, follow these steps:

  1. In both the source and target AEM environments, open the OSGi configuration for org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService.

  2. Set the property Enable actively removing deleted index blobs from blob store to false (unchecked).

  3. Save and apply the configuration changes.

  4. Remove DELETE permissions from the IAM role or equivalent credentials used by AEM to connect to the S3 or Azure blob store. This prevents accidental deletion of required binaries during migration.

  5. On the source environment, perform repository maintenance:

    • Run Revision Cleanup.
    • Run Datastore Consistency Checks.
  6. If index consistency issues are identified, perform reindexing as needed.

  7. Run the Content Transfer Tool migration process again with a new migration set.

  8. Verify that the migration completes without S3 404 Not Found errors.

recommendation-more-help
experience-cloud-kcs-help-kbarticles