FortiClient Migration from 7.2.9 to 7.4.3 failed
During a migration from FortiClient EMS 7.4.9 (windows) to FortiCLient EMS 7.4.3 (Linux) the migration.exe program signaled a failed migration, with the last lines log the log stating:
2025-04-11 13:27:38,091 Exception type : Traceback (most recent call last):
File "main.py", line 66, in main
File "lib\ems_client_lib.py", line 101, in copy_cert_files
File "lib\ems_client_lib.py", line 62, in copy_files
File "lib\helper\scphelper.py", line 50, in copy
File "lib\helper\scphelper.py", line 33, in ExecCmd
Exception: ExecCmd: echo 'xxxx-omitted-xxx' | sudo -S chown -R forticlientems.forticlientems "/opt/forticlientems/data/certs", Error: [sudo] password for test: chown: warning: '.' should be ':': ‘forticlientems.forticlientems’
2025-04-11 13:27:38,094 [chan 1] EOF sent (1)
2025-04-11 13:27:38,095 EOF in transport thread
2025-04-11 13:27:38,097 EOF in transport thread
2025-04-11 13:27:38,097 EOF in transport thread
2025-04-11 13:27:38,098 EOF in transport thread
It appears that the executable contains a syntax error in the chown command.
I've manually changed the ownership of the certificate that was copied from the Windows machine to Linux. The FortiClient EMS platform on the new machine appears healthy, but I don't know if the migration procedure has been completed or if the error has aborted some other part of the migration.
Thanks
