Resolve unintended version downgrades in AEM as a Cloud Service production environments
In Adobe Experience Manager as a Cloud Service (AEMaaCS) production environments, a pipeline deployment can unintentionally downgrade the environment to an older release. To resolve the issue, redeploy the intended release, correct the pipeline metadata, and implement preventive safeguards.
Description description
Environment
- Adobe Experience Manager as a Cloud Service (AEMaaCS)
- Production environments
Issue/Symptoms
- Environment functionality changes unexpectedly after a pipeline deployment.
- Features or assets revert to previous states.
- Issues occur with asset reprocessing or other environment functions.
Root cause
This issue is typically caused by a release synchronization problem, where the pipeline’s release metadata doesn’t match the current environment state, which results in the deployment of an older release.
Resolution resolution
Follow the steps below to resolve the issue:
-
Validate the current environment state:
- Log in to Cloud Manager.
- Go to the affected production environment, and review the currently deployed release version in the environment details and deployment logs.
-
Review the pipeline execution history:
- In Cloud Manager, check the pipeline execution history for recent deployments.
- Identify any executions that might have used outdated or incorrect release metadata.
-
Restore the correct release:
- If you confirm a downgrade, redeploy the intended (latest) release to the production environment by using a validated deployment pipeline.
- Ensure that the pipeline’s configuration and release metadata match the desired release version before you deploy.
-
Update the pipeline configuration as needed to ensure that it references the correct release version and doesn’t retain outdated metadata.
-
After you redeploy, confirm that all environment functions (such as asset reprocessing) work as expected.
-
Implement preventive safeguards:
- Regularly review pipeline configurations and release metadata before deployments.
- Work with Adobe support or engineering to enable or request safeguards that prevent deployment of older releases after an upgrade, such as never-downgrade detection and release consistency checks.