**This is an old revision of the document!**

How To Apply a Patch

  • Copy the patch file PATCHFILE.tgz to the appliance using scp or any other tool - ssh into the appliance as smeconfiguser - su to root su - root - cd to var/www/smestorage/patches cd /var/www/smestorage/patches - move the copied patch file to /var/www/smestorage/patches mv /home/smeconfiguser/PATCHFILE.tgz .
  • chown of the file to smestorage chown smestorage:smestorage PATCHFILE.tgz - su to smestorage su - smestorage - cd to patches cd patches - Apply the patch ./patch -patch PATCHFILE.tgz
  • Run any required Database migrations or schema updates php ../upgrade/dbupgrade.php

If you encounter any issues during these steps, please contact Support.

To Roll Back a Patch

  • su to root su - root
  • su to smestorage su - smestorage
  • cd to patches cd patches
  • Roll back the patch ./patch -rollback