cancel
Showing results for 
Search instead for 
Did you mean: 

Shell folder / indexer.php missing

Senior Member

Shell folder / indexer.php missing

Hi,

 

I have just installed Magento 2 to my hosting server for the first time - I'm trying to reindex using through SSH. I've read through a lot of examples of what needs to be done, but I do not have the shell folder or the indexer.php file that is being to referred to.

 

Did I do something wrong when setting up Magento?

 

Thank you

  • community-edition
  • magento2
2 REPLIES
New Contributor

Re: Shell folder / indexer.php missing

you have to go in to root folder 

cd public_html

then run this command: 

php bin/magento indexer:reindex

 

available commands 

indexer:reindex
indexer:info
indexer:set-mode
indexer:show-mode
indexer:status
indexer:reset

Highlighted
Regular Contributor
Magento
E-Commerce

Re: Shell folder / indexer.php missing

In magento 2, There are no shell folder exist. You can run indexing command by SSH,

Go to your root of magento 2 in ssh,

Run command, for indexing,
php bin/magento indexer:reindex

Run command for show status
php bin/magento indexer:status

Run command for reset indexing,
php bin/magento indexer:reset

Check type of indexing,
php bin/magento indexer:info

After indexing successful run cache command
php bin/magento cache:clean


If issue solved, Click kudo/accept as solutions.