Software Fails to Be Upgraded on the Atlas 500 AI Edge Station (Model 3000) WebUI and a Message "Middleware upgrade failed" Is Displayed

Symptom

The software fails to be upgraded on the Atlas 500 AI edge station (model 3000) WebUI and a message "Middleware upgrade failed" is displayed.

Possible Causes

The space of the /opt/middleware directory is insufficient.

Procedure

  1. Log in to the Atlas 500 CLI using SSH.
  2. Run the develop command to enter the development mode.
  3. Run the df -h command to check the available space of the /opt/middleware directory (the value in the Avail column).

    400 MB space is at least required for firmware upgrade. If the available space is less than 400 MB, the space is insufficient. Go to 4.

    Filesystem       Size  Used Avail Use% Mounted on
    devtmpfs         1.8G  4.0K  1.8G   1% /dev
    tmpfs            1.9G     0  1.9G   0% /dev/shm
    tmpfs            1.9G   42M  1.9G   3% /run
    tmpfs            1.9G     0  1.9G   0% /sys/fs/cgroup
    /dev/mmcblk0p2   2.0G  1.1G  746M  60% /
    tmpfs            1.9G     0  1.9G   0% /tmp
    tmpfs            128M     0  128M   0% /var/dlog
    tmpfs            128M  7.7M  121M   6% /var/alog
    tmpfs            128M  456K  128M   1% /var/plog
    tmpfs             64M  2.1M   62M   4% /var/log
    /dev/mmcblk0p4   976M  346M  564M  39% /home/data
    tmpfs            128M     0  128M   0% /var/IEF
    /dev/mmcblk0p5   976M   52M  858M   6% /home/log
    /dev/mmcblk0p7   2.0G  1.2G  668M  64% /opt
    /dev/mmcblk0p8    12G  2.0G  9.2G  18% /var/lib/docker
    /dev/mmcblk0p6   976M  792M  118M  88% /opt/middleware
    /dev/mmcblk0p9   976M  2.6M  907M   1% /home/mmc/data
    /dev/mmcblk0p10  976M  2.6M  907M   1% /home/mmc/databak
    /dev/mmcblk0p11  976M  2.6M  907M   1% /opt/local/nginx/html/software
    /dev/sda1        984G  129G  805G  14% /home/storage
    tmpfs            387M     0  387M   0% /run/user/0
  4. Delete unwanted files from the /opt/middleware directory to release space. Ensure that the available space of the directory is greater than 400 MB.
  5. Upgrade the software package again.