Hey @alondite041, once you have a failed installation, you’ll need to go back and stop a few services and delete some files prior to trying again as noted in the install docs. Did you do that between each attempt?
There is a _commandexecutor log file in your temp directory that might provide some additional logging that might help with your error. Please follow the steps Michelle mentioned (Installation) and also make sure the account that is running the Insights Installer is an admin.
From Windows Services Manager, stop the Sisense.AdvancedFormula service.
Open an elevated command prompt and run: sc delete “Sisense.AdvancedFormula”.
Disable any active tenants using the UiPath.InsightsAdminTool.
Proceed with uninstalling Insights.
Besides,I didn’t find any descriptions about what files need to be removed in that page.
Did you check the _CommandExecutor.log file in your temp directory (%USERPROFILE%\AppData\Local\Temp)? This log will give you a better error message of what happened. The site does not specify the folders because the installer will delete them if you have the correct permissions.
and here is the UiPathInsightsInstaller_20200310070900_CommandExecutor.log:
ExecutionOptions:
2020-03-10 07:28:10.3542|INFO|SetupSslCommand|Getting HTTP Client Authenticated|
2020-03-10 07:28:10.3542|INFO|SetupSslCommand|Creating a self-signed certificate with subject name up-insight and adding them to store location - 'LocalMachine' and store names - 'Trusted Root Certification Authorities', 'Personal'|
2020-03-10 07:28:11.3562|INFO|SetupSslCommand|Updating SSL settings for Analytics|
2020-03-10 07:28:11.3843|ERROR|SetupSslCommand|System.ApplicationException: Certificate with subject up-insight is not valid to be used for host name win-ao26hei4hcs
at UiPath.Analytics.CustomizeSisense.Helpers.CertificateHelper.GetPfxCertificate(String certificateSubjectName, String hostName)
at UiPath.Analytics.CustomizeSisense.Command.SetupSslCommand.<EnableSslAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Analytics.CustomizeSisense.Command.SetupSslCommand.<ExecuteInstallCommandAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Analytics.CustomizeSisense.Command.CommandBase.<RunAsync>d__7.MoveNext()|System.ApplicationException: Certificate with subject up-insight is not valid to be used for host name win-ao26hei4hcs
at UiPath.Analytics.CustomizeSisense.Helpers.CertificateHelper.GetPfxCertificate(String certificateSubjectName, String hostName)
at UiPath.Analytics.CustomizeSisense.Command.SetupSslCommand.<EnableSslAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Analytics.CustomizeSisense.Command.SetupSslCommand.<ExecuteInstallCommandAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Analytics.CustomizeSisense.Command.CommandBase.<RunAsync>d__7.MoveNext()
Got it, the Insight installation has completed, thanks a lot!
but while I trying to enable a tenant (using run as administrator),I met something wrong as:
Can you please add -d as a parameter as this will give u some additional debug information. Please verify that the site listed in the debug output for Orchestrator is the exact same url you are using to verify you can reach Orchestrator from the Insights machine. Additionally, please check your Orchestrator server’s event logs for errors.
Hi Chris,
Here is the debug info:
the [WIN-91TP3DTT5S6] is my OC machine name and host name, and the [win-ao26hei4hcs:443] is my insight machine and host name.
C:\Program Files (x86)\UiPath\Orchestrator\Tools>UiPath.InsightsAdminTool.exe enable -t default -u admin -p 1qaz@WSX -d
Connecting to Orchestrator for user host:admin at https://WIN-91TP3DTT5S6
Connecting to Portal at https://win-ao26hei4hcs:443
Failed to retrieve tenant information
Microsoft.Rest.HttpOperationException: Operation returned an invalid status code ‘Unauthorized’
at UiPath.Orchestrator.Web.Client.Current.Account.d__5.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Orchestrator.Web.Client.Current.AccountExtensions.d__0.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at AnalyticsTenantSetup.AutoRefreshingCredentials.d__10.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at AnalyticsTenantSetup.AutoRefreshingCredentials.d__9.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at AnalyticsTenantSetup.AutoRefreshingCredentials.d__8.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at UiPath.Orchestrator.Web.Client.Current.Tenants.d__5.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Orchestrator.Web.Client.Current.TenantsExtensions.d__0.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at AnalyticsTenantSetup.OrchestratorManager.d__10.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at AnalyticsTenantSetup.Commands.FeatureCommand.d__6.MoveNext() Operation returned an invalid status code ‘Unauthorized’
Finishing up
Looks like an access issue. Can you please check the event logs on your Orchestrator machine? You have also placed the Orchestrator cert on the Insights machine right?
Can you check the TLS settings between the 2 machines and make sure they are the same. Also, what are the orchestrator errors at the bottom of the list.
You need to set 755 in the numeric value field > select recurse into subdirectories > apply to directories only and click ok.
You need to repeat the same actions for file permission and set 644 in the numeric value field > select recurse into subdirectories > apply to files only and click ok.