I have an installation of Magento 18.104.22.168 and I am lost of how to know what security patches I need to install. I have not installed any since I first installed this installation. I checked the directory app/etc and no file for installed patches is there.
Magento depends on a manual system to do this stuff. To find out what patches apply to Magento 22.214.171.124, you need to go to the Magento Download page, click the Release Archive tab and scroll down till you get to the Ver 1.9.x bar.
Each version has a listing in ascending order of the patches included as follows:
ver 126.96.36.199 - Added Feb 23, 2016 Includes patches: SUPEE-5344, SUPEE-5994, SUPEE-6237, SUPEE-6285, SUPEE-6482, SUPEE-6788, SUPEE-7616, SUPEE-7405, SUPEE-7405 v1.1 ver 188.8.131.52 - Added Jan 20, 2016 Includes patches: SUPEE-5344, SUPEE-5994, SUPEE-6237, SUPEE-6285, SUPEE-6482, SUPEE-6788, SUPEE-7616, SUPEE-7405 ver 184.108.40.206 - Added Oct 27, 2015 Includes patches: SUPEE-5344, SUPEE-5994, SUPEE-6237, SUPEE-6285, SUPEE-6482, SUPEE-6788 ver 220.127.116.11 - Added Aug 4, 2015 Includes patches: SUPEE-5344, SUPEE-5994, SUPEE-6237, SUPEE-6285, SUPEE-6482 ver 18.104.22.168 - Added Jul 7, 2015 Includes patches: SUPEE-5344, SUPEE-5994, SUPEE-6285 ver 22.214.171.124 - Added May 1, 2015 Includes patch for the SUPEE-5344 issue
Everything before this was the by gosh and by golly mode where you have to look up all the applicable items in the version dropdown and pray you got them all.
Scroll back up the page to each item you will need:
SUPEE-7616 SUPEE-7405 SUPEE-7405 v1.1
Find the one appropriate to your version (126.96.36.199) and download them.
You can check for available patches using the command line as explained at https://gist.github.com/piotrekkaminski/9bc45ec84028611d621e
- First you need to generate download token. Login to your account on magento.com and generate it in Account Settings->Downloads Access Token
- You will need your MAGEID as well. It is shown at the top-left in your account page.
- curl -k https://MAGEID:TOKEN@www.magentocommerce.com/products/downloads/info/help
To check which patches are required for Magento 188.8.131.52, run
curl -k https://$MAGEID:$MAGETOKEN@www.magentocommerce.com/products/downloads/info/filter/version/184.108.40.206
with $MAGEID and $MAGETOKEN being your id and token from above. To download a file from the list, run
curl -O https://$MAGEID:$MAGETOKEN@www.magentocommerce.com/products/downloads/file/$FILENAME
with $FILENAME being the patch file name.