Question

Almost 1 hour finished, still not complete.

enter image description here

Was it helpful?

Solution

How to apply a composer patch for Magento Commerce and Open Source

Upload the patch to your Magento root directory. Run the following SSH command:

patch -p1 < %patch_name%.composer.patch

(If the above command does not work, try using -p2 instead of -p1) For the changes to be reflected, refresh the cache in the Admin under System > Cache Management.

To apply a custom patch using Composer: https://devdocs.magento.com/guides/v2.4/comp-mgr/patching/composer.html

How to apply a github patch for Magento Commerce and Open Source

If the Magento source code is located in app/code/Magento follow the same steps as above but use the github patch version.

patch -p1 < %patch_name%.github.patch

If you still have problems try running the command with verbose output:

-v            verbose (print errors/warnings while in event loop)
-vv           very verbose (also print client commands/reponses)
-vvv          extremely verbose (also print internal state transitions)
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top