Skip to main content
sfrati
Staff
Staff
February 4, 2026

Technical Tip: How to display logs and check an hotfix application on FortiClient EMS in emscli

  • February 4, 2026
  • 0 replies
  • 613 views
Description This article describe when upgraded to version 7.4.5+ on FortiClient EMS virtual appliance, the shell access to OS is replaced by emscli. Some Linux native commands are replaced with some emscli.
Scope FortiClient EMS v7.4.5+.
Solution

For example, in a running FortiClient EMS instance, to browse the resulting logs of a previous task, for instance, a previous 'hotfix application', the following command was previously available on the shell for native Ubuntu-linux OS:

 

# cat /var/log/forticlientems/upgradeworker_*.log


Now with emscli, the restricted shell on FortiClient EMS virtual appliance v7.4.5+, this previous linux-native command is replaced by the following process.

 

First, list the latest files to get the fullnames:

 

ems@fcems-server $> execute ls /var/log/forticlientems/upg*
-rw-r--r-- 1 root forticlientems 1361 Jan 21 17:15 /var/log/forticlientems/upgradeworker_2026-01-21.log
-rw-r--r-- 1 root forticlientems 2117 Jan 29 17:09 /var/log/forticlientems/upgradeworker_2026-01-29.log
-rw-r--r-- 1 root forticlientems 1450 Jan 30 14:43 /var/log/forticlientems/upgradeworker_2026-01-30.log


Then, find the latest 'upgradeworker' log file from the previous list and display the content with the following emscli:

 

ems@fcems-server $> execute cat /var/log/forticlientems/upgradeworker_2026-01-30.log
2026-01-30T14:30:44.149Z INFO server/server.go:448 Starting FortiClient EMS Upgrade Worker - 7.4.1.1872
2026-01-30T14:30:44.150Z INFO common/svcrunner_linux.go:14 Running FCEMS_UPGRADE as a regular service
2026-01-30T14:30:44.151Z INFO server/daemon_server.go:37 Starting daemon loop function
2026-01-30T14:30:44.153Z INFO service/upgrade.go:449 [TID:W9DmOSXlTq]: Starting Upgrade worker
...


Note: The administrator can first check, in this example of hotfix tracking, if and when hotfixes were already applied or not:

 

ems@fcems-server $> execute hotfix --list
2026/02/02 16:41:22 FortiClient EMS Hotfixer - 7.4.5.2111
Patch: c8bf94bb91da75cd0d5d47f62901e339 …

 

Related articles: