cancel
Showing results for 
Search instead for 
Did you mean: 

When patch fails, are any files actually changed?

When patch fails, are any files actually changed?

Confused about the messages I get when executing a .sh patch file.

If I see "Patch can't be applied/reverted successfully" at the top, even though it looks like several files are being patched (ie, "Patching file..." messages that appear to be successful), are any files actually changed? Do I need to restore from backup?

 

TIA

1 REPLY 1

Re: When patch fails, are any files actually changed?

The patch routine is supposed to do a dry run, test to see if there are any errors, produce a report that outlines where it's failing and then exit without touching any files.

 

If any one line item in the list fails to patch, the whole patch is supposed to exit, leaving all the files intact and unmodified.

 

Always do a full backup of your Magento application and database before applying the patch as other issues can crop up.

 

People are having issues with the patch applying correctly, but not having the database installers run for creating the tables for variable/block permissions. This is probably happening because they aren't disabling the compiler and Magento cache before installing the patch