Sample transcript of patch installation

This is a sample transcript of executed actions on a patched Magento box:

[[email protected] ~]# ls -la /var/www/vhosts/example.com/httpdocs/
total 1156
drwxr-xr-x 17 miserv psaserv   4096 Jul  8 14:07 .
drwx--x---  6 miserv psaserv   4096 Jun 14 17:37 ..
-rw-rw-r--  1 miserv psacln    2834 Jul  5  2012 api.php
drwxr-xr-x  6 miserv psacln    4096 Jan 25  2014 app
drwxr-xr-x  3 miserv psacln    4096 Jan 26  2014 cgi-bin
-rw-rw-r--  1 miserv psacln    1617 Jul  5  2012 cron.php
-rw-rw-r--  1 miserv psacln     642 Jul  5  2012 cron.sh
drwxr-xr-x  8 miserv psacln    4096 Nov 25  2014 downloader
drwxr-xr-x  3 miserv psacln    4096 Jan 25  2014 errors
-rw-rw-r--  1 miserv psacln    1150 Jul  5  2012 favicon.ico
-rw-r--r--  1 miserv psacln    5979 May 18 19:25 get.php
drwxr-xr-x  2 miserv psacln    4096 Jan 25  2014 includes
-rw-r--r--  1 miserv psacln     301 Sep 11  2012 index.html-bak
-rw-rw-r--  1 miserv psacln    2642 Jul  5  2012 index.php
-rw-rw-r--  1 miserv psacln    2366 Jul  5  2012 index.php.sample
drwxr-xr-x 21 miserv psacln    4096 Apr 21 23:58 js
drwxr-xr-x 12 miserv psacln    4096 Nov 26  2014 lib
-rw-rw-r--  1 miserv psacln   10421 Jul  5  2012 LICENSE_AFL.txt
-rw-rw-r--  1 miserv psacln   10679 Jul  5  2012 LICENSE.html
-rw-rw-r--  1 miserv psacln   10410 Jul  5  2012 LICENSE.txt
-rw-r--r--  1 miserv psacln    2590 Jan 26  2014 .listing
-rw-rw-r--  1 miserv psacln    1319 Jul  5  2012 mage
-rw-r--r--  1 miserv psacln       0 Nov 17  2012 maintenance.flag.OFF
drwxr-xr-x 15 miserv psacln    4096 Feb 16 17:36 media
-rw-rw-r--  1 miserv psacln     751 Jul  5  2012 php.ini.sample
drwxr-xr-x  2 miserv psacln    4096 Jan 25  2014 pkginfo
-rw-rw-r--  1 miserv psacln  584421 Jul  5  2012 RELEASE_NOTES.txt
drwxr-xr-x  2 miserv psacln    4096 Nov 24  2014 shell
drwxr-xr-x  6 miserv psacln    4096 Jan 25  2014 skin
drwxr-xr-x 11 miserv psacln    4096 Apr 20 09:36 var
[[email protected] ~]# chown miserv.psacln /var/www/vhosts/example.com/httpdocs/PATCH_SUPEE-*.sh
[[email protected] ~]# su - miserv
-bash-4.1$ cd /var/www/vhosts/example.com/httpdocs/
-bash-4.1$ pwd
/var/www/vhosts/example.com/httpdocs
-bash-4.1$ ls -la includes/
total 20
drwxr-xr-x  2 miserv psacln  4096 Jan 25  2014 .
drwxr-xr-x 17 miserv psaserv 4096 Jul  8 14:07 ..
-rw-rw-r--  1 miserv psacln  1124 Jul  5  2012 config.php
-rw-rw-r--  1 miserv psacln    31 Jul  5  2012 .htaccess
-rw-r--r--  1 miserv psacln   250 Jan 26  2014 .listing
-bash-4.1$ php -f shell/compiler.php -- state
Compiler Status:          Disabled
Compilation State:        Not Compiled
Collected Files Count:    0
Compiled Scopes Count:    0
-bash-4.1$ md5sum PATCH_SUPEE-*
fd8ae0e8e844594515d8c5adcd941b86  PATCH_SUPEE-1533_EE_1.12.x_v1-2015-02-10-08-19-16.sh
b7a3280f7084be7bdab5586fe4313c7c  PATCH_SUPEE-5345_CE_1.7.0.2_v1-2015-02-10-08-11-22.sh
a6c13389079e1c71ffc4273a42e5086a  PATCH_SUPEE-5994_EE_1.14.1.0_v1-2015-05-14-05-05-02.sh
469c0dd1e082296f204c168ee6da6803  PATCH_SUPEE-6285_CE_1.7.0.2_v1-2015-07-07-09-09-08.sh
-bash-4.1$ mkdir var/backups/pre-patch
-bash-4.1$ tar czf var/backups/pre-patch/pre-supee-1533.tgz app/code/core/Mage/Adminhtml/Block/Dashboard/Graph.php app/code/core/Mage/Adminhtml/controllers/DashboardController.php
-bash-4.1$ tar tzf var/backups/pre-patch/pre-supee-1533.tgz
app/code/core/Mage/Adminhtml/Block/Dashboard/Graph.php
app/code/core/Mage/Adminhtml/controllers/DashboardController.php
-bash-4.1$ bash ./PATCH_SUPEE-1533_EE_1.12.x_v1-2015-02-10-08-19-16.sh 
Error! Some required system tools, that are utilized in this sh script, are not installed:
Tool(s) "patch" is(are) missed, please install it(them).
-bash-4.1$ logout
[[email protected] ~]# cat /etc/redhat-release 
CentOS release 6.4 (Final)
[[email protected] ~]# yum install patch
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.dattobackup.com
 * extras: mirror.vtti.vt.edu
 * updates: mirror.vcu.edu
