Upgrading an agent is failing. Both methods of the agent upgrade have been tried (with and without the option "Use new upgrade procedure for Linux agents"). The upgrade always results as having been completed successfully. But the agent version never gets updated.
Release Automation - All Versions.
Files in the Agent_Installation_Dir/conf folder were owned by root. This problem was indicated in the following logs/wrapper.log messages:
ERROR | jvm 2 | 2021/04/26 13:30:21.303 | Could not prepare agent for update. Launching it without update java.io.FileNotFoundException: /path/to/ReleaseAutomationAgent/conf/nimi_config.xml-07262019-bkup (Permission denied)
INFO | jvm 2 | 2024/10/11 11:55:48.577 | Copy <ra_home>/conf/nolio-test.agent.p12 to <ra_home>/conf_bakup_2024-10-285-11_55_48/nolio-test.agent.p12
ERROR | jvm 2 | 2024/10/11 11:55:48.577 | Could not prepare agent for update. Launching it without update java.io.FileNotFoundException: <ra_home>/conf/nolio-test.agent.p12 (Permission denied)
To solve this issue: