Troubleshooting Tip: How to troubleshoot when FortiManager shows error 'FGT_check_status failed:timeout' when trying to upgrade FortiGate firmware
Description
This article describes how to troubleshoot when FortiManager shows the error 'FGT_check_status failed:timeout' when trying to upgrade FortiGate firmware.

Scope
FortiManager.
Solution
In this scenario, FortiGate is upgraded via Device Manager -> Managed FortiGate -> Firmware Version -> Upgrade Firmware -> Custom -> Select the appropriate version/image and select -> OK.
During the upgrade, the upgrade will fail with the error 'FGT_check_status failed:timeout'.
To investigate further, run debug as below in FortiManager CLI Console and perform the upgrade again.
#diagnose fwmanager fwm-log Debug will show error failed state=5(error):

Looking at the error code, it is related to FortiManager not retrieving the upgrade status within the default timeout.
Try to increase the timeout to 3600s in FortiManager and perform the upgrade again.
CLI command to increase the timeout as follows:
config fmupdate fwm-setting
config upgrade-timeout
set check-status-timeout 3600
end
end
Related documents:
Troubleshooting Tip: How to troubleshoot FortiGate firmware upgrades using FortiManager