We're running Xenforo on AWS, but are experiencing some issues setting up Enhanced Search that we were hoping someone might be able to help with.
We have three machines running: a web server, a database, and a search machine.
All the ports are open to allow the machines to talk to each other, and the web server can talk to the database and the search machine, but when we try to open the Elasticsearch setup in the ACP, we get the following error:
Does the search machine need to be able to talk to the database? If not, why is it saying MySQL server has gone away?
Any help much appreciated!
We have three machines running: a web server, a database, and a search machine.
All the ports are open to allow the machines to talk to each other, and the web server can talk to the database and the search machine, but when we try to open the Elasticsearch setup in the ACP, we get the following error:
Code:
An exception occurred: Mysqli prepare error: MySQL server has gone away in /var/app/current/library/Zend/Db/Statement/Mysqli.php on line 77
[LIST=1]
[*]Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
[*]Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
[*]Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
[*]Zend_Db_Adapter_Abstract->query() in XenForo/Model.php at line 219
[*]XenForo_Model->fetchAllKeyed() in XenForo/Model/AdminNavigation.php at line 31
[*]XenForo_Model_AdminNavigation->getAdminNavigationEntries() in XenForo/Model/AdminNavigation.php at line 405
[*]XenForo_Model_AdminNavigation->getAdminNavigationForDisplay() in XenForo/Dependencies/Admin.php at line 224
[*]XenForo_Dependencies_Admin->_getNavigationContainerParams() in XenForo/Dependencies/Admin.php at line 202
[*]XenForo_Dependencies_Admin->getEffectiveContainerParams() in XenForo/FrontController.php at line 616
[*]XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
[*]XenForo_FrontController->run() in /var/app/current/admin.php at line 13
[/LIST]
Does the search machine need to be able to talk to the database? If not, why is it saying MySQL server has gone away?
Any help much appreciated!