Migrated Magento 2 website has errors

Job ID: 36348570

Budget: £5 – £10 GBP

We recently did a test migration of a client's Magento 2 website to a new server, and while it is working OK in the original live, there are a number of errors on the migrated site.

Going to the homepage produces an error in the system.log

Undefined index: PK_CMS_PAGE in /home/jollyras/public_html/vendor/magento/framework/EntityManager/EntityMetadata.php on line 96

Reading about this, it is recommended to run the following :

rm -rf generated/* && rm -rf var/view_preprocessed/* && rm -rf pub/static/adminhtml/* && rm -rf pub/static/frontend/* && php bin/magento c:f && php bin/magento s:up && php bin/magento s:d:c && php bin/magento s:s:d -f

This produces it's own error

Could not validate a connection to Elasticsearch. No alive nodes found in your cluster

ElasticSearch is installed and working perfectly on this server including with another Magento website

Looking for a Magento expert for an hour or two to help fix these errors. There is likely to be ongoing work for a variety of Magento clients that we host
Related categories: PHP JavaScript Linux MySQL Magento 2