Verifying Elasticsearch Connection during install

Home Forums Installing MintHCM Verifying Elasticsearch Connection during install

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2692
    PB_Env
    Participant

    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 4 months, 1 week ago by PB_Env.
    #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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.