Running Umbraco 13? Security support ends 14 December. Fixed-price upgrade to 17: £8,999 + VAT See how it works →
umbracofreelancer
Umbraco Cloud field notes

Your .uda files are a v13 snapshot.

Why the first Umbraco 17 deployment fails on Cloud. Part 2 of 8 in Umbraco Cloud field notes.

Part 2 of 8 in Umbraco Cloud field notes, a weekly series on running client sites on Umbraco Cloud: the failures I have hit and how to get out of them. The full list is at the end of this post.

You upgrade a Cloud site from Umbraco 13 to 17 on your own machine. It builds, it runs, the backoffice works. You push, and the environment reports that the last data extraction failed, with Could not update existing data type (operation status: InvalidConfiguration) in the log and no hint which data type it means.

Umbraco 13 reaches end of life on 14 December 2026, so a lot of these upgrades are happening now. This failure reached Cloud on two of mine before I learned to check for it before the first push. The cause was the same both times, and it is not the data type the log names.

What the failure looks like

The environment shows a banner: "The last Umbraco data extraction failed on this environment". The log has this, trimmed, with a made-up id:

Umbraco.Deploy.Core.Exceptions.ProcessArtifactException: ... failed for artifact umb://data-type/0123456789abcdef0123456789abcdef.
 ---> System.InvalidOperationException: Could not update existing data type (operation status: InvalidConfiguration).

The id in the umb://data-type/ address is the file name: umbraco/Deploy/Revision/data-type__0123456789abcdef0123456789abcdef.uda. That gets you to one file. It is not the whole problem, because the log only names the first artifact that failed. On one site nine data types were affected and one was reported. One bad artifact also stops the extraction for everything else.

Why the files are stale

A .uda file is written when you save a schema item in the backoffice. An upgrade is not a save. The migrations change data types directly in the database with notifications switched off, so Deploy never hears about it and never rewrites the files. Umbraco's own developers describe this in Umbraco.Deploy.Issues #299.

So after a local upgrade your database is in v17 shape and the committed .uda set is still what Deploy 13 last exported. Push that, and Deploy on Cloud tries to apply v13 configuration to a v17 site. Some of it no longer validates.

Two things I expected to save me did not.

Deploy does have migrators that convert pre-v14 data type artifacts. They run when you import an export, not when Deploy reads files from umbraco/Deploy/Revision. Umbraco HQ said so in #282.

And Deploy does not export the schema for you after a migration. That was the request in #299. It was closed in January 2026 without that change, because an automatic export would run on every environment and overwrite the files being deployed. The export is yours to run.

Deploy's troubleshooting page does recommend re-saving the files after an upgrade. The Cloud major upgrade guide, which is the page you are following at the time, had no such step when I checked.

The tell: no EditorUiAlias

Since Umbraco 14 every data type has a property editor UI alias, and Deploy 17 writes it into the artifact. A file exported on v13 does not have one. List the data type files without it:

grep -LE '"EditorUiAlias": *"[^"]' umbraco/Deploy/Revision/data-type__*.uda

On Windows:

Get-ChildItem umbraco/Deploy/Revision/data-type__*.uda |
    Where-Object { -not (Select-String -Path $_.FullName -Pattern '"EditorUiAlias":\s*"[^"]' -Quiet) }

On one site that listed 81 of 102 data type files. On another, all 164. If the count is not zero, do not go fixing files one at a time. The whole set is a snapshot from before the upgrade.

The last line of each file confirms it. "__version" records the Deploy version that wrote the file, and on a stale one it starts with 13.

The files that fail are the ones whose configuration changed shape. A dropdown or checkbox list is the usual first casualty. On v13 its items were objects:

"items": [
  { "id": 1, "value": "GB" },
  { "id": 2, "value": "US" }
]

On v17 they are strings:

"items": ["GB", "US"]

Why editing the files is the wrong fix

Flattening items by hand is obvious, and it works. The extraction passes. I did it on one project with a script: five files.

A week later the same project turned up three more files the first pass had missed. When I compared my edited files with what Deploy writes itself, mine still had no EditorUiAlias and none of the umbMigrationV14 timestamps the upgrade stamps into each data type it converts. They passed, and they were still not v17 artifacts. Both rounds had to be redone properly.

A hand edit fixes the field the error pointed you at. It does not find the fields you do not know about, and it does not find the files that have not failed yet. The same goes for a SQL UPDATE, which also leaves the database and the files disagreeing.

The fix: export from the upgraded database

Do this locally, after the upgrade and before the first push.

  1. Check the data types themselves are right. Where I checked, the local database was already in v17 shape and only the files were stale. If one is wrong, fix it in the backoffice or in a migration that goes through IDataTypeService.
  2. With the upgraded site running, go to Settings > Deploy and run Export Schema To Data Files. Or create the trigger file Deploy watches for:
touch umbraco/Deploy/deploy-export
  1. Run the check above again. It should list nothing.
  2. Read the diff before you commit. Every data type file will change, which is the point. What needs reading is any file that is new. An export writes whatever is in your local database, including schema you deleted on purpose somewhere else. On one project an export produced seven new artifacts and four of them were document types and a template we had removed.
  3. Search the new set for editors that no longer exist. Deploy marks them for you:
grep -l 'Umb.PropertyEditorUi.Missing' umbraco/Deploy/Revision/data-type__*.uda
  1. Commit and push.

If the failure has already happened on Cloud, the fix is the same. Regenerate locally and push the new set.

What Deploy 17.5 adds

Deploy 17.5.0-rc1, published on 12 November 2026, adds a Deploy group to the Health Check dashboard. One check, "UDA file versions", reports files written by an older major version and offers a Migrate action. The schema comparison also gains a Version column. That is this problem, detected by Deploy itself.

It is a release candidate as I write this and I have not run it against a v13 set, so I cannot tell you what Migrate does to one. Until I have, the export is the fix I trust.

The habit to take from this: after any major upgrade, the .uda files are part of the upgrade. Regenerate them before the first push, not after the first failure.

Umbraco Cloud field notes: the series

One post every Tuesday. Links appear here as each part goes live.

  1. Out of disk space on Umbraco Cloud: three failures, one cause
  2. Why the first Umbraco 17 deployment fails on Cloud: your .uda files are a v13 snapshot (this post)
  3. Three data type settings the Umbraco 17 upgrade leaves in v13 shape
  4. Saving a secret on Umbraco Cloud kills a deployment that is still running
  5. Why deleting a document type on Umbraco Cloud takes two deployments
  6. "There is no current work": the restore error that means something else
  7. Was that outage a deployment or Azure? Reading the event log on Umbraco Cloud
  8. What you can check about an Umbraco Cloud site without the portal