Verifying Elasticsearch Connection during install
- This topic has 1 reply, 2 voices, and was last updated 2 years, 3 months ago by .
- You must be logged in to reply to this topic.
Home / Forums / Installing MintHCM / Verifying Elasticsearch Connection during install
I get the following error when running the installer
Verifying Elasticsearch Connection…
————————————-
PHP Fatal error: Uncaught Error: Call to undefined function MintHCM\MintCLI\Services\curl_init() in /etc/MintHCM-4.0.5.1/legacy/MintCLI/src/Services/ElasticsearchService.php:9
Stack trace:
#0 /etc/MintHCM-4.0.5.1/legacy/MintCLI/src/Commands/Install.php(54): MintHCM\MintCLI\Services\ElasticsearchService->testConnection()
#1 /etc/MintHCM-4.0.5.1/legacy/MintCLI/vendor/symfony/console/Command/Command.php(298): MintHCM\MintCLI\Commands\Install->execute()
#2 /etc/MintHCM-4.0.5.1/legacy/MintCLI/vendor/symfony/console/Application.php(1040): Symfony\Component\Console\Command\Command->run()
#3 /etc/MintHCM-4.0.5.1/legacy/MintCLI/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
#4 /etc/MintHCM-4.0.5.1/legacy/MintCLI/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
#5 /etc/MintHCM-4.0.5.1/MintCLI(12): Symfony\Component\Console\Application->run()
#6 {main}
thrown in /etc/MintHCM-4.0.5.1/legacy/MintCLI/src/Services/ElasticsearchService.php on line 9
Any ideas on the error?
Hello! It seems that the error might be related to cURL. Could you please check if php-curl or phpX-curl is installed on your system? If it is installed, take a look at your php.ini file to ensure that the curl extension is enabled.