Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
cloudappliance/patches [2018_01_30 17:23] – external edit 127.0.0.1cloudappliance:patches [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== How To Apply a Patch ====== 
- 
-  - Copy the patch file PATCH_FILE.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/PATCH_FILE.tgz . 
-  - chown of the file to smestorage chown smestorage:smestorage PATCH_FILE.tgz 
-  - su to smestorage su - smestorage 
-  - cd to patches cd patches 
-  - Apply the patch ./patch -patch PATCH_FILE.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 
-