Restoring the MEF Edge Upgrade Environment After It Is Forcibly Terminated

Symptom

During the MEF Edge upgrade, the upgrade is forcibly terminated due to device power-on/power-off or other exceptions. In this case, the environment needs to be restored.

Solution

  1. Log in to the device environment.
  2. If /home/data/mefedge/unpack/edge_installer exists, delete it.
  3. Check the current MEF Edge version. If the upgrade fails, perform the upgrade again.
    • Go to the installation directory.
      cd MEFEdge_installation_path/MEFEdge/software/
    • Check the MEF Edge version in the version.xml file.
      cat version.xml
  4. If the MEF Edge version in the version.xml file is the target version, run the following command to restore the upgrade environment.
    run.sh start