I'm currently attempting to install some security patches on a Magento 2.3.6 instance.
I'm using the files from the following page:
I've downloaded the patch files into the root directory and logged into Putty, but when I run the patch command
patch -p2 < MDVA-43443_EE_2.4.2-p2_v1.patch
I keep getting the following messages
httpdocs$ patch -p2 < MDVA-43443_EE_2.4.2-p2_v1.patch can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/app/code/Magento/Email/Model/Template/Filter.php b/app/code/Magento/Email/Model/Template/Filter.php |index 88b204307f2..52b1018e1af 100644 |--- a/app/code/Magento/Email/Model/Template/Filter.php |+++ b/app/code/Magento/Email/Model/Template/Filter.php -------------------------- File to patch: Skip this patch? [y] y Skipping patch. 13 out of 13 hunks ignored can't find file to patch at input line 222 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/lib/internal/Magento/Framework/Filter/DirectiveProcessor/DependDirective.php b/lib/internal/Magento/Framework/Filter/DirectiveProcessor/DependDirective.php |index f557f7465b5..83345acd6e5 100644 |--- a/lib/internal/Magento/Framework/Filter/DirectiveProcessor/DependDirective.php |+++ b/lib/internal/Magento/Framework/Filter/DirectiveProcessor/DependDirective.php -------------------------- File to patch: Skip this patch? [y] y Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 259 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/lib/internal/Magento/Framework/Filter/DirectiveProcessor/ForDirective.php b/lib/internal/Magento/Framework/Filter/DirectiveProcessor/ForDirective.php |index 2b51185b1b5..41cd58118fd 100644 |--- a/lib/internal/Magento/Framework/Filter/DirectiveProcessor/ForDirective.php |+++ b/lib/internal/Magento/Framework/Filter/DirectiveProcessor/ForDirective.php -------------------------- File to patch: Skip this patch? [y] y Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 297 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/lib/internal/Magento/Framework/Filter/DirectiveProcessor/IfDirective.php b/lib/internal/Magento/Framework/Filter/DirectiveProcessor/IfDirective.php |index 7fedc7946f2..469dae71d06 100644 |--- a/lib/internal/Magento/Framework/Filter/DirectiveProcessor/IfDirective.php |+++ b/lib/internal/Magento/Framework/Filter/DirectiveProcessor/IfDirective.php -------------------------- File to patch: Skip this patch? [y] y Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 334 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/lib/internal/Magento/Framework/Filter/DirectiveProcessor/SimpleDirective.php b/lib/internal/Magento/Framework/Filter/DirectiveProcessor/SimpleDirective.php |index 9f4b30d0c96..b9280aec283 100644 |--- a/lib/internal/Magento/Framework/Filter/DirectiveProcessor/SimpleDirective.php |+++ b/lib/internal/Magento/Framework/Filter/DirectiveProcessor/SimpleDirective.php -------------------------- File to patch: Skip this patch? [y] y Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 356 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/lib/internal/Magento/Framework/Filter/DirectiveProcessor/VarDirective.php b/lib/internal/Magento/Framework/Filter/DirectiveProcessor/VarDirective.php |index 78034d70ba5..a7d6790acc7 100644 |--- a/lib/internal/Magento/Framework/Filter/DirectiveProcessor/VarDirective.php |+++ b/lib/internal/Magento/Framework/Filter/DirectiveProcessor/VarDirective.php -------------------------- File to patch: Skip this patch? [y] y Skipping patch. 1 out of 1 hunk ignored
Can anyone tell me what I'm doing wrong here please?
Getting the exact same error with MDVA-43395_EE_2.4.3-p1_v1.patch
Trying to patch 2.4.3 Open Source...
Anyone knows what the problem is?