elad-bar / Hassio-addons

10 stars 16 forks source link

Uncaught Error: Call to undefined function curl_init() #6

Closed emorosgit closed 3 years ago

emorosgit commented 3 years ago

[13:59:14] INFO: Staring Dahua to MQTT 2020-11-03 12:59:14 < Dahua VTO Event Listener START > PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /app/DahuaVTO.php:106 Stack trace:

0 /app/DahuaVTO.php(91): DahuaVTOAPI->SetDeviceDetails()

1 /app/DahuaVTO.php(179): DahuaVTOAPI->DahuaVTOAPI()

2 /app/DahuaVTO.php(9): DahuaVTOEventListener->DahuaVTOEventListener()

3 {main}

thrown in /app/DahuaVTO.php on line 106 [cmd] /bin/ash exited 255 [cont-finish.d] executing container finish scripts... [cont-finish.d] 99-message.sh: executing...

            Oops! Something went wrong.

We are so sorry, but something went terribly wrong when starting or running this add-on.

Be sure to check the log above, line by line, for hints.

dmitrychepel commented 3 years ago

use https://github.com/dmitrychepel/Hassio-addons (or https://github.com/jbleuzen/Hassio-addons ) until this will be fixed.

elad-bar commented 3 years ago

@dmitrychepel I applied your fix, can you please let me know if it works for you?

thanks

IskenderKarfakis commented 3 years ago

After updating the addon to 1.0.9 I can confirm it works on my Raspberry Pi 4. Thank you very much appreciated.

emorosgit commented 3 years ago

Yes, it works! Thanks!

elad-bar commented 3 years ago

Please update to the latest, should work now, Thanks