For the complete documentation index, see llms.txt. This page is also available as Markdown.

Version specific Upgrade Notes

Version-specific documentation for upgrading to new major versions of Umbraco Engage.

This article provides specific upgrade instructions and breaking changes introduced when migrating to major version 18 of Umbraco Engage.

When upgrading to a new minor or patch version, learn about the changes in the Release Notes article.

Breaking changes

18.0.0 (Umbraco Engage v18 Launch)

Engage 18 adds support for Umbraco CMS 18. The main upgrade consideration is that the database schema alignment introduced in 17.2.0 is now required before you can upgrade.

Database Schema Alignment is now enforced

In 17.2.0, the schema alignment ran as an automatic on-boot migration (AlignSchema). It was followed by a manual script (CompleteAlignSchema.sql) to run during a maintenance window. Running the manual script was strongly recommended but not enforced — Engage continued to run with the schema left in the intermediate Aligned state.

Starting with Engage 18, completing this alignment is mandatory. This guarantees data integrity and performance going forward. The foreign keys, indexes, and constraints added by the alignment can no longer be treated as optional. A guard at the head of the v18 migrations reads the Umbraco.Engage+DatabaseSchemaStatus value in the umbracoKeyValue table. It blocks the upgrade unless the alignment has been completed. When the upgrade is blocked, Engage throws an error at startup and the migration does not proceed. The error message states which state the database is in and what to do next:

DatabaseSchemaStatus

Result

What to do

Complete

Upgrade proceeds

No action needed.

(no value)

Upgrade proceeds

Fresh installs are unaffected.

Aligned

Upgrade blocked

The automatic alignment ran, but CompleteAlignSchema.sql was never completed. Run it during a maintenance window, then retry the upgrade.

Pending

Upgrade blocked

A previous run of CompleteAlignSchema.sql started but did not finish. The script cannot be re-run from this state — the partial state must be investigated and recovered manually.

(any other value)

Upgrade blocked

The schema is in an unexpected state. Expected Complete on existing installs, or no value on fresh installs.

Follow the Schema Alignment Guide to complete the alignment. Once its steps are finished and the DatabaseSchemaStatus is Complete, the upgrade to Engage 18 proceeds normally.

Last updated

Was this helpful?