« Wiki Index

How To Apply a Patch

  1. Copy the patch file PATCH_FILE.tgz to the appliance using scp or any other tool

  2. ssh into the appliance as smeconfiguser

  3. su to root su - root

  4. cd to var/www/smestorage/patches cd /var/www/smestorage/patches

  5. move the copied patch file to /var/www/smestorage/patches mv /home/smeconfiguser/PATCH_FILE.tgz .

  6. chown of the file to smestorage chown smestorage:smestorage PATCH_FILE.tgz

  7. su to smestorage su - smestorage

  8. cd to patches cd patches

  9. Apply the patch ./patch -patch PATCH_FILE.tgz

  10. 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

  1. su to root su - root

  2. su to smestorage su - smestorage

  3. cd to patches cd patches

  4. Roll back the patch ./patch -rollback