Cloud Manager deployment fails with an empty dispatcher.zip in AEM as a Cloud Service
This article describes how to resolve an issue in Adobe Experience Manager (AEM) Cloud Manager where enabling the ‘ignoreWebTierConfig=true’ option results in an empty dispatcher.zip file and deployment errors.
Description description
Environment
- Adobe Experience Manager as a Cloud Service
- Cloud Manager Full Stack and Web Tier Config pipelines
Issue/Symptoms
- A Full Stack pipeline is configured with
ignoreWebTierConfig=true. - The pipeline output contains an empty
dispatcher.zip. - Applying the empty archive to the Publish environment causes deployment errors.
Cause
If both a Web Tier pipeline and a Full Stack pipeline are configured in Cloud Manager, dispatcher configurations are only deployed via the Web Tier pipeline. The Full Stack pipeline will always have the Ignore Web Tier Configuration option enabled in this scenario. If the Web Tier pipeline is not executed or is misconfigured, the Full Stack pipeline will generate an empty dispatcher.zip, resulting in deployment failures.
Resolution resolution
Follow the steps below to resolve the issue:
- In Cloud Manager, verify that both the Web Tier pipeline and the Full Stack pipeline are configured correctly for the affected environment.
- Run the Web Tier pipeline and confirm that it completes successfully before running the Full Stack pipeline.
- If the generated
dispatcher.zipfile is empty, rerun the Web Tier pipeline to regenerate and publish a valid Dispatcher configuration package. - After the Web Tier pipeline completes successfully, rerun the Full Stack pipeline.
- Verify that the newly generated
dispatcher.zipfile contains the expected Dispatcher configuration and that the deployment completes without errors. - If the issue persists, review the settings in the Configuration and Source Code tabs of the Web Tier pipeline and correct any configuration issues.
recommendation-more-help
experience-cloud-kcs-help-kbarticles