Insights Upgrade fails from 20.4.X version to anything newer
Issue Description
Insights Upgrade fails from 20.4.X version to anything newerRoot Cause
It should be possible to update Insights without stopping any services, but in the 20.4.X version it has been found that one service holds onto files and prevents an upgrade. This has been reported as a bug.Diagnosing/Resolving
- After an install fails, check the following log: %localappdata%\Temp\UiPathInsightsInstaller_<Date Stamp>_CommandExecutor.log
- Check for an error like:
- System.ApplicationException: Failed to Copy folder with source folder: C:\ProgramData\Package Cache\SisenseDataConnectorFiles\Include/SisenseConnector/Connectors, target folder: C:\Program Files\Sisense/DataConnectors/JVMContainer/Connectors and excluded files: None
at UiPath.Analytics.CustomizeSisense.Helpers.FilesHelper.CopyFolder(String sourceFolder, String targetFolder, HashSet`1 excludedFilesList)
- System.ApplicationException: Failed to Copy folder with source folder: C:\ProgramData\Package Cache\SisenseDataConnectorFiles\Include/SisenseConnector/Connectors, target folder: C:\Program Files\Sisense/DataConnectors/JVMContainer/Connectors and excluded files: None
- If this error is found, stop the Sisense.JVMConnectorsContainer service.
- Open Services.msc from the Windows search bar.
- Find the service Sisense.JVMConnectorsContainer
- Right click and select stop.
- Continue with the upgrade after the service is stopped.