Troubleshooting Tip: No valid upgrade path error when upgrading the FortiGate firmware
| Description | This article describes a known issue downloading the upgrade path table that causes the error message 'No valid upgrade path' when attempting to upgrade a FortiGate virtual machine and physical hardware platforms. |
| Scope | FortiGate running FortiOS v7.2.11, v7.4.9, v7.6.4, or earlier. |
| Solution | In affected firmware versions and platforms, the upgrade path matrix cannot be downloaded as it is too large for the assigned buffer. This causes supported upgrades to incorrectly show no valid upgrade path.
Example upgrading FortiOS from v7.4.8 or v7.4.9 to FortiOS v7.4.10 or 7.4.11: Attempting to upgrade a VM and hardware from FortiOS v7.4.8 or v7.4.9 to v7.4.10 or v7.4.11 shows the following error in the GUI: 'No valid upgrade path from FortiOS v7.4.9 build2829 to FortiOS v7.4.11 build2878'.   However, the upgrade path from v7.4.9 to v7.4.11 is supported for this platform. The same applies to upgrading from v7.6.4 to 7.6.5 or v7.6.6.
Diagnostics: The image list shows that firmware images for v7.4.9 and v7.6.5 are available for upgrade. diagnose fdsm image-list | grep v7.4
diagnose fdsm image-list | grep v7.6 ...
diagnose fdsm image-upgrade-matrix
Resolution:
Once upgraded to one of these versions, the FortiGate will be able to download the image upgrade matrix, and the false-positive upgrade path warning will no longer occur.
This issue only affects platforms with a large number of historical firmware versions (i.e., FortiGate VMs). The workaround is to upgrade the FortiGate-VM using the CLI command 'execute restore image management-station <image_id>'. To do this, follow the steps below:
diagnose fdsm image-list | grep v7.4 ...
execute restore image management-station 07004000FIMG0013704011 ####################################################################################################
For v7.6.5 to v7.6.6:
diagnose fdsm image-list | grep v7.6 ...
execute restore image management-station 07006000FIMG0013706006
Getting image 07006000FIMG0026806005 from Management station... Do you want to continue? (y/n)y
Verifying the signature of the firmware image.
Warning: Upgrading to an image with Mature maturity notation.
Please wait for system to restart.
Note: The firmware upgrade is applicable for the HA environment as well, and the HA upgrade will follow the usual flow, i.e., the image will be pushed to the secondary for upgrading first and then the primary.
Example:
This can also be done for v7.6.6:
Note: This firmware upgrade issue also affects physical appliances, not only FortiGate VM.
Alternative method for firmware upgrade (workaround):
This upgrade path has been validated to complete successfully without further issues (refer to the screenshots below).
If the alternative method (workaround) fails, the only option is to upgrade by manually downloading the firmware image: Firmware images for all FortiGate units are available on the Fortinet Customer Service & Support website. To download firmware:
Note: Select FortiGate under Select Product as shown below:
Next, proceed to the manual upgrade: Technical Tip: How to manually perform a firmware upgrade from the GUI.
Note: If the output of the following command does not work:
execute restore image management-station
Use console access (a console cable is required).
Related articles: |





