So I've been having this issue for the past week now, I've tried to self-diagnose by following instructions online but I can't this to work.
I've even installed a new instance but same issues.
This is what I've followed so far -
php bin/magento indexer:reindex
php bin/magento cache:clean
php bin/magento cache:flush
I've also tried running this -
/opt/alt/php74/usr/bin/php bin/magento indexer:reindex
It got rid of the error message, but then I got a Page Cache error, when I try to flush the cache I'm back to Cron Error.
I've also run logged out each time to make sure but it doesn't help.
I've been trying to get to the bottom of this but can't find a solution. I've come across this link today - Unable to get cronjob working with Magento2.4 it mentions Elasticsearch, I have no idea what it is. I've tried to run the below and it didn't show me anything. I have no idea how to install especially using SSH.
$ curl -XGET '<host>:9200/_cat/health?v&pretty'
I'm just a beginner, the installation guide tells me to install via zip and I'm just so confused. I don't remember Magento installation being this complicated, but the last time I've used it was like Magento ver 1.x
I found the ElasticSearch settings, No alive nodes found in your cluster. So I've tried to run commands found here https://community.magento.com/t5/Magento-2-x-Hosting-Performance/Magento-2-4-0-No-Alive-nodes-in-your-cluster-what-to-do-ON/td-p/456858
but running any 'sudo' commands doesn't work. I've tried to move the directory to where Magento is installed, so 'host/bin/magento', I tried under public_html but nothing works. I just can't progress any further.
Any help is appreciated.
Thanks