While performing the Central Agent Upgrade (CAU) on RA FTP agent, the Agent does not upgrade successfully, and the following message is present in the Service Manager log file:
U00022051 Error: Upgrade description file 'C:\Automic\ServiceManager\bin\..\..\Agents\rapidautomation\bin \deployment.txt' not found, upgrade process has not started.
U00022004 Starting process 'UC4 FTP_AGENT' ...
U00022005 ... with command line 'C:\Automic\jdk1.8.0_144\jre\bin\java -jar -Xmx256M C:\Automic\ServiceManager\bin\..\..\Agents\rapidautomation\bin\ucxjcitx.jar'.
U00022006 ... and start directory 'C:\Automic\ServiceManager\bin\..\..\Agents\rapidautomation\bin '.
Release : 12.3.X
Component : AUTOMATION ENGINE, RA FTP agent
Issue with RA FTP start path in Service Manager uc4.smd file
Verify the start path of the agent in uc4.smd file.
In this specific scenario, there is an extra space right after the start path (based on the error - highlighted in red):
U00022051 Error: Upgrade description file 'C:\Automic\ServiceManager\bin\..\..\Agents\rapidautomation\bin \deployment.txt' not found, upgrade process has not started.
20210622/143610.427 - U00022004 Starting process 'UC4 FTP_AGENT' ...
20210622/143610.427 - U00022005 ... with command line 'C:\Automic\jdk1.8.0_144\jre\bin\java -jar -Xmx256M C:\Automic\ServiceManager\bin\..\..\Agents\rapidautomation\bin\ucxjcitx.jar'.
20210622/143610.427 - U00022006 ... and start directory 'C:\Automic\ServiceManager\bin\..\..\Agents\rapidautomation\bin '.
In Service Manager uc4.smd file, check for the the line where RA FTP agent is defined and make sure there is no extra space after bin directory, also verify if the path is correct.
Example of correct path:
DEFINE RA.FTP;C:\Program Files\Java\jre1.8.0_221\bin\java -Xmx2048m -jar ucxjcitx.jar disable_cache;*OWN\..\..\Agents\RA.FTP\bin