Packages not downloading automatically

Hello everyone,

I am wondering, if anyone had such a problem with packages and On-premise Orchestrator:

  1. I have open connection to URLs, where packages are stored.
  2. I can downlaod packages manually, from studio. Every version is visible, I can update, downgrade, anything,
  3. When I run a process, with some new packages (for example UiPath.UiActivities v.22.10.5, previously installed was v22.10.4), but from Orchestrator level, then I receive this error:
Failed to install package 'TestProces.1.3' ---> UiPath.CoreIpc.RemoteException: NU1102: Unable to find package System.Diagnostics.EventLog with version (>= 5.0.1)
- Found 1 version(s) in Local [ Nearest version: 5.0.0 ]
- Found 0 version(s) in nuget.org
- Found 0 version(s) in {orchestratorAddress}/nuget/v3/0afcbe79-30e9-4ae7-917d-1ca84c59e765/index.json
- Found 0 version(s) in {orchestratorAddress}/nuget/v3/efbad1b0-b676-47d5-82ea-4d1356ca8b5b/index.json
- Found 0 version(s) in Connect
- Found 0 version(s) in Official

This happens to really packages/dependencies. My sources are:

Default package sources:
'Local' - C:\Program Files\UiPath\Studio\Packages
'Official' - https://pkgs.dev.azure.com/uipath/Public.Feeds/_packaging/UiPath-Official/nuget/v3/index.json
'Marketplace' - https://gallery.uipath.com/api/v3/index.json
'Orchestrator Host' - {orchestratorAddress}/nuget/v3/0afcbe79-30e9-4ae7-917d-1ca84c59e765/index.json

User defined sources:
'nuget.org' - https://api.nuget.org/v3/index.json

Any help would be appreciated!

Thank you.

have a check on the UiPath.config and the parameter:
grafik
Set it to false

Thanks for your reply, however I don’t have such option. Should I add it manually or if it’s not there, then it’s okay?

Below you can find my config:

<?xml version="1.0" encoding="utf-8"?>
  <configuration>
    <configSections>
      <section name="connectionSettings" type="System.Configuration.AppSettingsSection" />
      <section name="communicationSettings" type="System.Configuration.AppSettingsSection" />
      <section name="packageSettings" type="System.Configuration.AppSettingsSection" />
      <section name="sessionSettings" type="System.Configuration.AppSettingsSection" />
      <section name="analyticsSettings" type="System.Configuration.AppSettingsSection" />
      <section name="webProxySettings" type="System.Configuration.AppSettingsSection" />
      <section name="robotCacheSettings" type="System.Configuration.AppSettingsSection" />
      <section name="robotJsSettings" type="System.Configuration.AppSettingsSection" />
    </configSections>
    <connectionSettings>
      <add key="defaultServiceUrl" value="https://cloud.uipath.com" />
    </connectionSettings>
    <communicationSettings>
      <add key="maxMessageSizeInMegabytes" value="10" />
      <add key="installPackageTimeout" value="00:20:00" />
      <add key="requestTimeout" value="00:00:40" />
    </communicationSettings>
    <packageSettings>
      <add key="disableSecureXaml" value="False" />
    </packageSettings>
    <sessionSettings />
    <analyticsSettings>
      <add key="Telemetry.Enabled" value="False" />
    </analyticsSettings>
  <webProxySettings />
  <robotCacheSettings />
  <robotJsSettings />
</configuration>

yes, give it a try by manually adding it.

Also ensure that no firewall rule is blocking any feed downloading (Kindly note a manual download can be successful, as a specific firewall rule is still blocking the download when initiated e.g. by the assistant)

I requested for this firewall check and will let you know once it changed. Anyway, thanks for any suggestions!

The processes that are being run from orchestrator, are they running on your pc or some other pc?

On a virtual machine.

Ok. You might want to check the permissions of the robot account used to run processes on the virtual machine, ensure that it has a role that grants it View permissions to Libraries at the Tenant level.

I think they are good. If I open a project in a UiPath Studio, on the same user, then packages are downloading automatically. Problem occurs only, when I try to run process with a packages, which were not previously downloaded.

When you are running the process, is it on an unattended robot or on the same PC where you’re using Studio?

Unattended robot machine.

Ok, and so the robot user account that holds the credential to run processes on the unattended robot machine, does it have View permissions to Libraries? You can check the roles granted to the robot user account and see what’s currently assigned?

Yes, it is “Robot” role, so Libraries view is also provisioned.

Then I am uncertain what could be the issue. The only time I’ve seen this (with the exact same error message that you saw) was when we had permissions incorrectly configured for the Orchestrator user account that was used to run robots on the unattended PC. Because it had no View permissions to Libraries, it could not find any library matching the required version, and hence throws that error.

Perhaps others can help.

Anyway, thank you for your engagement:)

Did you ever get this figured out?

Not really. I have no longer access to this configuration, but I would suggest to set up robot account once again.