Linux

Prerequisite checking has failed because 'There is insufficient free disk space on the system'

When you attempt to install a maintenance package by using UPDI, you might encounter the failure about insufficient disk space.

Problem

When a maintenance package is applied to the instance, the WebSphere Commerce EAR is expanded into the temporary directory. If you limited the size of your temporary directory, then you might encounter this error.

Solution

  1. Open the WAS_installdir/profiles/instance_name/properties/wsadmin.properties file.
  2. Change the tempdir to a directory that has enough available disk space. For example,
    #-------------------------------------------------------------------------
    # The tempdir property determines what directory to use for temporary
    # files when installing applications.
    # The default is that the JVM decides -- this is java.io.tmpdir
    #-------------------------------------------------------------------------
    com.ibm.ws.scripting.tempdir=/othertmp
  3. Open the UPDI_installdir/UpdateInstaller/update.sh file.
  4. Add new options to the JVM_ARGS variable. For example,
    JVM_ARGS="-Djava.io.tmpdir="/othertmp" -Dtemp.dir="/othertmp""