How to gather all the logs needed for Orchestrator troubleshooting?
To streamline troubleshooting for Orchestrator issues, this PowerShell script simplifies the log-gathering process by collecting essential logs and configurations from the Orchestrator machine
The script gathers the following information:
- Application logs
- Security logs
- System logs
- CAPI2 logs (for certificate issues)
- Appsettings.Production.json
- UiPath.Orchestrator.dll.config
- IIS logs from the last 7 days
- Output for the Platform Configuration Tool readiness check
- Network trace (optional, can be enabled during the script execution)
Steps to Use the Script:
-
Download the Script:
- Find the script at the following location: Orchestrator Log Gathering.
-
Run as Administrator:
- Execute the script with Administrator privileges on the Orchestrator machine.
-
Specify the Installation Path:
- During the execution, specify the Orchestrator installation path. Press Enter to use the default path.
-
Enable Network Trace (Optional):
- There will be an option to initiate a network trace. Note that enabling this option can significantly increase the script's runtime.
-
Reproduce the Issue:
- Reproduce the identifiable issue on the Orchestrator.
-
Continue Execution:
- Once the issue is reproduced, press Enter to continue the script execution.
-
Gather Logs and Results:
- The script will gather all the necessary logs, output the results of the Readiness check, and save everything in an archive.
-
Send the Archive for Analysis:
- Send the created archive back for further analysis.