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

Out of disk space on Umbraco Cloud.

Three failures that look unrelated, and one cause. Part 1 of 8 in Umbraco Cloud field notes.

Part 1 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.

When an Umbraco Cloud environment runs out of disk, nothing tells you. You get three failures that look unrelated, and none of them mention disk space. I lost about an hour to this on one of my own sites in July, chasing a bundling problem that did not exist.

This is the pattern, the one place the real error shows up, the fix, and what has changed since Umbraco shipped a cleanup in October.

What a full disk looks like from the outside

Everything that writes to disk fails, and each failure looks like its own bug.

What you seeWhy
Bundled CSS and JS return 500 with an empty body. The page HTML and the individual source files return 200The bundler cannot write its cache files
git push fails with RPC failed; HTTP 500 and send-pack: unexpected disconnect, even for a one-line commitGit cannot write the incoming pack
Nothing in the Umbraco logsThe logger cannot write either
An automatic upgrade sits at "In Progress" or failsRestore and build cannot write

The empty log is the trap. It reads as "nothing went wrong", so you go looking somewhere else. It is a symptom. An app that cannot write to disk cannot tell you so.

Two more signs. A restart does not fix it: the cache-buster token on the bundle URLs changes, which proves the app restarted, and the bundles still return 500. And the same commit restores and builds locally with 0 errors the whole time, because there is nothing wrong with the code.

A one-minute check with curl

Request one bundle and one of its source files directly. Do not judge this from the browser.

# The bundle
curl -s -o /dev/null -w "%{http_code}\n" https://www.example.com/sb/site-scripts.js.v123

# One of the files that goes into it
curl -s -o /dev/null -w "%{http_code}\n" https://www.example.com/scripts/site.js

Source file 200 and bundle 500 means the files are there and the app cannot write. Suspect the disk before anything else.

If you bundle with Smidge, the browser will show some bundles as 503. That is Smidge answering "this bundle is already being generated" while the page requests CSS and JS at the same moment. Ask for each bundle on its own and you get the real 500. The 503 sent me towards caching, which was the wrong direction.

Where the real error is

The Cloud deployment log is the only place I found that names the cause. In the portal, open the environment and look at the last deployment:

warning MSB3026: Could not copy "...\runtimes\win-arm64\native\icuuc72.dll" to "bin\Release\..."
    There is not enough space on the disk.
...
Deployment Failed.

MSB3026 with "not enough space on the disk" settles it. Everything else is downstream of that line.

Why it filled up, and what Umbraco changed

In my case the cause was C:\home\.nuget, the NuGet package cache. On Umbraco 9 and later the app service runs dotnet restore itself, and every package bump left the old version behind. With automatic patch and minor upgrades switched on, the folder only grew. My site was on the Starter plan, which gave it 7,800 MB to work with.

That was Umbraco.Cloud.Issues #855, opened in November 2024. Umbraco closed it on 2 October 2026 with a fix: after each deployment, a script now works out which packages the project uses and deletes the rest.

Two things in that fix are worth knowing.

The cleanup is triggered by a deployment. An environment that is already full cannot complete one, so it cannot clean itself. If you are in that state, the cleanup is not going to rescue you.

And the cache was only ever one way to fill a disk. Log files do it too. When I measured mine there were 253 of them going back 222 days, and nothing was pruning them.

The fix when you are already full

Open Kudu for the environment, go to the Debug console, choose PowerShell and clear the cache by hand:

dotnet nuget locals all --clear

This is the same one-off command Umbraco suggests for a site that cannot deploy. The next deployment downloads every package again, so expect it to take longer than usual.

If you want to see what is using the space before you delete anything:

Get-ChildItem C:\home -Directory -Force | ForEach-Object {
    $size = (Get-ChildItem $_.FullName -Recurse -File -Force -ErrorAction SilentlyContinue |
        Measure-Object Length -Sum).Sum
    [pscustomobject]@{ Folder = $_.Name; MB = [math]::Round($size / 1MB) }
} | Sort-Object MB -Descending

If you would rather not touch Kudu, raise a ticket. Support cleared mine and the site recovered at once: the bundles regenerated and the push that had been failing went straight through.

Getting warned before it happens

In July the portal's Usage page did not warn me. It reported media storage, and this is the app service's own file system. Since October 2026 the page has a Disk usage card for exactly that, which is worth a look. It is a figure to read, though, not an alarm: it shows the latest collected value, and the portal's warning banners and emails cover bandwidth and media storage.

What I run now is Umbraco.Community.Cloud.HealthChecks, a community package for Umbraco 17 that adds three health checks: disk usage on C:\home and C:\local, NuGet cache size, and the size of the logs folder. It measures from inside the app, so there are no credentials to store.

dotnet add package Umbraco.Community.Cloud.HealthChecks

A health check is only useful if something reads it. Umbraco's scheduled notifications will email you when a check fails and stay quiet when everything passes:

{
  "Umbraco": {
    "CMS": {
      "HealthChecks": {
        "Notification": {
          "Enabled": true,
          "FirstRunTime": "0 4 * * *",
          "Period": "1.00:00:00",
          "NotificationMethods": {
            "email": {
              "Enabled": true,
              "Verbosity": "Detailed",
              "FailureOnly": true,
              "Settings": { "RecipientEmail": "you@example.com" }
            }
          }
        }
      }
    }
  }
}

One warning from experience. FailureOnly means every failing check emails you every day, including the ones that were already failing before you started. Fix or disable those first, or the disk warning arrives buried under five others and you stop reading them.

For reference, my readings after the clear-out were 28% of C:\home used, a 1.31 GB NuGet cache and 112 MB of logs. The cache was back to 1.31 GB within hours because the next build downloaded everything again, which is why I wanted a number to watch.

What to take from this

If bundles return 500, git push returns 500 and the logs are empty all at once, stop debugging your code and read the deployment log. It takes a minute and it would have saved me an hour.

Then run the two curl checks against your own Cloud sites and put the disk checks on them. The October cleanup makes this failure less likely. It does not make it visible, and visible is what you want at four in the morning.

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 (this post)
  2. Why the first Umbraco 17 deployment fails on Cloud: your .uda files are a v13 snapshot
  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