When you running php bin/magento indexer:reindex and found the below error Need to run below commands on magento instance root path. Note : Here I have added default 9200. You can also check in Admin Panel configured Elasticsearch Server Port. Admin Panel -> Catalog -> Catalog -> Catalog Search -> Elasticsearch Server Port. After running above two commands run the…
Category: Others
Magento 2.4.0 – Getting Error Could not validate a connection to Elasticsearch. No alive nodes found in your cluster
Magento Open Source 2.4.0 support for PHP 7.4, Elasticsearch 7.6.x, and MySQL 8.0. So It’s essential to install Elasticsearch. You must install Elasticsearch before installing Magento Commerce or Magento Open Source 2.4.0. See Elasticsearch for details. Run the below command to Install Elasticsearch In locally. Download and install the public signing key : wget -qO – https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key…
When Composer Cannot Allocate Memory
Error : nmap() failed can no allocate memory. When Composer Cannot Allocate Memory Sollution 1 : Increasing the limit in your php.ini file (ex. /etc/php/7.2/apache2/php.ini) Sollution 2 : Now if you still run out of memory you can enable swap. sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024 sudo /sbin/mkswap /var/swap.1 sudo /sbin/swapon /var/swap.1 The first command may take a few seconds…
How to use grunt in Magento 2?
In this tutorial, I will explain how to use grunt in Magento 2. Before starting the installation, Please rename the existing files package.json.sample and Gruntfile.js.sample in your root folder as package.json and Gruntfile.js respectively. Follow the below steps to use grunt in Magento 2 : Step 1 : Install Node.js First, we need to install a stable version of Node.js.…
Chrome Browser Extensions
In this blog, I have listed out the all Important Chrome Browser Extension which are mainly used for debugging and developers tools. Awesome Screenshot: Screen Video Recorder Full Page Screen Capture Loom – Video Recorder: Screen, Webcam and Mic Wappalyzer Screencastify – Screen Video Recorder ChromeiQL Home