Assets remain in pre-processing when duplicate Dynamic Media configurations exist in AEM
This article describes how to resolve an issue where AEM Assets remain stuck in the pre-processing state due to duplicate Dynamic Media configurations in Adobe Experience Manager as a Cloud Service.
Description description
Environment
- Adobe Experience Manager Assets as a Cloud Service
- Dynamic Media in Scene7 mode
- Dynamic Media cloud configuration nodes under
/conf/global/settings/cloudconfigs/
Issue/Symptoms
- You see assets remain in the
pre-processingstate and fail to complete processing, even after reprocessing them. - You see the Dynamic Media General Settings page display Failed to fetch data.
- You see asset-processing jobs remain in the
Queuedstate. - You see a
NullPointerExceptionrelated to Dynamic Media configuration in the error logs. - You find multiple Dynamic Media configuration nodes under
/conf/global/settings/cloudconfigs/.
Cause
Failed or incomplete Dynamic Media configuration attempts leave duplicate, orphaned, or incomplete configuration nodes under /conf/global/settings/cloudconfigs/. AEM supports only one Dynamic Media configuration per instance. Multiple configuration nodes can prevent AEM from determining which configuration to use, resulting in Dynamic Media configuration, synchronization, publishing, or asset-processing failures.
Resolution resolution
Follow the steps below to resolve the issue:
- Sign in to the AEM Author environment with an account that has the required administrative permissions.
- Go to Tools
>Cloud Services>Dynamic Media Configuration and identify the active connected configuration by its Scene7 company icon or thumbnail and recent modification date. - Review the sibling nodes under
/conf/global/settings/cloudconfigs/, including configuration nodes such asdmscene7,dmscene72, ordmscene73. - Identify the orphaned, duplicate, or incomplete configuration nodes by checking for a blank icon, missing Scene7 company thumbnail, failed connection, incomplete configuration details, or an outdated modification date.
- Confirm which Dynamic Media configuration must be retained for the environment. Preserve the active configuration used by the project and its applicable DAM folders.
- Prepare the affected environment name, the exact names of the orphaned or incomplete nodes to remove, the active configuration node to retain, screenshots of the configuration interface, and the relevant Failed to fetch data and
NullPointerExceptiondetails. - Contact Adobe Support and request backend removal of the confirmed orphaned, duplicate, or incomplete Dynamic Media configuration nodes. Don’t attempt to delete the configuration nodes directly in AEM as a Cloud Service Production.
- After Adobe confirms the cleanup, open Dynamic Media Configuration and verify that the intended active configuration remains and the Dynamic Media General Settings page loads without errors.
- Reprocess a test asset from the AEM Assets interface and verify that it moves out of the
pre-processingstate and completes Dynamic Media processing. - Monitor the error logs and confirm that the relevant
NullPointerExceptionand Failed to fetch data errors no longer occur.
recommendation-more-help
experience-cloud-kcs-help-kbarticles