base                                                                                                                                  | 3.7 kB     00:00     
extras                                                                                                                                | 3.4 kB     00:00     
mt_dv_extras                                                                                                                          |  951 B     00:00     
updates                                                                                                                               | 3.4 kB     00:00     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package patch.x86_64 0:2.6-6.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================
 Package                             Arch                                 Version                                   Repository                          Size
=============================================================================================================================================================
Installing:
 patch                               x86_64                               2.6-6.el6                                 base                                90 k
Transaction Summary
=============================================================================================================================================================
Install       1 Package(s)
Total download size: 90 k
Installed size: 172 k
Is this ok [y/N]: y
Downloading Packages:
patch-2.6-6.el6.x86_64.rpm                                                                                                            |  90 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : patch-2.6-6.el6.x86_64                                                                                                                    1/1 
  Verifying  : patch-2.6-6.el6.x86_64                                                                                                                    1/1 
Installed:
  patch.x86_64 0:2.6-6.el6                                                                                                                                   
Complete!
[[email protected] ~]# su - miserv
-bash-4.1$ cd /var/www/vhosts/example.com/httpdocs/
-bash-4.1$ pwd
/var/www/vhosts/example.com/httpdocs
-bash-4.1$ bash ./PATCH_SUPEE-1533_EE_1.12.x_v1-2015-02-10-08-19-16.sh
Checking if patch can be applied/reverted successfully...
ERROR: Patch can't be applied/reverted successfully.
patching file app/code/core/Mage/Adminhtml/Block/Dashboard/Graph.php
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file app/code/core/Mage/Adminhtml/Block/Dashboard/Graph.php.rej
patching file app/code/core/Mage/Adminhtml/controllers/DashboardController.php
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file app/code/core/Mage/Adminhtml/controllers/DashboardController.php.rej
-bash-4.1$ md5sum app/code/core/Mage/Adminhtml/Block/Dashboard/Graph.php
3c9a7aa02c8ccde6e12703df84992880  app/code/core/Mage/Adminhtml/Block/Dashboard/Graph.php
-bash-4.1$ md5sum app/code/core/Mage/Adminhtml/controllers/DashboardController.php
af2f4c3ad26d122a0f15d6b447a248d5  app/code/core/Mage/Adminhtml/controllers/DashboardController.php
-bash-4.1$ mkdir var/backups/patched-files/supee-1533 -p
-bash-4.1$ diff -U1 var/backups/patched-files/supee-1533/Graph.php app/code/core/Mage/Adminhtml/Block/Dashboard/Graph.php
-bash-4.1$ diff -U1 var/backups/patched-files/supee-1533/DashboardController.php app/code/core/Mage/Adminhtml/controllers/DashboardController.php
-bash-4.1$ tar czf var/backups/pre-patch/supee-5344.tgz app/code/core/Mage/Admin/Model/Observer.php app/code/core/Mage/Core/Controller/Request/Http.php app/code/core/Mage/Oauth/controllers/Adminhtml/Oauth/AuthorizeController.php app/code/core/Mage/XmlConnect/Model/Observer.php lib/Varien/Db/Adapter/Pdo/Mysql.php
-bash-4.1$ tar tzf var/backups/pre-patch/supee-5344.tgz
app/code/core/Mage/Admin/Model/Observer.php
app/code/core/Mage/Core/Controller/Request/Http.php
app/code/core/Mage/Oauth/controllers/Adminhtml/Oauth/AuthorizeController.php
app/code/core/Mage/XmlConnect/Model/Observer.php
lib/Varien/Db/Adapter/Pdo/Mysql.php
-bash-4.1$ bash ./PATCH_SUPEE-5345_CE_1.7.0.2_v1-2015-02-10-08-11-22.sh 
Checking if patch can be applied/reverted successfully...
ERROR: Patch can't be applied/reverted successfully.
patching file app/code/core/Mage/Admin/Model/Observer.php
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file app/code/core/Mage/Admin/Model/Observer.php.rej
patching file app/code/core/Mage/Core/Controller/Request/Http.php
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file app/code/core/Mage/Core/Controller/Request/Http.php.rej
patching file app/code/core/Mage/Oauth/controllers/Adminhtml/Oauth/AuthorizeController.php
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file app/code/core/Mage/Oauth/controllers/Adminhtml/Oauth/AuthorizeController.php.rej
patching file lib/Varien/Db/Adapter/Pdo/Mysql.php
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file lib/Varien/Db/Adapter/Pdo/Mysql.php.rej
-bash-4.1$ mkdir var/backups/patched-files/supee-5344
-bash-4.1$ diff -U1 app/code/core/Mage/Admin/Model/Observer.php var/backups/patched-files/supee-5344/Observer.php 
-bash-4.1$ diff -U1 app/code/core/Mage/Core/Controller/Request/Http.php var/backups/patched-files/supee-5344/Http.php 
-bash-4.1$ diff -U1 app/code/core/Mage/Oauth/controllers/Adminhtml/Oauth/AuthorizeController.php var/backups/patched-files/supee-5344/AuthorizeController.php 
-bash-4.1$ diff -U1 lib/Varien/Db/Adapter/Pdo/Mysql.php var/backups/patched-files/supee-5344/Mysql.php 
-bash-4.1$ tar czf var/backups/pre-patch/supee-5994.tgz app/code/core/Mage/Authorizenet/controllers/Directpost/PaymentController.php app/code/core/Mage/Core/Controller/Varien/Router/Admin.php app/code/core/Mage/Core/Controller/Varien/Router/Standard.php app/code/core/Mage/Customer/Model/Customer.php app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php app/code/core/Mage/Install/Controller/Router/Install.php app/code/core/Mage/Install/etc/config.xml app/code/core/Mage/Sales/controllers/Recurring/ProfileController.php downloader/Maged/Model/Connect.php downloader/Maged/View.php downloader/template/connect/packages_prepare.phtml downloader/template/messages.phtml get.php lib/PEAR/PEAR/PEAR.php lib/PEAR/PEAR/PEAR5.php lib/Varien/Io/File.php
tar: app/code/core/Mage/Install/Controller/Router/Install.php: Cannot stat: No such file or directory
tar: lib/PEAR/PEAR/PEAR5.php: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
-bash-4.1$ tar czf var/backups/pre-patch/supee-5994.tgz app/code/core/Mage/Authorizenet/controllers/Directpost/PaymentController.php app/code/core/Mage/Core/Controller/Varien/Router/Admin.php app/code/core/Mage/Core/Controller/Varien/Router/Standard.php app/code/core/Mage/Customer/Model/Customer.php app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php app/code/core/Mage/Install/etc/config.xml app/code/core/Mage/Sales/controllers/Recurring/ProfileController.php downloader/Maged/Model/Connect.php downloader/Maged/View.php downloader/template/connect/packages_prepare.phtml downloader/template/messages.phtml get.php lib/PEAR/PEAR/PEAR.php  lib/Varien/Io/File.php-bash-4.1$ tar tzf var/backups/pre-patch/supee-5994.tgz
app/code/core/Mage/Authorizenet/controllers/Directpost/PaymentController.php
app/code/core/Mage/Core/Controller/Varien/Router/Admin.php
app/code/core/Mage/Core/Controller/Varien/Router/Standard.php
app/code/core/Mage/Customer/Model/Customer.php
app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php
app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php
app/code/core/Mage/Install/etc/config.xml
app/code/core/Mage/Sales/controllers/Recurring/ProfileController.php
downloader/Maged/Model/Connect.php
downloader/Maged/View.php
downloader/template/connect/packages_prepare.phtml
downloader/template/messages.phtml
get.php
lib/PEAR/PEAR/PEAR.php
lib/Varien/Io/File.php
-bash-4.1$ bash ./PATCH_SUPEE-5994_EE_1.14.1.0_v1-2015-05-14-05-05-02.sh 
Checking if patch can be applied/reverted successfully...
ERROR: Patch can't be applied/reverted successfully.
patching file app/code/core/Mage/Authorizenet/controllers/Directpost/PaymentController.php
patching file app/code/core/Mage/Core/Controller/Varien/Router/Admin.php
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file app/code/core/Mage/Core/Controller/Varien/Router/Admin.php.rej
patching file app/code/core/Mage/Core/Controller/Varien/Router/Standard.php
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file app/code/core/Mage/Core/Controller/Varien/Router/Standard.php.rej
patching file app/code/core/Mage/Customer/Model/Customer.php
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file app/code/core/Mage/Customer/Model/Customer.php.rej
patching file app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php.rej
patching file app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php.rej
patching file app/code/core/Mage/Install/Controller/Router/Install.php
patching file app/code/core/Mage/Install/etc/config.xml
patching file app/code/core/Mage/Sales/controllers/Recurring/ProfileController.php
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file app/code/core/Mage/Sales/controllers/Recurring/ProfileController.php.rej
patching file downloader/Maged/Model/Connect.php
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file downloader/Maged/Model/Connect.php.rej
patching file downloader/Maged/View.php
Hunk #1 succeeded at 184 with fuzz 2 (offset 22 lines).
patching file downloader/template/connect/packages_prepare.phtml
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file downloader/template/connect/packages_prepare.phtml.rej
patching file downloader/template/messages.phtml
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file downloader/template/messages.phtml.rej
patching file get.php
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file get.php.rej
patching file lib/PEAR/PEAR/PEAR.php
patching file lib/PEAR/PEAR/PEAR5.php
patching file lib/Varien/Io/File.php
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file lib/Varien/Io/File.php.rej
-bash-4.1$ ls -la lib/PEAR/PEAR/PEAR5.php
ls: cannot access lib/PEAR/PEAR/PEAR5.php: No such file or directory
-bash-4.1$ diff get.php var/backups/patched-files/supee-5994/
app/        downloader/ get.php     lib/        readme.txt  
-bash-4.1$ diff get.php var/backups/patched-files/supee-5994/get.php 
-bash-4.1$ diff app/code/core/Mage/Core/Controller/Varien/Router/Admin.php var/backups/patched-files/supee-5994/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php
-bash-4.1$ diff app/code/core/Mage/Core/Controller/Varien/Router/Standard.php var/backups/patched-files/supee-5994/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php
-bash-4.1$ diff app/code/core/Mage/Customer/Model/Customer.php var/backups/patched-files/supee-5994/app/code/core/Mage/Customer/Model/Customer.php-bash-4.1$ diff app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php var/backups/patched-files/supee-5994/app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php
-bash-4.1$ diff app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php var/backups/patched-files/supee-5994/app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php
-bash-4.1$ diff app/code/core/Mage/Sales/controllers/Recurring/ProfileController.php var/backups/patched-files/supee-5994/app/code/core/Mage/Sales/controllers/Recurring/ProfileController.php
-bash-4.1$ diff downloader/Maged/Model/Connect.php var/backups/patched-files/supee-5994/downloader/Maged/Model/Connect.php
-bash-4.1$ diff downloader/template/connect/packages_prepare.phtml var/backups/patched-files/supee-5994/downloader/template/connect/packages_prepare.phtml
-bash-4.1$ diff downloader/template/messages.phtml var/backups/patched-files/supee-5994/downloader/template/messages.phtml
-bash-4.1$ diff lib/Varien/Io/File.php var/backups/patched-files/supee-5994/lib/Varien/Io/File.php
-bash-4.1$ tar tzf var/backups/patched-files/supee-5994/orig-files-1.7.0.2-5994.tgz 
app/code/core/Mage/Core/Controller/Varien/Router/Admin.php
app/code/core/Mage/Core/Controller/Varien/Router/Standard.php
app/code/core/Mage/Customer/Model/Customer.php
app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php
app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php
app/code/core/Mage/Sales/controllers/Recurring/ProfileController.php
downloader/Maged/Model/Connect.php
downloader/template/connect/packages_prepare.phtml
downloader/template/messages.phtml
lib/Varien/Io/File.php
-bash-4.1$ tar xzf var/backups/patched-files/supee-5994/orig-files-1.7.0.2-5994.tgz 
-bash-4.1$ bash ./PATCH_SUPEE-5994_EE_1.14.1.0_v1-2015-05-14-05-05-02.sh 
Checking if patch can be applied/reverted successfully...
ERROR: Patch can't be applied/reverted successfully.
patching file app/code/core/Mage/Authorizenet/controllers/Directpost/PaymentController.php
patching file app/code/core/Mage/Core/Controller/Varien/Router/Admin.php
patching file app/code/core/Mage/Core/Controller/Varien/Router/Standard.php
patching file app/code/core/Mage/Customer/Model/Customer.php
Hunk #1 succeeded at 259 (offset -14 lines).
patching file app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php
patching file app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php
patching file app/code/core/Mage/Install/Controller/Router/Install.php
patching file app/code/core/Mage/Install/etc/config.xml
patching file app/code/core/Mage/Sales/controllers/Recurring/ProfileController.php
patching file downloader/Maged/Model/Connect.php
patching file downloader/Maged/View.php
Hunk #1 succeeded at 184 with fuzz 2 (offset 22 lines).
patching file downloader/template/connect/packages_prepare.phtml
patching file downloader/template/messages.phtml
patching file get.php
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file get.php.rej
patching file lib/PEAR/PEAR/PEAR.php
patching file lib/PEAR/PEAR/PEAR5.php
patching file lib/Varien/Io/File.php
-bash-4.1$ diff var/backups/patched-files/supee-5994/get.php ./get.php 
40c40
< ini_set('display_errors', 1);
---
> ini_set('display_errors', 0);
-bash-4.1$ cp var/backups/patched-files/supee-5994/get.php ./get.php 
-bash-4.1$ bash ./PATCH_SUPEE-5994_EE_1.14.1.0_v1-2015-05-14-05-05-02.sh 
Checking if patch can be applied/reverted successfully...
Patch was applied/reverted successfully.
-bash-4.1$ tar czf var/backups/pre-patch/supee-6285.tgz ./app/Mage.php ./app/code/core/Mage/Rss/controllers/OrderController.php ./app/code/core/Mage/Rss/controllers/CatalogController.php ./app/code/core/Mage/Api2/controllers/Adminhtml/Api2/AttributeController.php ./app/code/core/Mage/Core/Block/Abstract.php ./app/code/core/Mage/Core/Controller/Varien/Router/Admin.php ./app/code/core/Mage/Core/Controller/Varien/Router/Standard.php ./app/code/core/Mage/Bundle/controllers/Adminhtml/Bundle/SelectionController.php ./app/code/core/Mage/Checkout/controllers/MultishippingController.php ./app/code/core/Mage/Adminhtml/Controller/Action.php ./app/code/core/Mage/Adminhtml/controllers/Cms/Page/WidgetController.php ./app/code/core/Mage/Adminhtml/controllers/Cms/PageController.php ./app/code/core/Mage/Adminhtml/controllers/Cms/Block/WidgetController.php ./app/code/core/Mage/Adminhtml/controllers/Cms/WysiwygController.php ./app/code/core/Mage/Adminhtml/controllers/Rss/OrderController.php ./app/code/core/Mage/Adminhtml/controllers/Rss/CatalogController.php ./app/code/core/Mage/Adminhtml/controllers/Tax/RateController.php ./app/code/core/Mage/Adminhtml/controllers/ReportController.php ./app/code/core/Mage/Adminhtml/controllers/JsonController.php ./app/code/core/Mage/Adminhtml/controllers/Sales/TransactionsController.php ./app/code/core/Mage/Adminhtml/controllers/Sales/Recurring/ProfileController.php ./app/code/core/Mage/Adminhtml/controllers/Sales/Order/View/GiftmessageController.php ./app/code/core/Mage/Adminhtml/controllers/Sales/Billing/AgreementController.php ./app/code/core/Mage/Adminhtml/controllers/Customer/System/Config/ValidatevatController.php ./app/code/core/Mage/Adminhtml/controllers/Catalog/Category/WidgetController.php ./app/code/core/Mage/Adminhtml/controllers/Catalog/Product/DatafeedsController.php ./app/code/core/Mage/Adminhtml/controllers/Catalog/Product/WidgetController.php ./app/code/core/Mage/Adminhtml/controllers/Catalog/Product/ReviewController.php ./app/code/core/Mage/Adminhtml/controllers/Report/ProductController.php ./app/code/core/Mage/Adminhtml/controllers/Report/CustomerController.php ./app/code/core/Mage/Adminhtml/controllers/Report/TagController.php ./app/code/core/Mage/Adminhtml/controllers/Report/ReviewController.php ./app/code/core/Mage/Adminhtml/controllers/Report/ShopcartController.php ./app/code/core/Mage/Adminhtml/controllers/Report/SalesController.php ./app/code/core/Mage/Adminhtml/controllers/System/Config/System/StorageController.php ./app/code/core/Mage/Adminhtml/controllers/NotificationController.php ./app/code/core/Mage/Adminhtml/controllers/AjaxController.php ./app/code/core/Mage/Adminhtml/controllers/TagController.php ./app/code/core/Mage/Paygate/controllers/Adminhtml/Paygate/Authorizenet/PaymentController.php ./app/code/core/Mage/Oauth/controllers/Adminhtml/Oauth/AuthorizeController.php ./app/code/core/Mage/Sales/controllers/Recurring/ProfileController.php ./app/code/core/Mage/Customer/Model/Customer.php ./app/code/core/Mage/Paypal/controllers/Adminhtml/Paypal/ReportsController.php ./app/code/core/Mage/Captcha/controllers/Adminhtml/RefreshController.php ./app/code/core/Mage/Install/etc/config.xml ./app/code/core/Mage/Install/Controller/Router/Install.php ./app/code/core/Mage/Widget/Block/Adminhtml/Widget/Chooser.php ./app/code/core/Mage/Widget/controllers/Adminhtml/WidgetController.php ./app/code/core/Mage/Connect/controllers/Adminhtml/Extension/LocalController.php ./app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php ./app/code/core/Mage/ImportExport/Model/Abstract.php ./app/code/core/Mage/Authorizenet/controllers/Directpost/PaymentController.php ./app/code/core/Mage/Centinel/controllers/Adminhtml/Centinel/IndexController.php ./app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php ./app/code/community/Phoenix/Moneybookers/controllers/MoneybookersController.php ./app/design/frontend/base/default/template/rss/order/details.phtml ./app/design/frontend/base/default/template/checkout/cart/noItems.phtml ./app/design/frontend/base/default/template/checkout/cart.phtml ./app/design/frontend/base/default/template/checkout/onepage/failure.phtml ./app/design/frontend/base/default/template/wishlist/email/rss.phtml ./app/design/frontend/default/modern/template/checkout/cart.phtml ./lib/PEAR/PEAR/PEAR5.php ./lib/PEAR/PEAR/PEAR.php ./lib/Varien/Io/File.php ./downloader/lib/.htaccess ./downloader/Maged/Model/Connect.php ./downloader/Maged/.htaccess ./downloader/Maged/View.php ./downloader/template/connect/packages_prepare.phtml ./downloader/template/messages.phtml ./errors/processor.php ./get.php
tar: ./downloader/lib/.htaccess: Cannot stat: No such file or directory
tar: ./downloader/Maged/.htaccess: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
-bash-4.1$ tar czf var/backups/pre-patch/supee-6285.tgz ./app/Mage.php ./app/code/core/Mage/Rss/controllers/OrderController.php ./app/code/core/Mage/Rss/controllers/CatalogController.php ./app/code/core/Mage/Api2/controllers/Adminhtml/Api2/AttributeController.php ./app/code/core/Mage/Core/Block/Abstract.php ./app/code/core/Mage/Core/Controller/Varien/Router/Admin.php ./app/code/core/Mage/Core/Controller/Varien/Router/Standard.php ./app/code/core/Mage/Bundle/controllers/Adminhtml/Bundle/SelectionController.php ./app/code/core/Mage/Checkout/controllers/MultishippingController.php ./app/code/core/Mage/Adminhtml/Controller/Action.php ./app/code/core/Mage/Adminhtml/controllers/Cms/Page/WidgetController.php ./app/code/core/Mage/Adminhtml/controllers/Cms/PageController.php ./app/code/core/Mage/Adminhtml/controllers/Cms/Block/WidgetController.php ./app/code/core/Mage/Adminhtml/controllers/Cms/WysiwygController.php ./app/code/core/Mage/Adminhtml/controllers/Rss/OrderController.php ./app/code/core/Mage/Adminhtml/controllers/Rss/CatalogController.php ./app/code/core/Mage/Adminhtml/controllers/Tax/RateController.php ./app/code/core/Mage/Adminhtml/controllers/ReportController.php ./app/code/core/Mage/Adminhtml/controllers/JsonController.php ./app/code/core/Mage/Adminhtml/controllers/Sales/TransactionsController.php ./app/code/core/Mage/Adminhtml/controllers/Sales/Recurring/ProfileController.php ./app/code/core/Mage/Adminhtml/controllers/Sales/Order/View/GiftmessageController.php ./app/code/core/Mage/Adminhtml/controllers/Sales/Billing/AgreementController.php ./app/code/core/Mage/Adminhtml/controllers/Customer/System/Config/ValidatevatController.php ./app/code/core/Mage/Adminhtml/controllers/Catalog/Category/WidgetController.php ./app/code/core/Mage/Adminhtml/controllers/Catalog/Product/DatafeedsController.php ./app/code/core/Mage/Adminhtml/controllers/Catalog/Product/WidgetController.php ./app/code/core/Mage/Adminhtml/controllers/Catalog/Product/ReviewController.php ./app/code/core/Mage/Adminhtml/controllers/Report/ProductController.php ./app/code/core/Mage/Adminhtml/controllers/Report/CustomerController.php ./app/code/core/Mage/Adminhtml/controllers/Report/TagController.php ./app/code/core/Mage/Adminhtml/controllers/Report/ReviewController.php ./app/code/core/Mage/Adminhtml/controllers/Report/ShopcartController.php ./app/code/core/Mage/Adminhtml/controllers/Report/SalesController.php ./app/code/core/Mage/Adminhtml/controllers/System/Config/System/StorageController.php ./app/code/core/Mage/Adminhtml/controllers/NotificationController.php ./app/code/core/Mage/Adminhtml/controllers/AjaxController.php ./app/code/core/Mage/Adminhtml/controllers/TagController.php ./app/code/core/Mage/Paygate/controllers/Adminhtml/Paygate/Authorizenet/PaymentController.php ./app/code/core/Mage/Oauth/controllers/Adminhtml/Oauth/AuthorizeController.php ./app/code/core/Mage/Sales/controllers/Recurring/ProfileController.php ./app/code/core/Mage/Customer/Model/Customer.php ./app/code/core/Mage/Paypal/controllers/Adminhtml/Paypal/ReportsController.php ./app/code/core/Mage/Captcha/controllers/Adminhtml/RefreshController.php ./app/code/core/Mage/Install/etc/config.xml ./app/code/core/Mage/Install/Controller/Router/Install.php ./app/code/core/Mage/Widget/Block/Adminhtml/Widget/Chooser.php ./app/code/core/Mage/Widget/controllers/Adminhtml/WidgetController.php ./app/code/core/Mage/Connect/controllers/Adminhtml/Extension/LocalController.php ./app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php ./app/code/core/Mage/ImportExport/Model/Abstract.php ./app/code/core/Mage/Authorizenet/controllers/Directpost/PaymentController.php ./app/code/core/Mage/Centinel/controllers/Adminhtml/Centinel/IndexController.php ./app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php ./app/code/community/Phoenix/Moneybookers/controllers/MoneybookersController.php ./app/design/frontend/base/default/template/rss/order/details.phtml ./app/design/frontend/base/default/template/checkout/cart/noItems.phtml ./app/design/frontend/base/default/template/checkout/cart.phtml ./app/design/frontend/base/default/template/checkout/onepage/failure.phtml ./app/design/frontend/base/default/template/wishlist/email/rss.phtml ./app/design/frontend/default/modern/template/checkout/cart.phtml ./lib/PEAR/PEAR/PEAR5.php ./lib/PEAR/PEAR/PEAR.php ./lib/Varien/Io/File.php  ./downloader/Maged/Model/Connect.php  ./downloader/Maged/View.php ./downloader/template/connect/packages_prepare.phtml ./downloader/template/messages.phtml ./errors/processor.php ./get.php-bash-4.1$ tar tzf var/backups/pre-patch/supee-6285.tgz
./app/Mage.php
./app/code/core/Mage/Rss/controllers/OrderController.php
./app/code/core/Mage/Rss/controllers/CatalogController.php
./app/code/core/Mage/Api2/controllers/Adminhtml/Api2/AttributeController.php
./app/code/core/Mage/Core/Block/Abstract.php
./app/code/core/Mage/Core/Controller/Varien/Router/Admin.php
./app/code/core/Mage/Core/Controller/Varien/Router/Standard.php
./app/code/core/Mage/Bundle/controllers/Adminhtml/Bundle/SelectionController.php
./app/code/core/Mage/Checkout/controllers/MultishippingController.php
./app/code/core/Mage/Adminhtml/Controller/Action.php
./app/code/core/Mage/Adminhtml/controllers/Cms/Page/WidgetController.php
./app/code/core/Mage/Adminhtml/controllers/Cms/PageController.php
./app/code/core/Mage/Adminhtml/controllers/Cms/Block/WidgetController.php
./app/code/core/Mage/Adminhtml/controllers/Cms/WysiwygController.php
./app/code/core/Mage/Adminhtml/controllers/Rss/OrderController.php
./app/code/core/Mage/Adminhtml/controllers/Rss/CatalogController.php
./app/code/core/Mage/Adminhtml/controllers/Tax/RateController.php
./app/code/core/Mage/Adminhtml/controllers/ReportController.php
./app/code/core/Mage/Adminhtml/controllers/JsonController.php
./app/code/core/Mage/Adminhtml/controllers/Sales/TransactionsController.php
./app/code/core/Mage/Adminhtml/controllers/Sales/Recurring/ProfileController.php
./app/code/core/Mage/Adminhtml/controllers/Sales/Order/View/GiftmessageController.php
./app/code/core/Mage/Adminhtml/controllers/Sales/Billing/AgreementController.php
./app/code/core/Mage/Adminhtml/controllers/Customer/System/Config/ValidatevatController.php
./app/code/core/Mage/Adminhtml/controllers/Catalog/Category/WidgetController.php
./app/code/core/Mage/Adminhtml/controllers/Catalog/Product/DatafeedsController.php
./app/code/core/Mage/Adminhtml/controllers/Catalog/Product/WidgetController.php
./app/code/core/Mage/Adminhtml/controllers/Catalog/Product/ReviewController.php
./app/code/core/Mage/Adminhtml/controllers/Report/ProductController.php
./app/code/core/Mage/Adminhtml/controllers/Report/CustomerController.php
./app/code/core/Mage/Adminhtml/controllers/Report/TagController.php
./app/code/core/Mage/Adminhtml/controllers/Report/ReviewController.php
./app/code/core/Mage/Adminhtml/controllers/Report/ShopcartController.php
./app/code/core/Mage/Adminhtml/controllers/Report/SalesController.php
./app/code/core/Mage/Adminhtml/controllers/System/Config/System/StorageController.php
./app/code/core/Mage/Adminhtml/controllers/NotificationController.php
./app/code/core/Mage/Adminhtml/controllers/AjaxController.php
./app/code/core/Mage/Adminhtml/controllers/TagController.php
./app/code/core/Mage/Paygate/controllers/Adminhtml/Paygate/Authorizenet/PaymentController.php
./app/code/core/Mage/Oauth/controllers/Adminhtml/Oauth/AuthorizeController.php
./app/code/core/Mage/Sales/controllers/Recurring/ProfileController.php
./app/code/core/Mage/Customer/Model/Customer.php
./app/code/core/Mage/Paypal/controllers/Adminhtml/Paypal/ReportsController.php
./app/code/core/Mage/Captcha/controllers/Adminhtml/RefreshController.php
./app/code/core/Mage/Install/etc/config.xml
./app/code/core/Mage/Install/Controller/Router/Install.php
./app/code/core/Mage/Widget/Block/Adminhtml/Widget/Chooser.php
./app/code/core/Mage/Widget/controllers/Adminhtml/WidgetController.php
./app/code/core/Mage/Connect/controllers/Adminhtml/Extension/LocalController.php
./app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php
./app/code/core/Mage/ImportExport/Model/Abstract.php
./app/code/core/Mage/Authorizenet/controllers/Directpost/PaymentController.php
./app/code/core/Mage/Centinel/controllers/Adminhtml/Centinel/IndexController.php
./app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php
./app/code/community/Phoenix/Moneybookers/controllers/MoneybookersController.php
./app/design/frontend/base/default/template/rss/order/details.phtml
./app/design/frontend/base/default/template/checkout/cart/noItems.phtml
./app/design/frontend/base/default/template/checkout/cart.phtml
./app/design/frontend/base/default/template/checkout/onepage/failure.phtml
./app/design/frontend/base/default/template/wishlist/email/rss.phtml
./app/design/frontend/default/modern/template/checkout/cart.phtml
./lib/PEAR/PEAR/PEAR5.php
./lib/PEAR/PEAR/PEAR.php
./lib/Varien/Io/File.php
./downloader/Maged/Model/Connect.php
./downloader/Maged/View.php
./downloader/template/connect/packages_prepare.phtml
./downloader/template/messages.phtml
./errors/processor.php
./get.php
-bash-4.1$ bash ./PATCH_SUPEE-6285_CE_1.7.0.2_v1-2015-07-07-09-09-08.sh 
Checking if patch can be applied/reverted successfully...
Patch was applied/reverted successfully.
-bash-4.1$ logout
[[email protected] ~]# ls -la /var/www/vhosts/
chroot/         default/        example.com/ fs/             fs-passwd/      .skel/          system/         
[[email protected] ~]# ls -la /var/www/vhosts/example.com/httpdocs/var/backups/pre-patch/
total 172
drwxr-xr-x 2 miserv psacln  4096 Jul  8 14:55 .
drwxrwxrwx 4 miserv psacln  4096 Jul  8 14:20 ..
-rw-r--r-- 1 miserv psacln  4793 Jul  8 14:16 pre-supee-1533.tgz
-rw-r--r-- 1 miserv psacln 29568 Jul  8 14:24 supee-5344.tgz
-rw-r--r-- 1 miserv psacln 36021 Jul  8 14:31 supee-5994.tgz
-rw-r--r-- 1 miserv psacln 86713 Jul  8 14:55 supee-6285.tgz
[[email protected] ~]# ls -la /var/www/vhosts/example.com/httpdocs/var/backups/patched-files/
total 20
drwxr-xr-x 5 miserv psacln 4096 Jul  8 14:39 .
drwxrwxrwx 4 miserv psacln 4096 Jul  8 14:20 ..
drwxr-xr-x 2 miserv psacln 4096 Jul  8 14:22 supee-1533
drwxr-xr-x 2 miserv psacln 4096 Jul  8 14:26 supee-5344
drwxrwxr-x 5 root     root   4096 Jul  8 14:51 supee-5994
[[email protected] ~]# chown -R miserv.psacln /var/www/vhosts/example.com/httpdocs/var/backups/patched-files/
[[email protected] ~]# cd /var/www/vhosts/example.com/httpdocs/
[[email protected] httpdocs]# unlink PATCH_SUPEE-1533_EE_1.12.x_v1-2015-02-10-08-19-16.sh
[[email protected] httpdocs]# unlink PATCH_SUPEE-5345_CE_1.7.0.2_v1-2015-02-10-08-11-22.sh
[[email protected] httpdocs]# unlink PATCH_SUPEE-5994_EE_1.14.1.0_v1-2015-05-14-05-05-02.sh
[[email protected] httpdocs]# unlink PATCH_SUPEE-6285_CE_1.7.0.2_v1-2015-07-07-09-09-08.sh
[[email protected] httpdocs]# logout
Connection to 93.184.216.34 closed.