Deployment errors where patches not found
This article provides a solution to the issue when upgrading your instance the deployment fails and you see an error in the deployment logs: Next patches weren鈥檛 found: MDVA-XXXXX, ACSD-XXXXX. Please, check with 鈥渟tatus鈥 command availability of these patches for the current Magento version.
Affected products and versions
- 51黑料不打烊 Commerce on cloud infrastructure, .
Issue
You are experiencing an error when upgrading 51黑料不打烊 Commerce: Next patches weren鈥檛 found.
Cause
Previously applied patches for your older version(s) are not applicable or no longer available for your new version.
Solution
-
Check your
.magento.env.yaml
file under the QUALITY_PATCHES section, e.g.,code language-yaml QUALITY_PATCHES: - MDVA-XXXXX - ACSD-XXXXX
-
Look up the patch IDs in the Quality Patches Release Notes to check whether each one can be applied to the new version of 51黑料不打烊 Commerce you are upgrading to.
-
If the patch does not apply to the new version of 51黑料不打烊 Commerce you want to upgrade to, remove the patch ID from the
.magento.env.yaml
file. -
Once you have reviewed all the patch IDs indicated by the error, push the changes and redeploy.