Description
This article describes how to install a newer FortiNAC version from the CLI after downloading the image .bin file.
Scope
Any supported version of FortiNAC.
Solution
/bsc/campusMgrUpdates
It is possible to do this using WinSCP.
cd /bsc/campusMgrUpdates <- Make this an executable file.
chmod +x <File_Name>.bin <- Install the file.
./<File_Name>.bin
Failure to upgrade due to unreachable FTP server used for Remote Backup
In some cases, upgrades can fail both through the GUI and the CLI. This may happen in rare cases where the FTP server configured in FortiNAC System -> Settings -> System Management -> Remote Backup Configuration is not reachable.
In FNAC upgrade logs stored at /bsc/campusMgrUpdates/update_log-YYYY-MM-DD.HH.MM.SS, the following events will be seen:
Error: FTP transfer failed from NAC to 192.168.1.10
Connected to 92.168.1.10 (92.168.1.10).
220
421 Service not available, remote server has closed connection
Not connected.
Not connected.
/bsc/campusMgr/../campusMgrUpdates/FNAC_install_9.2.8_build0471.bin: some unexpected error happened during the install.
The machine(s) in this cluster are NOT CURRENTLY IN A VALID STATE.
This problem needs to be fixed before this cluster can be used in
a production environment.
A logfile of this install is stored in
/bsc/campusMgrUpdates/update_log-YYYY-MM-DD.HH.MM.SS . If this problem
persists, please contact Support and provide them with this file.
This can be resolved by simply disabling Remote FTP backup in the GUI and proceeding with the upgrade process.
However, in some FortiNAC versions, the administrators may not be able to disable this option due to known issues:
The upgrade in this case will still fail since the changes on the GUI will not take affect.
The workaround is to perform the upgrade manually from the CLI by overriding the remote FTP backup configuration as below:
cd /bsc/campusMgrUpdates
chmod +x FNAC_install_9.2.8_build0471.bin
./FNAC_install_9.2.8_build0471.bin -o skip_centos_backup
Related documents:
Upgrade CentOS - FortiNAC documentation.
Upgrade NACOS - FortiNAC documentation.
Technical Tip: How to upgrade FortiNAC from GUI.
Technical Tip: Upgrade FortiNAC-F through the CLI.
Technical Tip: Upgrade FortiNAC from GUI Failed, Errors occurred during image upgrade. ret='-1'.
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 2024 Fortinet, Inc. All Rights Reserved.