automation-suite
2022.10
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Automation Suite 安装指南

上次更新日期 2025年4月2日

MongoDB Pod 从 4.4.4-ent 升级到 5.0.7-ent 失败

描述

从 Automation Suite 2021.10 升级到 2022.10 时,MongoDB Pod 在滚动更新时卡住,无法从版本 4.4.4-ent 移动到 5.0.7-ent。只有一个 Pod 可用,且未通过就绪检查。

解决方案

要检查 MongoDB 代理日志,请运行以下命令:

kubectl get pods -n mongodb
Use the pod name and get log for that pod
kubectl logs <pod-name> -n mongodb -c mongodb-agent
In the Agent logs if we are seeing below line then the upgrade hasn't been successful
  ['currentState.Version = 4.4.4-ent is equal to desiredState.Version = 5.0.7-ent' = false]kubectl get pods -n mongodb
Use the pod name and get log for that pod
kubectl logs <pod-name> -n mongodb -c mongodb-agent
In the Agent logs if we are seeing below line then the upgrade hasn't been successful
  ['currentState.Version = 4.4.4-ent is equal to desiredState.Version = 5.0.7-ent' = false]

要解决此问题,请执行以下步骤:

  1. 在 ArgoCD 中禁用自动同步。转到“应用程序”>“MongoDB”>“应用程序详细信息”>“摘要”,然后单击“禁用自动同步”
  2. MongoDB sts 定义仍在使用旧的 MongoDB localhost:30071/mongodb/mongodb-enterprise-appdb-database:4.4.4-ent 映像。编辑定义以使用版本 5.0.7-ent。保存并同步。
  3. 删除旧的 MongoDB Pod。
  4. Pod 应提供 MongoDB 版本 5.0.7-ent。
  • 描述
  • 解决方案

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2025 UiPath。保留所有权利。