FortiSIEM
FortiSIEM provides Security Information and Event Management (SIEM) and User and Entity Behavior Analytics (UEBA)
nsoni
Staff
Staff
Article Id 410026
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: 

 

  1. Back up the configuration file:

 

    cp -a /opt/phoenix/config/phoenix_config.txt /opt/phoenix/config/phoenix_config.txt_orig

 

  1. Update the network interface setting: Edit /opt/phoenix/config/phoenix_config.txt and modify the value of:

 

         selected_network_interface=<actual_interface_name>

   

For example, if the collector uses bond0, change:

 

    selected_network_interface=eth0

   

To:

 

    selected_network_interface=bond0

 

  1. Retry the upgrade: Reinitiate the image install for the collector from the Supervisor GUI.

 

Contributors