Description

Space Platform Upgrade fails with the error message "Software upload failed".

Symptoms

When upgrading the Space platform from one version to another, an error is shown.  The error states the software upload has failed.

What are the steps to troubleshoot this software upload failure?

Solution

If the upload failed, it may be because the file is corrupt.  Please check the size and the md5sum of the file and compare that checksum to the one listed on the Juniper site.  There are tools available for windows (such as fciv.exe from Microsoft) to checksum files.  Linux should have md5sum built-in.

If the file was bad, download a new upgrade file from the Juniper support site and verify the md5sum.  Before uploading the new file, it may be necessary to delete the uploaded old file.

On the Space CLI the uploaded file can be deleted:

  1. Login to Space as admin and switch to the debug (start shell) mode
  2. Change to:  cd /var/cache/jboss/jmp/payloads
  3. Move the suspected bad directory to another location such as /tmp or /var/tmp ; example:   mv 1.4R1.5 /var/tmp/ .
  4. Attempt the upload again.     

For earlier versions of Space, it may work best to use Firefox to upload the file.