1.5.15 Upgrade From Zip - All Jobs Fail (AppSettings needs updating)

Product: PowerShell Universal
Version: 1.5.15
Hosting: IIS

After upgrading from 1.5.14 to 1.5.15 (using zip file), if the newly added values are not included in the appsettings.json (at least in one location) all jobs will fail throwing an exception Cannot be null: 'value'

I suppose this is a flaw in the ‘copy/paste’ update method more than anything else, but something to note for anyone else ecnountering this issue on upgrade. The AppSettings.Json file changed in this version.

1 Like

I realise this is a very old thread, actually stumbled on it by mistake while searching for something else.
But I figured for the sake of completion and if anyone lands here, the answer is:

C:\ProgramData\PowerShellUniversal\

If you place your appsettings file here it’ll remain persistent throughout your upgrades as this location is checked first for the appsettings file.