UiPath Documentation
automation-suite
2.2510
true
Linux 版 Automation Suite 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

应用补丁

对现有 Automation Suite 版本应用补丁,以修复错误或安全漏洞。

Automation Suite 补丁是对现有版本的更新,用于修复错误或安全漏洞。例如,补丁 2.2510.0+patch1解决了影响版本 2.2510.0 的问题。

重要提示:

我们建议升级到包含相同修复程序的累积更新 (CU),而不是应用补丁。 补丁中提供的所有修复程序也将在补丁的发行说明中提到的 CU 中提供。

要将补丁应用于现有的 Automation Suite 版本,请执行以下步骤:

  1. 仅限离线。使用最新的映像更新注册表。

    1. 补丁工件下载链接下载以下补丁工件。选择适用于您的补丁和注册表配置类型的工件集。

      • 要使用 UiPath™ 注册表镜像符合 OCI 的注册表,请下载以下工件:
        • as-images.txt
        • as-helm-charts.txt
        • mirror-registry.sh
      • 要将符合 OCI 的注册表与离线捆绑包结合使用,请下载以下工件:
        • hydrate-registry.sh
        • as.tar.gz
      • 要使用集群内注册表,请下载以下工件:
        • as-fs.tar.gz
        • docker-images.json
        • versions.json
    2. 重要提示:

      不要从有关配置 OCI 合规注册表的说明中引用的链接下载工件。请改为使用“补丁程序工件下载链接”页面上提供的下载链接。

  2. 补丁工件下载链接下载相应的uipathctl补丁版本。将./bin安装程序目录中的当前uipathctl版本替换为已修补的uipathctl版本。

    备注:

    有关如何设置uipathctl CLI 的详细信息,请参阅运行 uipathctl

  3. 下载versions.json 。有关说明,请参阅补丁工件下载链接

  4. 通过运行以下命令来应用补丁:

    备注:

    <current versions.json>引用当前安装的versions.json文件。您可以在以下位置找到该文件: <installer_directory>/versions/helm-charts.json

    您必须将补丁versions.json下载到目录中,并将目录路径传递给--patch-dir-path参数。

    要应用补丁,请将所有相关的versions.json文件存储在单个目录中。

    cd /opt/UiPathAutomationSuite/latest/installer
    ./bin/uipathctl cluster patch cluster_config.json --versions <current versions.json> --skip-oss-prereq --only <PRODUCTS(comma separated)> --patch-dir-path <path to patch versions.json files directory>
    cd /opt/UiPathAutomationSuite/latest/installer
    ./bin/uipathctl cluster patch cluster_config.json --versions <current versions.json> --skip-oss-prereq --only <PRODUCTS(comma separated)> --patch-dir-path <path to patch versions.json files directory>
    

    以下配置示例显示了如何将补丁应用于 Orchestrator 和 Action Center:

    cd /opt/UiPathAutomationSuite/latest/installer
    ./bin/uipathctl cluster patch cluster_config.json --versions <current versions.json> --skip-oss-prereq --only orchestrator,actioncenter --patch-dir-path <path to patch versions.json files directory>
    cd /opt/UiPathAutomationSuite/latest/installer
    ./bin/uipathctl cluster patch cluster_config.json --versions <current versions.json> --skip-oss-prereq --only orchestrator,actioncenter --patch-dir-path <path to patch versions.json files directory>
    
  5. 通过执行以下步骤,检查修补程序操作是否成功:

    1. 运行以下命令以列出所有服务的版本:

       kubectl -n argocd get application -o wide || helm list -A
       kubectl -n argocd get application -o wide || helm list -A
      
    2. 验证已修补的服务的版本是否已更新。

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新