Verifying Elasticsearch Connection during install

Home / Forums / Installing MintHCM / Verifying Elasticsearch Connection during install

  • Author
    Posts
  • 14/08/2024 at 12:58 #2692

    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?

    • This topic was modified 2 years, 3 months ago by PB_Env.
    Michał Nowacki - Mint Team
    16/08/2024 at 14:03 #2695

    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.

  • You must be logged in to reply to this topic.