Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cloudappliance/patches [2018_02_22 10:18] dancloudappliance: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 .'' 
-    * change the owner 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'' 
-