Description
This article describes how to debug managed FortiSwitch firmware upgrade 'Image file doesn't match platform' error on FortiGate as shown below:
Scope
FortiGate.
Solution
Attempt FortiSwitch firmware upgrade using one of the following options:
- Try upgrading FortiSwitch firmware using other web browsers, such as Microsoft Internet Explorer/Microsoft Edge/Chrome/Firefox, and check the behavior if the upgrade works via FortiGate GUI.
- To speed up how fast the image is pushed from the FortiGate unit to the FortiSwitch units, on FortiGate CLI, enable the HTTPS image push instead of the CAPWAP image push and then try the FortiSwitch upgrade:
config switch-controller global
show full
set https-image-push enable
end
- There is a similar Bug 479692 – where FortiGate GUI prompts an error 'Image file doesn't match platform' when the User uploads the correct FortiSwitch image on FortiGate GUI.This Bug is fixed in FortiOS v6.0.7 and v6.2.2 and later versions:
https://fortinetweb.s3.amazonaws.com/docs.fortinet.com/v2/attachments/b4a839df-0029-11ea-8977-005056...
https://fortinetweb.s3.amazonaws.com/docs.fortinet.com/v2/attachments/871d9b68-e08e-11e9-8977-005056...Consider upgrading FortiOS image after verifying compatibility:
https://fortinetweb.s3.amazonaws.com/docs.fortinet.com/v2/attachments/d756e8a9-6d2d-11e9-81a4-005056...
- If FortiGate firmware upgrade is not an option then FortiSwitch firmware upgrade can be done via FortiGate CLI using 'Firmware upgrade of stacked or tiered FortiSwitch units using stage upgrade procedure on FGT' - Refer Page 57: https://fortinetweb.s3.amazonaws.com/docs.fortinet.com/v2/attachments/2f7d95c8-7367-11ea-9384-005056...
- Verify the hardware model and the image match. For example, in this case, the hardware model is 124F-POE but the image is for the regular model.
