Failed to get available update data for one project.

I had a problem updating modules in my new Drupal 8 install. This error appeared each time Drupal wanted to do a full update check. It couldn’t even find new version available.

Failed to get available update data.

drupal8error

In Drupal recent log entries I found there was an error with curl and ssl verification:

GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in GuzzleHttp\Handler\CurlFactory::createRejection() (line 187of C:\www\drupal8\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php).

It seems curl doesn’t have valid certificate authorities for SSL Validation. So I downloaded this cacert.pem I put in C:\Windows\ and added a php.ini setting:

Then restart your web server and try again a manual update check in Drupal.

It should be fixed !

drupal8ok

 

 

4 Thoughts on “Failed to get available update data for one project.

  1. Jeroen Lejeune on January 22, 2016 at 02:19 said:

    And people say the second page of google search results is useless ;)

    Thanks man!

  2. Leli Vero on February 4, 2016 at 11:47 said:

    Thanks for the solution, works like a charm!

  3. It’s difficult to find knowledgeable people in this particular topic, but you seem like you know what
    you’re talking about! Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

Post Navigation