Resolve AEM Managed Services deployment blocked by environment version mismatch

If your AEM Managed Services deployment is blocked because environments sharing a deployment pipeline run different versions, manually add the release branch to the pipeline configuration for the blocked environment. Then upgrade the environment on the older version.

Description description

In Adobe Experience Manager (AEM) Managed Services, multiple environments such as pre-production and production may share the same deployment pipeline. A deployment can be blocked if one environment is upgraded to a newer Long-Term Support (LTS) version while another remains on an older version. This version mismatch prevents the pipeline from deploying code to the environment on the older version, as the release branch may not be compatible. Manual configuration is required to resolve this issue and allow deployments to proceed once versions are aligned.

Environment

Adobe Experience Manager (AEM) Managed Services (all versions)

Symptoms

  • Deployment to one environment is blocked due to a version mismatch with another environment sharing the same pipeline.
  • The release branch does not support the older version in one environment.

Cause

The deployment pipeline is shared between two or more environments running different AEM versions, causing compatibility issues and deployment failures.

Resolution resolution

Follow these steps to resolve the issue.

  1. Identify the AEM versions currently running in each environment sharing the deployment pipeline.
  2. Review your deployment pipeline configuration to determine which branches and versions are mapped to each environment.
  3. Work with your DevOps or pipeline administrator to manually add the relevant release branch (for example, release/) to the pipeline configuration for the environment that is blocked. Ensure that this change does not trigger an automatic deployment.
  4. Confirm that the pipeline now recognizes both environments, even if they are on different versions, and that no deployment is triggered to the environment on the older version.
  5. Plan and schedule an upgrade of the environment running the older version to match the newer LTS version. This will prevent future deployment blocks caused by version mismatches.
recommendation-more-help
experience-cloud-kcs-help-kbarticles