Commands, Errors, Magento2

How to solve cluster_block_exception [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block] in Magento 2?

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…

Continue Reading

Commands, Errors, Magento2, Magento2 Commands

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 – | sudo apt-key…

Continue Reading


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…

Continue Reading