I need to upgrade a group of not licenced fortigates, I tried to run a script that execute a restore image tftp but after downloading and validate the image from the tftp server the script stops with errors and doesnt do anything.
I would like to know if this upgrade process is posible and if there are alternatives to do this upgrade on not licenced fortigates. Maybe a script on an external server that execute a ssh on every fortigate.
Thanks!
Solved! Go to Solution.
I found a way to do the upgrade. Executing the image restore from FortiManager cause an error or some kind of incompatibility I dont know why. So the solution I found was create an automation with the image restore as the action.
config system automation-trigger
edit "upgrade"
set trigger-type scheduled
set trigger-frequency once
set trigger-datetime 2025-08-06 00:00:00
next
end
config system automation-action
edit "cmd"
set action-type cli-script
set script "execute restore image tftp <image> <IP>"
set accprofile "super_admin"
next
end
config system automation-stitch
edit "upgrade"
set trigger "upgrade"
config actions
edit 1
set action "cmd"
set required enable
next
end
next
end
Thanks to all!
Hello Seis,
Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.
Thanks,
Hello,
We are still looking for an answer to your question.
We will come back to you ASAP.
Thanks,
Probably you need a license also this seems why you have selected the forum and not opened a support case as Support will not help with unlicensed fortigates and that is normal.
Hello again, Seis,
I found this solution. Can you tell me if it helps, please?
Upgrading non-licensed FortiGate devices using a script can be challenging due to the limitations in support and features available for non-licensed units. However, you can attempt the following steps to upgrade these devices:
If these steps do not resolve the issue, you may need to consult with Fortinet support for further assistance, especially if the problem persists across multiple devices.
I found a way to do the upgrade. Executing the image restore from FortiManager cause an error or some kind of incompatibility I dont know why. So the solution I found was create an automation with the image restore as the action.
config system automation-trigger
edit "upgrade"
set trigger-type scheduled
set trigger-frequency once
set trigger-datetime 2025-08-06 00:00:00
next
end
config system automation-action
edit "cmd"
set action-type cli-script
set script "execute restore image tftp <image> <IP>"
set accprofile "super_admin"
next
end
config system automation-stitch
edit "upgrade"
set trigger "upgrade"
config actions
edit 1
set action "cmd"
set required enable
next
end
next
end
Thanks to all!
Hello Seis!
Super and well done! Thanks for sharing the solution to everybody :)
Regards
User | Count |
---|---|
2571 | |
1364 | |
796 | |
651 | |
455 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.