Upgrade Unattended
Learn how to enable unattended upgrades, allowing your project to upgrade without your interference.
When upgrading your Umbraco project, you can enable the upgrade to run unattended. This means that you will not need to run through the installation wizard when upgrading.
Enable the unattended upgrade feature
Add the
Umbraco:Cms:Unattended:UpgradeUnattended
configuration key.Set the value of the key to
true
.
{
"Umbraco": {
"CMS": {
"Unattended": {
"UpgradeUnattended": true
}
}
}
}
Run the upgrade
With the correct configuration applied, the project will be upgraded on the next boot.
Boot order
The Runtime level uses Run
instead of Upgrade
to allow the website to continue to boot up directly after the migration is run. This happens instead of initiating the otherwise required restart.
Unattended upgrades in a load-balanced setup
Follow the steps outlined below to use unattended upgrades in a load-balanced setup.
Deploy to all environments.
Set the
Umbraco:CMS:Unattended:UpgradeUnattended
configuration key totrue
for the Main server only.Boot the Main server, and the upgrade will run automatically.
Wait for the upgrade to complete.
Boot the Read-Only servers and ensure they do not show the “Upgrade Required” screen.
Last updated
Was this helpful?