Covert

How to Find Broken Content Nodes in Umbraco Using SQL

What Are Broken Content Nodes in Umbraco?

Broken content nodes are items that appear in the Umbraco backoffice content tree but fail when rendered, indexed, previewed, or queried. They may look normal to editors until a page load, an API request, a redirect, or a search crawl exposes the issue.

Common causes include missing content records, broken relations, deleted media references, inconsistent publish states, invalid property values, or data that can no longer be deserialised. The result can be broken URLs, partial pages, 500 errors, polluted search indexes, inaccurate reports, and reduced editor confidence.

A SQL-first diagnostic process helps teams identify these issues before making changes. An Umbraco developer Sydney can use read-only checks to confirm whether a tree item is broken or simply unpublished, hidden, or misconfigured.

Why Do Broken Content Nodes Happen in Umbraco?

Broken nodes usually come from routine CMS operations that leave the database inconsistent. Failed deployments, partial restores, interrupted migrations, document type changes, package upgrades, and deleted media can all create mismatches between node records, versions, and property data.

Custom .NET development can also contribute when integrations create, update, or delete content programmatically without following Umbraco’s publishing, relation, or cache workflows. Imports are another common trigger, especially when source data changes during a migration or content models are altered mid-project.

Clean Umbraco development matters commercially. Agencies rely on accurate pages, conversion paths and attribution. Broken nodes can affect data quality and revenue visibility. An Umbraco Gold Partner Australia, like Covert, will usually look for both the database fault and the process that allowed it.

How Can an Umbraco developer Sydney Find Broken Content Nodes Using SQL?

An Umbraco developer Sydney should begin with safety. Run SQL checks as read-only, take a database backup, and test queries on staging. The developer should also confirm the Umbraco version because table names, structures, and JSON storage patterns vary between installations.

The core check is to compare the content tree with the records that should support it. Depending on the version, this may involve umbracoNode, cmsContent, cmsDocument, cmsContentVersion, cmsPropertyData, and relation tables. An Umbraco developer Sydney will usually start from umbracoNode, then trace each item through content, document, version, published-state, and property records.

This is where Umbraco training helps. Editors learn which workflows can cause problems, while developers learn how to interpret audit results without deleting data too quickly. Good Umbraco support Sydney such as with Covert should produce an audit list with node ID, name, path, document type, update date, publish state, and a clear status label.

What SQL Checks Help Identify Missing, Deleted or Orphaned Umbraco Content?

The aim is to detect mismatches between the tree and the supporting content records. A useful first check is a node that exists in the tree but has no matching content row.

SELECT n.id AS nodeId, n.text AS nodeName, n.path, n.nodeObjectType

FROM umbracoNode n

LEFT JOIN cmsContent c ON c.nodeId = n.id

WHERE n.nodeObjectType = ‘CONTENT-NODE-GUID-HERE’

  AND c.nodeId IS NULL;

This can indicate that the tree entry exists, but the underlying content record is missing. An Umbraco developer Sydney should then confirm whether the node is live, archived, deleted, or part of a historical migration before deciding what to do.

Further checks can look for content without document records, versions without usable property data, values referencing deleted media, relations pointing to missing nodes, and custom tables storing IDs that no longer exist. For Sydney .NET development projects with integrations, these checks matter because third-party systems may depend on Umbraco IDs.

Experienced umbraco consultants Sydney will also separate “broken” from “unpublished” or “intentionally hidden.” That distinction prevents teams from repairing content that is actually behaving as configured.

When Should You Ask an Umbraco developer Sydney to Fix Broken Content Nodes?

Bring in an Umbraco developer Sydney when the issue affects publishing, search visibility, conversion tracking, or key URLs. Warning signs include editor errors, 500s on important pages, inconsistent publish states, broken internal links, failed indexing, or reporting anomalies.

Do not attempt a direct database fix if the schema is unclear, the site uses complex nested content, there are multiple sites, or integrations depend on node IDs. In these cases, an Umbraco Gold Partner Australia can provide controlled remediation, safer deployment practices, and governance. Ongoing Umbraco support Sydney can also monitor recurring content integrity issues after Umbraco website cleanup.

To help an Umbraco developer Sydney work efficiently, prepare the Umbraco version, hosting context, read-only database access, example node IDs, affected URLs, recent deployment notes, and priority pages tied to SEO or campaign performance. For teams investing in Sydney .NET development, Custom .NET development, Umbraco development, and Umbraco training, this creates a cleaner foundation for future releases.

If broken nodes are harming publishing confidence or campaign performance, ask an Umbraco developer Sydney for a database integrity audit before making production changes. Skilled umbraco consultants Sydney like Covert can diagnose the problem, recommend safe fixes, and improve the workflows that caused the breakage. For deeper repair work, an Umbraco developer Sydney can also document prevention steps for future releases.

Like this article? Feel free to share it >>

Let's build something great together!

Contact Us