cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to apply data patch: elasticsearch6

Unable to apply data patch: elasticsearch6

Unable to apply data patch Magento\CatalogSearch\Setup\Patch\Data\SetInitialSearchWeightForAttributes for module Magento_CatalogSearch. Original exception message: Indexer handler is not available: elasticsearch6

 

What is the best way to get either around this or fix this?

 

Note: I cannot get into my admin, I cannot run the setup: upgrade command as the message above halts the upgrade process. I have access to the config files and the database.

2 REPLIES 2

Re: Unable to apply data patch: elasticsearch6

Hi @SrLucasM 

 

If you are from a docker-compose background!
just change the 'servers' value in app/etc/env.php to:in my case it was elasticsearch:9200` since my docker-compose was like

elasticsearch:
build: images/elasticsearch
ports:
- "9200:9200"
- "9300:9300"0

 

Hope it helps!

 

Thanks

---
If you've found my answer useful, please give"Kudos" and "Accept as Solution".

 

Re: Unable to apply data patch: elasticsearch6

Hello @SrLucasM 

Are you looking for this Pre patched file for Catalog pagination issue on Elasticsearch 6.x patch for Magento 2.3.3

https://github.com/magecomp/Magento-Pre-Patched-Files/tree/master/Catalog%20pagination%20issue%20on%...

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now