Troubleshooting Tip: Collector Upgrade Failure - Error 'Running upgrade.sh Failed 7'
| Description | The article describes how to fix the collector upgrade error 'Running upgrade.sh Failed 7'. |
| Scope | FortiSIEM collector. |
| Solution | Problem: Collector upgrade fails with the error:
Running upgrade.sh Failed 7
The error gets logged in the log file on the collector:
/opt/phoenix/log/collector-upgrade.log
Manual execution of the upgrade. The sh script (sh upgrade.sh) on the collector shows the actual error:
Invalid Iptype
Cause: The upgrade script (upgrade.sh) is hardcoded to use the default network interface eth0. However, the collector is configured to use a different interface (e.g., bond0, ens192, etc.), resulting in a mismatch and failure during the upgrade process.
Solution: Log in to the collector CLI using SSH and perform the steps:
cp -a /opt/phoenix/config/phoenix_config.txt /opt/phoenix/config/phoenix_config.txt_orig
selected_network_interface=<actual_interface_name>
For example, if the collector uses bond0, change:
selected_network_interface=eth0
To:
selected_network_interface=bond0
|