0

System : Ubuntu 18 Application : Magento2.3 PHP : 7.1

I have two indexer need to be reindex. I have update the indexer on the admin page but it is not work. I also use the following command on the server :

php bin/magento indexer.reindex

but the system reply "Command indexer.reindex" is not defined"

I have gone to the root directory and the cron is working.

I don't know what the problem is ?

Please help......

0
php bin/magento indexer:reindex

: instead of .

Magento DevDocs

0

My problem has been solved. Let me show what the solution :

I tried different function of bin/magento such as "bin/magento setup" or "bin/magento cache" but it will show "There are no commands defined in the XXXXX namespace" I think it is the all function of bin/magento problem not only indexer. So, I run the following command :

$ php bin/magento list

They can not list the function and notice me some error. I think it is the access right problem so I change the owner to all folder again.

$ chown -R XXXX:www-data

Finally, all function of bin/magento are working.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.