This question already has an answer here:

How to specify exact command for Magento patch file installation, I need to install CE-MAGETWO-67805.patch file it shows some errors.

git apply --apply CE-MAGETWO-67805.patch I use this command to install patch file where to specify magento root folder and how to do that.

git apply public_html/pub --apply CE-MAGETWO-67805.patch this is the command? please help me somebody..

I attach the error imageenter image description here

This error shows at every time try to install and also tried another method

  1. create patch.php upload using FTP in public_html folder

  2. In browser called that file ex: www.example.com/patch.php it shows "done" text only..

I am using magento 2.1.6 then upgrade to magento 2.1.7 it solve image resize issue then try to install patch file using putty. Then I use this command git apply --apply CE-MAGETWO-67805.patch there is nothing to be install please somebody help me..

marked as duplicate by Suresh Chikani, Siarhey Uchukhlebau, sv3n, liyakat, 7ochem Jun 28 '17 at 11:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


As per your screen shot, you are running the command from system root but you need to go to your Magento root folder then you have to run command for applying the patch.

Like: git apply MAGETWO-67805-2017-05-17-03-04-03.patch

Run these commands, it will solve your CSS and JS loading issue.

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
  • magento root folder means i don't know exactly I have app, lib,pub, setup, var, vendor folders please help me.. – Velu Jun 28 '17 at 10:01
  • What is your setup path in system? – Suresh Chikani Jun 28 '17 at 10:02
  • The command like "git apply public_html/pub CE-MAGETWO-67805.patch" this is the command? – Velu Jun 28 '17 at 10:03
  • setup path means public_html/setup – Velu Jun 28 '17 at 10:04
  • run php bin/magento and check output. – Suresh Chikani Jun 28 '17 at 10:06

Not the answer you're looking for? Browse other questions tagged or ask your own question.