- Release Notes
- Getting Started
- UiPath Assistant
- Installation and Upgrade
- Robot Types
- Robot Components
- Licensing
- Connecting Robots to Orchestrator
- Processes and Activities
- Logging
- Robot JavaScript SDK
- Specific Scenarios
- Restarting Robot Components
- Windows Sessions
- Login Using Thales Luna Credential System
- Login Using NShield Key Storage Provider
- Redirecting Robots Through a Proxy Server
- Executing Tasks in a Minimized RDP Window
- Using Mapped Network Drives
- Stopping a Process
- Disable Stop Button
- Custom Package Folders and Network Paths
- CrowdStrike Integration
- Robot Citrix Apps Virtualization
- Troubleshooting
- Common Connection Errors
- Unresponsive Robot Over RDP
- Duplicate Execution Logs
- Frequently Encountered Robot Errors
- Increased Process Execution Duration
- Enforced Package Signature Verification
- Message Too Large to Process
- Errors When Running as Administrator
- NuGet Packages Not Accessible After Migration
- User Access Control Prompt and UI Automation Activities
- .NET required during installation
- Assembly Cannot Be Loaded From Network Or Azure File Share
- Activities cannot find .NET Runtime
Linux Robots
The Robot Linux image allows you to run cross-platform automations in docker containers.
mcr.microsoft.com/dotnet/runtime
. All files required by the application are placed in the /application/
directory.
- Docker Environment.
- Network connection to Orchestrator.
- Machine Template Client Credentials.
To use robots in a Linux environment, create an unattended robot in orchestrator, save ClientID and ClientSecret to be used later, then follow the steps below on the robot machine:
- Open a command line terminal and get the docker image using the following command:
docker pull registry.uipath.com/robot/uiautomation-runtime:<tag>
docker pull registry.uipath.com/robot/uiautomation-runtime:<tag>Note: Not using a specific tag retrieves the most recent enterprise patch for the latest enterprise version. To retrieve or start a specific version of the robot, replace the <tag> parameter with the actual version from the Docker Image Tags column in the table below:Robot Version Docker Image Tags 2023.10 23.10.69.35238-robot23.10.0 - Based on the connection type, you can start the downloaded image and connect the robot to Orchestrator using one of the commands
below:
Important: To successfully start the robot, you must accept the license agreement by adding the
-e LICENSE_AGREEMENT=accept
parameter in the command.- Client ID and Client Secret:
docker run -e LICENSE_AGREEMENT=accept -e ORCHESTRATOR_URL="https://cloud.uipath.com/organization/tentant/orchestrator_"-e CLIENT_ID="$Client_ID" -e CLIENT_SECRET="$Client_secret" -tid registry.uipath.com/robot/uiautomation-runtime:<tag>
docker run -e LICENSE_AGREEMENT=accept -e ORCHESTRATOR_URL="https://cloud.uipath.com/organization/tentant/orchestrator_"-e CLIENT_ID="$Client_ID" -e CLIENT_SECRET="$Client_secret" -tid registry.uipath.com/robot/uiautomation-runtime:<tag> - Machine Key:
docker run -e LICENSE_AGREEMENT=accept -e ORCHESTRATOR_URL="https://cloud.uipath.com/organization/tentant/orchestrator_" -e MACHINE_KEY="$KEY" -tid registry.uipath.com/robot/uiautomation-runtime:<tag>
docker run -e LICENSE_AGREEMENT=accept -e ORCHESTRATOR_URL="https://cloud.uipath.com/organization/tentant/orchestrator_" -e MACHINE_KEY="$KEY" -tid registry.uipath.com/robot/uiautomation-runtime:<tag>
- Client ID and Client Secret:
DNS configuration example:
docker run --dns="1.1.1.1" -e LICENSE_AGREEMENT=accept -e ORCHESTRATOR_URL="https://cloud.uipath.com/organization/tentant/orchestrator_" -e CLIENT_ID="$Client_ID" -e CLIENT_SECRET="$Client_secret" -tid registry.uipath.com/robot/uiautomation-runtime:<tag>
docker run --dns="1.1.1.1" -e LICENSE_AGREEMENT=accept -e ORCHESTRATOR_URL="https://cloud.uipath.com/organization/tentant/orchestrator_" -e CLIENT_ID="$Client_ID" -e CLIENT_SECRET="$Client_secret" -tid registry.uipath.com/robot/uiautomation-runtime:<tag>
1.1.1.1
refers to the public DNS resolver from Cloudflare. This can be any DNS resolver that can resolve the SignalR Hub.
docker start {container_id}
command to start an already created container.
- To see the status of your robots on the machine use the following command:
docker ps -a
docker ps -a - To disconnect a robot use the command below:
docker stop {container_id}
docker stop {container_id}Important: Usingdocker kill container_id
stops the robot on the machine but does not disconnect it from Orchestrator. - To reconnect a specific robot use the command below:
docker start {container_id}
docker start {container_id}
The Linux robot can run both background and foreground (using Google Chrome) automations.
If you want to create a web automation compatible with Linux robots, follow the steps below:
- When creating a new process, choose the cross-platform project type in Studio.
- In Studio, from the Package Manager, update the UI Automation activity package to the latest version. This feature is only available starting with the v21.11.0-preview package. Since you are using a Cross-platform project, only the activity packs that support cross-platform projects are displayed.
- To create a web automation, you also need the latest Chrome extension. You can easily install it in the following ways:
Note: You must have Chrome extension v21.10.4 or newer installed before you start designing the automation.
When designing the UI Automation project for Linux robots, you can use the following input methods for activities:
- ChromiumAPI (default)
- SimulateClick/SimulateType
Additionally, the following wizards are supported:
- Web Recorder
- Table Extraction
The procedure for running an unattended job on Linux robots is identical to the one for Windows.
5900
default port. To connect to it during process execution, you need to publish the VNC port when starting the image, by adding
-p {localVncPort}:5900 --env VNC_ENABLED=true
parameters to the Docker Run
command.
docker run -e LICENSE_AGREEMENT=accept -e
ORCHESTRATOR_URL="{orchestrator url}" -e MACHINE_KEY="{machine_key}" -p 50000:5900 --env VNC_ENABLED=true registry.uipath.com/robot/uiautomation-runtime:<tag>
docker run -e LICENSE_AGREEMENT=accept -e
ORCHESTRATOR_URL="{orchestrator url}" -e MACHINE_KEY="{machine_key}" -p 50000:5900 --env VNC_ENABLED=true registry.uipath.com/robot/uiautomation-runtime:<tag>
50000 port
. After this, you can use any VNC client to follow the robot’s execution live.
You can debug an already started robot container through the unattended robot connection feature.
/home/robotuser/.local/share/UiPath/Logs
folder on the docker image.
To extract Logs from the container, use the following command:
docker cp <ContainerId>:/home/robotuser/.local/share/UiPath/Logs <TargetPath>
/application/Packages/
directory on the docker container. This can be configured by mounting the directory which contains the NuGet libraries using
the following command:
docker run -e LICENSE_AGREEMENT=accept -e MACHINE_KEY="{machine_key}" -e ORCHESTRATOR_URL="https://cloud.uipath.com/organization/tentant/orchestrator_" -v <path to packages on the host machine>:/application/Packages/ -ti registry.uipath.com/robot/uiautomation-runtimedocker run -e LICENSE_AGREEMENT=accept -e ORCHESTRATOR_URL="https://cloud.uipath.com/organization/tentant/orchestrator_" -e CLIENT_ID="$Client_ID" -e CLIENT_SECRET="$Client_secret" -v <path to packages on the host machine>:/application/Packages/ -ti registry.uipath.com/robot/uiautomation-runtime:<tag>
docker run -e LICENSE_AGREEMENT=accept -e MACHINE_KEY="{machine_key}" -e ORCHESTRATOR_URL="https://cloud.uipath.com/organization/tentant/orchestrator_" -v <path to packages on the host machine>:/application/Packages/ -ti registry.uipath.com/robot/uiautomation-runtimedocker run -e LICENSE_AGREEMENT=accept -e ORCHESTRATOR_URL="https://cloud.uipath.com/organization/tentant/orchestrator_" -e CLIENT_ID="$Client_ID" -e CLIENT_SECRET="$Client_secret" -v <path to packages on the host machine>:/application/Packages/ -ti registry.uipath.com/robot/uiautomation-runtime:<tag>
<path to packages>
refers to the location on the host machine .
Make sure that the robot user (UID 1000 user) has read access to the mounted path to the package feeds.