There is Sitecore 10.2
solution running with CLI tool v4.2
. In order to upgrade to CLI v5.1
the following steps were done:
In
sitecore.json
all the plugin versions have been updated:"plugins": [ "[email protected]", "[email protected]", "[email protected]", "[email protected]", "[email protected]" ],
In the
.env
file, the MANAGEMENT_SERVICES_IMAGE version has been updated:MANAGEMENT_SERVICES_IMAGE=scr.sitecore.com/sxp/modules/sitecore-management-services-xm1-assets:5.1-1809
Containers have been rebuilt with --no-cache
option. But there is still a version conflict. The CLI error:
The Sitecore Management Service version of the environment this Sitecore CLI operates with is outdated, please update the Sitecore Management Service to version 5.1.25.
Locally, it can be mitigated via unrecommended setting in sitecore.json
, but the error still appears on build agents where we build/install serialization packages:
"settings": {
"versionComparingEnabled": false
}
What causes this version conflict?
Sitecore.DevEx.Serialization.dll
from a running CM instance. Version is5.1.25
(that is an assembly ftom the Management Services package)