cancel
Showing results for 
Search instead for 
Did you mean: 

hi how to reindex in magento 2.0.4, the php-f bin/magento reindexer:reindex is not working in

hi how to reindex in magento 2.0.4, the php-f bin/magento reindexer:reindex is not working in

hi, i have just imported some 1000 products, am unable to do reindexing of the product using CLI,

php -f magento24/bin/magento indexer:reindex

the following error comes up

[InvalidArgumentException]
There are no commands defined in the "indexer" namespace.

 

its a lot of pain to individually go to each product and save them.

 

please help

3 REPLIES

Re: hi how to reindex in magento 2.0.4, the php-f bin/magento reindexer:reindex is not working in

Re: hi how to reindex in magento 2.0.4, the php-f bin/magento reindexer:reindex is not working in

How to fix the «There are no commands defined» failure while executing a console command: https://mage2.pro/t/176

Re: hi how to reindex in magento 2.0.4, the php-f bin/magento reindexer:reindex is not working in

Follow Below Step 

1) Open terminal

2) go Magento root folder 

3) go bin folder like ( cd bin )

4) write a command "sudo php magento reindexer:reindex "