3

I am not very comfortable with command line in admin but when I run php bin/magento indexer:reindex in the root directory I am getting

Status: 404 Not Found X-Powered_By: PHP/5.5.33 content-type: text/html

Any suggestion on how to get reindex completed? I am running Magento 2 on a virtual private server with Godaddy and the reindex does not seem to worl through the application.

  • check your file permissions – Maddy Mar 21 '16 at 15:19
  • which file permissions? and what should they be set to? – Hudson Copeland Mar 21 '16 at 17:23
  • This topic explains permissions and ownership. – Steve Johnson Mar 21 '16 at 20:14
7

if you are using windows then run this command in cmd

C:\wamp\bin\php\php5.5.12>php.exe C:\wamp\www\Magento\www\bin\magento indexer:reindex

and if you want to reindex only one indexer then write following command:

C:\wamp\bin\php\php5.5.12>php.exe C:\wamp\www\Magento\www\bin\magento indexer:reindex indexer_name.

where indexer_name can be found by typing following command :

C:\wamp\bin\php\php5.5.12>php.exe C:\wamp\www\Magento\www\bin\magento indexer:info

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.