cancel
Showing results for 
Search instead for 
Did you mean: 

Magento root

Magento root

I can't find the root, i have a folder named bin with an archive named magento inside, im not sure if thats it. I'm trying to resolve this error: One or more indexers are invalid. Make sure your Magento cron job is running.

I tried a few things, but everything keeps showing this:

Could not open input file: bin/magento

One of the things i tried was: php bin/magento indexer:reindex

8 REPLIES 8

Re: Magento root

Hi @beatriz_dias,

It seems that bin/magento file doesn't have the right permissions. Please give permission and try again.

chmod u+x bin/magento
or

sudo chmod -R 0777 bin/magento

I hope it will help you!

Re: Magento root

Hello @beatriz_dias 

 

If you are getting error like can not open file then there are two cases

1. you are not running command in Magento root, so always run commands from root folder where you can see bin folder.

2. If you already in root folder then first give execute permission to bin/magento so it can run commands:

Try beolw shared commands so it can help:

chmod u+x bin/magento
or
sudo chmod -R 0777 bin/magento

Manish Mittal
https://www.manishmittal.com/

Re: Magento root

Hi @beatriz_dias 

 

To be ensured that you are on magento root, type "ls" and hit enter key. If all the magento root directories are listed like app, bin, dev, generated etc. Then you are on right track.


Even after if you can't hit php bin/magento then it may be permissions issue as manish has described.

 

If you are bin directory you just need to hit below command.
php magento indexer:reindex

If my answer is helpful, please Accept as Solution & give Kudos

Re: Magento root

Based on the information provided, I need help locating the root cause of the issue you're facing with your Magento installation. To resolve the error message regarding invalid indexers, it's essential to verify your Magento cron job's status and ensure it's running correctly. If you require assistance with troubleshooting or need expert guidance, consider seeking law dissertation help from Magento specialists or online forums dedicated to Magento support. They can provide more detailed and tailored assistance to address your specific problem.

Re: Magento root

The Chicago Youth Hockey Forum is an online platform dedicated to fostering discussions and information-sharing among youth hockey enthusiasts in the Chicago area. This forum serves as a hub for parents, coaches, players, and fans to exchange insights, seek advice, and stay updated on local youth hockey events, teams, and opportunities. It promotes community engagement and supports the growth of youth hockey in the Chicago region.

Re: Magento root

"I admire https://klwap.com.in/ dedication to providing a seamless movie downloading experience."

Re: Magento root

"I appreciate the option to stream movies directly on https://sdmoviespoint.com.in/ ."

Re: Magento root

It seems like you're dealing with a technical issue related to Magento and a folder named "bin." However, to address the error, it's crucial to locate the root directory of your Magento installation. The "bin" folder might be part of it, but ensure you're in the main Magento directory. As for your request to include the phrase buy an essay UK, it's unclear how it relates to the technical matter. If you have any specific instructions or context, please provide more details for accurate assistance.