Deployment Notes 2.6.13
Introduction
Artifacts can be downloaded from the download page.
The following sections outline the deployment actions for this release.
Database Migration
- Run
MigrationDbrefactor script MigrationDb.2.6.13.sql in all Migration databases
Please back up all databases before running refactor scripts
Redeploy Portal
- Download the appropriate zip file from the download page depending on your installation
- If you are using the Portal including all modules (Item Manager and Planning), download
portalwithmodules.zip - Otherwise, download
portal.zipand - if relevant -ext-itemmgr.ziporext-planning.zip
- If you are using the Portal including all modules (Item Manager and Planning), download
- Redeploy the Portal web application.
- Preserve and re-establish the
appsettings.jsonfile - If you are hosting the Portal in an IIS sub-folder, you should also preserve and re-establish the
<base>tag in thewwwroot/index.htmlfile
- Preserve and re-establish the
If you are selectively deploying the Item Manager or Planning modules, you need to copy the contents of the Server and Client folders from the zip file
to their respective locations in the Extensions folder under the Portal application folder
Upload new runtime to the Portal
- Download the
runtime.zipfrom the download page - Upload new
runtime.zipto the Portal (Configuration → Operations → Runtime → Upload) - Set the new runtime version active
Workstations
Reinstall Visual Studio Extension
- Make sure you have at least Visual Studio 2022 version
17.4installed - Open Visual Studio and in Extensions → Manage Extensions, mark the installed
Hopp Migrationextension for un-install - Close Visual Studio. The Microsoft Visual Studio extension installer will launch to uninstall the previous version. Follow the guidance in the installer
- Install the Hopp Visual Studio extension (double-click
VsExtension.2022.vsix) - Follow the guidance in the installer
Powershell Automation
Re-install the PowerShell Automation module on relevant workstations and servers.
This is optional and only if the Powershell Automation scripts are used
Check custom Portal extensions before upgrading
An endpoint with no [Authorize], [AllowAnonymous] or [AuthorizeUrl] attribute now answers 401 to callers who are not signed in.
- Review the endpoints in any custom Portal extension
- Mark the ones that must stay public with
[AllowAnonymous] - Rebuild the extension and redeploy it together with the Portal
The new behavior cannot be switched off by configuration.
Keep download links out of the Portal log
If you want to keep download links out of the Portal log, add the Override block to the appsettings.json you preserve when redeploying the Portal:
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft.AspNetCore.Hosting.Diagnostics": "Warning"
}
}
}
Leave the rest of the Serilog section as it is.