I am experiencing the same problem and hope someone will help move on.
I'm sure it's pretty banal, but I've really made an effort and have read many posts, without solving the problem.
I installed Magento via cPanel’s 1-click installation. There are no products shown in the categories although I have tried many things. Presumably this is related to the mentioned challenge !?
When I type the command line, I just get the answer: "bash: sudo: command not found"
@rahul Gupta I'm having the same issue, the command
sudo systemctl restart elasticsearch.service
won't work, it states command not found. Please help!
got the same error but
System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down
sudo systemctl restart elasticsearch command shows above error...
@Rahul Gupta wrote:
@shoppingebc69b if you have enable elastic search on your magento instance, then try to run the below commands and check the result.
sudo systemctl restart elasticsearch php bin/magento indexer:reindex php bin/magento cache:flush