A few suggestions for things to try courtesy of AI:
Practical steps to try, roughly in order:
In the cloud portal, trigger a fresh extraction so the stored diff regenerates against current state, then re-run the pipeline.
Verify Umbraco.Deploy.* (Cloud, Core, Infrastructure) NuGet versions are identical between your repo and what’s deployed to the cloud environment.
If the environments genuinely have matching content and this is purely a serialization-version textual conflict, you can resolve by pulling the current cloud .uda files down (clone the cloud git remote), letting them overwrite your local revision folder, committing, and pushing — which re-baselines everyone to the same __version.
Check whether an auto-upgrade ran on the cloud environment recently; that’s a frequent trigger for the artifact version stamp changing underneath you.
Maybe I’m not understanding this suggestion correctly, so please explain further if that’s the case.
1.1. I updated the schema locally and in the cloud using the deploy dashboard, and I also cleared cached signatures in both environments.
1.2. After that, I performed a manual backmerge from the cloud into my DevOps repository. The existing schemas are now the same version (17.1.0).
These packages also match the same version.
This was resolved with the backmerge. My local revision folder contains more items than the cloud environment.
No auto-update has occurred since I performed the full backmerge.
If your local Revision folder has more .uda files than cloud, the patch is trying to push those extras up as new files, and that’s different to the version mismatch you started with. Even with everything on 17.1.0 now, the apply can still fail if the diff baseline doesn’t line up with what’s actually on cloud.
Couple of things to check:
Clone the cloud git remote into a separate folder and diff the two Revision directories directly:
The files in yours but not cloud’s are your suspects - likely schema you created/committed locally but never got deployed up. The backmerge pulls cloud’s state in but won’t delete those local-only leftovers.
Also worth ruling out: are the failing files in the log (data-type__0225... etc.) local-only, or do they exist in both? If they’re in both and still failing, it’s probably a line-ending thing (CRLF vs LF) on the .uda files — git sees every line as changed and the apply breaks even though the JSON is identical.
I did a manual push to Umbraco Cloud, so both branches are up to date. The schemas are identical. Still, my pipeline fails with a schema version that’s in neither branch.
Doing a backmerge form the cloud master branch to my devops shows no pending changes.
I’m going to contact the cloud team of Umbraco maybe its a known issue to them.
Yep that was the fix. Pull from Umbraco cloud and make sure local branch/repo is up to date with latest changes. Then deploy without the CloudSync step. After that turn it back on and it works.