2 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"/>

 

 

Package owner

Kevin Jump

Kevin Jump

Kevin has 10914 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.6.x (100%)
Version 8.5.x (100%)
Version 8.4.x (100%)
Version 8.3.x (100%)
Version 8.2.x (100%)
Version 8.1.x (100%)
Version 8.0.x (untested)
Version 7.15.x (untested)
Version 7.14.x (untested)
Version 7.13.x (untested)
Version 7.12.x (untested)
Version 7.11.x (untested)
Version 7.10.x (untested)
Version 7.9.x (untested)
Version 7.8.x (untested)
Version 7.7.x (untested)
Version 7.6.x (untested)
Version 7.5.x (untested)
Version 7.4.x (untested)
Version 7.3.x (untested)
Version 7.2.x (untested)
Version 7.1.x (untested)
Version 7.0.x (untested)
Version 6.2.x (untested)

You must login before you can report on package compatibility.

Package Information

  • Package owner: Kevin Jump
  • Created: 19/05/2020
  • Current version 8.0.0-beta
  • .NET version 4.7.2
  • License MIT
  • Downloads on Our: 3
  • Downloads on NuGet: 32
  • Total downloads : 35

External resources