4 votes

Our.Umbraco.SilentUpgrade

Silently Upgrade Umbraco without showing anyone the install script.

 

  1. Upgrade your Umbraco files (via NuGet or however you want)
  2. Visit the site - the upgrade happens - you don't see it.

 

Usage :

Has to be turned on in Web.config file

<add key="SilentUpgrade" value="true" />

The process will attempt to run through the installer steps as part of the boot process. If this works then the users won't see anything and the site will be updated.

If the process fails then the site will fall back to the default install screen and you will have to process through the steps as normal.

Disclaimer

While every effort has been made to test the upgrade of Umbraco between versions using this package, we cannot accept any responsibility to a botched update or missing things. You should always test upgrades before putting them somewhere that you care about

Known Issues

For reasons I’ve not yet worked out, the upgrade to an 8.0.x version from another doesn't work (e.g 8.0.0 to 8.0.2).

Upgrading from 8.0.x to any later version works fine.

Debugging

Should things not work as expected then you should see the standard install screen. However, if you want to debug the project then adding the following line to your serilog.config file will enable debug logging of the process.

<add key="serilog:minimum-level:override:Our.Umbraco.SilentUpgrade" value="Debug"/>

 

 

 Download package
version 8.1.0

NuGet install instructions for Umbraco 8.0.0-8.18.15

Install-Package Our.Umbraco.SilentUpgrade

Package owner

Kevin Jump

Kevin Jump

Kevin has 14889 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions: 8.7.x, 8.6.x, 8.5.x, 8.4.x, 8.3.x, 8.2.x, 8.1.x

Package Information

  • Package owner: Kevin Jump
  • Created: 19/05/2020
  • Current version 8.1.0
  • .NET version 4.7.2
  • License MIT
  • Downloads on Our: 230
  • Downloads on NuGet: 21.1K
  • Total downloads : 21.3K

External resources