Updating Insights v2019.10.3/v2019.10.4
For users that have installed Insights v2019.10.3
or v2019.10.5
, follow the instructions below to incorporate the fixes and enhancements of Insights v2019.10.4
Insights v2019.10.5
and in your installation.
Important!
Do not run the provided script when any schema altering build is in progress.
Business ROI Dashboard Fix
To correct the displayed valued for the Money Saved and Days to Goal widgets, login to the Insights Portal as an administrator and for each tenant:
- Open the Business ROI dashboard from the OOTB dashboards folder.
- Click the Edit button for the Money Saved widget. The widget editor is displayed.
- Click the Edit button for the Value property. The formula editor is displayed.
- Replace the existing formula with the following:
sum([ProcessId],((( all([@Process Baselines.Manual Time(mins)]) *dupcount([ProcessId]) -([Total RuntimeInSeconds]/60) )) /60) * all([@Process Baselines.Hourly Cost]))
Note:
All fields in this formula are from the Jobs table.
If the fields are greyed out and not highlighted, delete the entire field including the[ ]
, and replace with the appropriate field from the data browser tab.
- Click OK to save your changes.
- Repeat steps 4-5 for the Days to Goal formula.
- Repeat this process for the Goal for Year 2020 and Money Saved per Process widgets.
- Reshare the dashboard with all users.
- Republish the dashboard.
Timezone Fix
To correct an existing issue where the wrong timezone would be displayed in Insights:
- Download the
Insights_19.10.5_hotfix.zip
archive from the UiPath Insights-Customer GitHub repository. - Extract the contents of the archive to a local directory on your Insights machine.
- Open a Powershell window with administrative rights.
- Run
Insights_19.10.5_hotfix.ps1
. - When prompted, enter your Orchestrator Host admin user and password.
Robot Logs Ingestion
To include robot logs stored in the Orchestrator SQL database as part of the historical data ingested by Insights:
- If you have not already done so, download the
Insights_19.10.5_hotfix.zip
archive from the UiPath Insights-Customer GitHub repository and extract the contents to a local directory on your Insights machine. - Copy the
UiPath.InsightsAdminTool.exe
file to theC:\Program Files (x86)\UiPath\Orchestrator\Tools
directory. - For each Insights enabled tenant, perform the Tenant Setup again.
Updated Dashboards
To benefit from improvements to the out-of-the-box dashboards provided with Insights:
- If you have not already done so, download the
Insights_19.10.5_hotfix.zip
archive from the UiPath Insights-Customer GitHub repository and extract the contents to a local directory on your Insights machine. - Copy all
.dash
files in the archive to theC:\Program Files\Sisense\OotbFiles
directory of your Insights server. - For each Insights enabled tenant, perform the Tenant Setup again:
a. When promptedDelete existing cube? (y/n)
, entern
.
b. When promptedDo you want to overwrite? (y/n)
for each existing dashboard, selecty
.
Updating Credentials
If you need to change and/or update your credentials, the procedure below details the steps that must be performed on your Orchestrator and Insights machines.
Orchestrator Database Credentials
On Your Orchestrator Machine:
- Open the web.config file.
- In the
connectionStrings
section, modify theconnectionString
parameter of the keyname="Default"
as follows:
a. For SQL Authentication:connectionString="Data Source={YOUR_ORCH_DB_HOST};Initial Catalog={YOUR_ORCH_DB_NAME};User ID={YOUR_ORCH_DB_SQL_USER};Password={YOUR_ORCH_DB_SQL_PASSWORD}" />
b. For Windows Authentication:connectionString="Data Source={YOUR_ORCH_DB_HOST};Initial Catalog={YOUR_ORCH_DB_DATABASE_NAME};Integrated Security=true" />
Example for SQL Authentication:
<add name="Default" providerName="System.Data.SqlClient" connectionString="Data Source=sql.uipath.com;Initial Catalog=UiPathOrchestrator;User ID=docs-uipath;Password=SecretP@ssword" />
Example for Windows Authentication:
<add name="Default" providerName="System.Data.SqlClient" connectionString="Data Source=sql.uipath.com;Initial Catalog=UiPathOrchestrator;Integrated Security=true" />
On Your Insights Machine:
- Open an elevated command prompt and navigate to the
C:\Program Files (x86)\UiPath\Orchestrator\Tools\
directory. For example,cd C:\Program Files (x86)\UiPath\Orchestrator\Tools\
. - Run the
UiPath.InsightsAdminTool.exe
utility with the necessary command parameters:
Command | Description |
---|---|
updateDB | Indicates a update of the database configuration. |
-u | The username of the Orchestrator Host tenant administrator. This is admin by default. |
-p | The password for the Orchestrator Host tenant admin user. |
-c | The targeted database. The available options are:Default Insights |
-s | The server for the targeted database. |
-n | The database name. |
-a | The authentication type for the database. The available options are:0 / false - SQL authentication is used.1 / true - Windows authentication is used. |
-r | The username for the targeted database. Only required for SQL Authentication. |
-w | The password of your database user. Only required for SQL Authentication. |
Example for SQL Authentication:
.\UiPath.InsightsAdminTool.exe updateDB -u admin -p Orch_Host_Password -c Default -s sql.uipath.com -n UiPathOrchestrator -r docs-uipath -w my_SQL_Password
Example for Windows Authentication:
.\UiPath.InsightsAdminTool.exe updateDB -u admin -p Orch_Host_Password -c Default -s sql.uipath.com -n UiPathOrchestrator -a true
Insights Database Credentials
On Your Orchestrator Machine:
- Open the web.config file.
- In the
connectionStrings
section, modify theconnectionString
parameter of the keyname="Insights"
as follows:
a. For SQL Authentication:connectionString="Data Source={YOUR_INSIGHTS_DB_HOST};Initial Catalog={YOUR_INSIGHTS_DB_NAME};User ID={YOUR_INSIGHTS_DB_SQL_USER};Password={YOUR_INSIGHTS_DB_SQL_PASSWORD}" />
b. For Windows Authentication:connectionString="Data Source={YOUR_INSIGHTS_DB_HOST};Initial Catalog={YOUR_INSIGHTS_DB_NAME};Integrated Security=true" />
Example for SQL Authentication:
<add name="Insights" providerName="System.Data.SqlClient" connectionString="Data Source=sql.uipath.com;Initial Catalog=UiPathInsights;User ID=docs-uipath;Password=SecretP@ssword" />
Example for Windows Authentication:
<add name="Insights" providerName="System.Data.SqlClient" connectionString="Data Source=sql.uipath.com;Initial Catalog=UiPathInsights;Integrated Security=true" />
On Your Insights Machine:
- Open an elevated command prompt and navigate to the
C:\Program Files (x86)\UiPath\Orchestrator\Tools\
directory. For example,cd C:\Program Files (x86)\UiPath\Orchestrator\Tools\
. - Run the
UiPath.InsightsAdminTool.exe
utility with the necessary command parameters:
Command | Description |
---|---|
updateDB | Indicates a update of the database configuration. |
-u | The username of the Orchestrator Host tenant administrator. This is admin by default. |
-p | The password for the Orchestrator Host tenant admin user. |
-c | The targeted database. The available options are:Default Insights |
-s | The server for the targeted database. |
-n | The database name. |
-a | The authentication type for the database. The available options are:0 / false - SQL authentication is used.1 / true - Windows authentication is used. |
-r | The username for the targeted database. Only required for SQL Authentication. |
-w | The password of your database user. Only required for SQL Authentication. |
Example for SQL Authentication:
.\UiPath.InsightsAdminTool.exe updateDB -u admin -p SecretP@ssword -c Insights -s sql.uipath.com -n UiPathInsights -r docs-uipath -w myPassword
Example for Windows Authentication:
.\UiPath.InsightsAdminTool.exe updateDB -u admin -p SecretP@ssword -c Insights -s sql.uipath.com -n UiPathInsights -a true
- From the
\Program Files\Sisense\DataConnectors\JVMContainer\Connectors\UiFrost
directory, updateuipath_insights.properties
as follows:insights.db.conn=jdbc:sqlserver://{YOUR_INSIGHTS_DB_SQL_HOST};Database={YOUR_INSIGHTS_DB_DATABASE_NAME};user={YOUR_INSIGHTS_DB_SQL_USERNAME};insights.db.password={YOUR_INSIGHTS_DB_SQL_PASSWORD}
For example:
insights.db.conn=jdbc:sqlserver://sql.uipath.com;Database=UiPathInsights;user=docs-uipath;insights.db.password=myPassword
Updating the Insights Certificate
Note:
Before updating the Insights certificate, ensure that this new certificate is trusted inline with relevant policies for your company.
From the Insights host:
- Open a supported web browser and navigate to
http://localhost:3030
. - In the Web Server section, use the Upload Certificate radio buttons to select your desired method. The available options are:
.pfx
- if selected, you must provide the certificate password..cert/.key
- Drag and drop the corresponding certificate file(s) and click Upload.
- Click Restart Services. The new certificate is now used by Insights.
Note: If the new certificate does not have the same subject as the original or is not present under a wildcard in your trust store, you must also add it to both the Insights and Orchestrator trust stores.
Chrome 80+ Update
Beginning with Chrome 80, there is a change in the default cross-domain (SameSite) behavior of cookies. This change impacts functionality of Insights and must be addressed as follows:
- Download the UiPath provided script here.
- Unzip the script package.
- Open an elevated command prompt and navigate to the directory where you saved the script. For example
cd C:\Chrome80Fix
. - Run
run_patch.cmd
. - Insights is configured to use
SameSite
valuenone
and should function as intended.
Using Firefox
It is not initially possible to access Insights via your Firefox browser when using a self-signed certificate. This is a known issue due to Firefox blocking HTTPS
sites from using self-signed certificates unless explicitly allowed by the user.
To avoid this issue, prior to accessing Insights for the first time and without being logged into your Orchestrator account, follow these steps:
- Navigate your browser directly to the Insights Portal using the format
https://<Your_Insights_Host>/app/account
. For example,https://insights-test:8081/app/account
. - When prompted by Firefox, explicitly select to continue on to the site.
- You are then redirected to the Orchestrator login page. Login using your Orchestrator credentials and you can now access the Insights page and Portal.
Using Edge and Internet Explorer with Self-signed Certificates
If you are planning on using the Edge or IE browsers to access Insights, you must first:
- Export a copy of your self-signed certificate from your Insights server.
- Copy the certificate to the machine(s) where you are using Edge or IE.
- Install the certificate into the Trusted Root Certification Authorities.
Updated about a year ago