Post-upgrade Configurations
After performing the upgrade, complete the following tasks:
Procedure
-
From the base version Backup directory, restore the following files:
- DiscoverCaptureSocket.cfg
- DCMaint.cfg
- HBR_PipeLine-base.cfg
- Restore the Filebeat.yml file and the Winlogbeat.yml file. For more information, see Recommended backup.
- Access the location <Install Path>/DataExtractor/ and replace the existing ScheduleList.bin file with the backed up file as mentioned in Step 4 of Prerequisite Checklist.
- Log in as an Administrator and navigate to .
- Expand Transport Services and click Transport Service Configuration.
- Click Reload From Server.
-
On the popup dialog, click Load.
The following message appears: The config data was successfully reloaded from the server.
- In the Config section, click View/Edit.
- In the Globals section, change the MaxDataSize to 51200kb.
- Click Save.
- Click .
-
Repeat Step 2 through Step 8 for
Attention: If you do not backup DiscoverCaptureSocket.cfg, DCMaint.cfg, and HBR_PipeLine-base.cfg and restore it, you will face the following issues:
- Privacy will not work because Privacy Rules customized in base version will be lost.
- Customization done in DCMaint configuration will be lost.
- Customization done in HBR PipeLine base configuration file will be lost.
Important: If you notice changes in the Web.config file in the locations <Install location>\Portal\WebService and <Install location>\Portal\WebApp, restore original file from base version Backup directory. -
Navigate to <Install location>\web\assets, and check if
the Snapshots folder exists. If the
Snapshots folder does not exist, create a new folder
named Snapshots.
- Navigate to the location where Snapshot used to exist earlier (<Install location>\Portal\WebApp\Snapshots) and copy the Snapshots from the locations and paste it to the new location (<Install location>\web\assets\Snapshots).
- Navigate to the location where Snapshot thumbnails used to exist earlier (<Install location>\Portal\WebApp\images\usability) and copy the Snapshot thumbnails from the location and paste it to the new location (<Install location>\web\assets\Snapshots).
- Navigate to <Discover_Installed dir>\Portal\api directory.
-
In appsettings.json file, under
Appsettings: section, provide the Snapshot Path as
follows:
Appsettings": { "SnapShotPath": "<Installed_Path>\\web\\assets\\Snapshots\\" },Note: Ensure that your have provided the appropriate persmissions for the assets folder. -
In appsettings.json file, under
insights: section,
-
In appsettings.json file, you will see a new section named
Cors:
"Cors": { "AllowedOrigins": [ "*", "*" ], //example origins [ "http://localhost:4200", "https://localhost:4200" ] "AllowedMethods": [ "*" ], "AllowedHeaders": [ "*" ], "ExposedHeaders": [ "Content-Disposition" ] },If required, provide appropriate values for
AllowedOrigins,AllowedMethods, andAllowedHeaders. -
In appsettings.json file, you will see a new section named
Csp:
"Csp": { "Enabled": true, "Header": "default-src 'none'; frame-ancestors 'self'; require-trusted-types-for 'script'; trusted-types default;" }If required, configure the values here for additional security.
- In the <Discover_Installed dir>\Portal\api location, if the Logs folder does not exist, create a new folder named Logs in the same location and ensure that the Logs folder has Write permission for all users.
-
Add the following line as a host entry to retrieve data from the MaxAI
environment:
<IP Address of the MaxAI environment> maxai.unica.com