Cannot edit agent.cfg when setting up Asset Discovery Agent

プラットフォームについて: Cloud および Data Center - この記事はクラウドと Data Center 両方のプラットフォームに等しく適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

要約

When trying to set up Asset Discovery Agent according to Set up Assets Discovery Agent and edit agent.cfg, the agent.cfg file can't not be successfully modified. It keeps going back to the default file upon saving. 

診断

Below are 3 example agent.cfg files: 

原因

The modification of agent.cfg is unsuccessful due to invalid format. In the examples above, it is because of the duplicated </DirectCopyPath> flags: the default agent.cfg already has the <DirectCopyPath /> flag, and its recommended to add the values in-place instead of creating duplicated flags at the end of the file. 

ソリューション

Double-check the agent.cfg to see whether there are duplicated flags or invalid flags. 

最終更新日: 2025 年 1 月 20 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.