Each time I visit the Available updates report, all the modules are grayed out and report "No available releases found." I have to click the "check manually" link each time in order to get an update status.
However, even the update status check is inaccurate. On some checks, the reports states that "Failed to get available update data for x no. of projects." The number of failed projects varies each time the report is checked manually.
This behavior also occurs during Drush pm-update, which I assume is using Drupal's internal update tables. It takes several rounds of refreshing the update page before all module information is found.
| Comment | File | Size | Author |
|---|---|---|---|
| update_module_error.jpg | 100.01 KB | zoon_unit |
Comments
Comment #1
Andrew Schulman commentedI also have this problem. Thanks for reporting, zoon_unit.
Comment #2
Andrew Schulman commentedClarification: I have the 2nd problem:
and I also see the same behavior in drush. But I don't have the first problem: at Available updates, some of the update statuses are populated when I first go there.
Comment #3
kiphaas7 commentedsub, and bugs need to be reported against 7.x-dev ;).
Comment #4
webchickI think this is a duplicate of #952394: "No available releases found" - fetching update information exceeds timeout.
Comment #5
Andrew Schulman commentedYes, seems to be.
Comment #6
zoon_unit commentedYes, this is definitely a duplicate. After reading the following information, I was able to workaround the problem:
It appears that the update_max_fetch_time of 5 seconds is FAR TOO OPTIMISTIC and that the update process times out before the batch can conclude. Using the above drush command fixes the problem permanently and allows update to work as intended both through the UI and through "drush up."
Of course, each Drupal site would need to have this drush command run against the database.
The obvious quick, easy, and permanent solution to this problem is to increase the update_max_fetch_time to 30 seconds in Drupal 7.5.
Bug fixed. :-)
Comment #7
gagoo commentedHello,
I have the same issue on several Drupal 7.7 sites and #6 didn't solve it.
I think that it is an hosting issue because if I change my hosting to a local Xamp, the issue doesn't occur anymore.
I don't think that my hoster block the outbound traffic because the manual update status checking works randomly for 4 or 5 modules each time it is run (and don't work for all other activated modules).
So what hosting setting can affect the update status checking process ?
Thank you
Comment #8
Andrew Schulman commentedgagoo, this issue is closed because it's a duplicate of #952394: "No available releases found" - fetching update information exceeds timeout. You should post your question there to have a better chance of getting it answered.
Comment #9
gagoo commentedThank you Andrew.
Comment #10
belalh commentedAfter a lot of research, I stumbled upon this article by Marius Cârneală.
https://www.mariusc.name/content/no-available-releases-found-drupal-erro...
His SQL command worked for me: truncate cache_update
You can also run it using drush: drush sqlq truncate cache_update