I just upgraded my drupal 6.15 website to 6.16 and I found that the 'Available updates' page doesn't work now and when I click 'check manually' it gives me an error message. I upgraded two different websites both having the same problem...

Does anyone know how to fix this?

Thanks!

Comments

VM’s picture

did you run update.php?
did you clear cache tables?

is the exact wording of the error in the title? or is there an error you did not provide here?

iori57’s picture

'Unable to fetch any information about available new releases and updates'

VM’s picture

ah. Thats not necessairily an error. Just a statement.

have you check your error logs?
are you sure you ran update.php and that there were no errors after doing so?
Can you run cron.php?

iori57’s picture

yes each time it records as 'Unable to fetch any information about available new releases and updates' in the error logs.

Yup ran update.php without any errors.

Cron.php is able to run..

VM’s picture

When was the last time you checked this? is it possible the host is stopping outbound connection to drupal.org?

Other than that, I'm out of ideas.

iori57’s picture

last i checked is just before upgrading to 6.16 from 6.15.

at 6.15 it is still working (been working all this while)... it is because it keep bugging me to upgrade to 6.16 in the available updates page that made me upgrade to 6.16 at the first place lol..

VM’s picture

if it's still bugging you to update to 6.16 the update didn't take. Ensure you remove all files and folders except sites folder and try again.

iori57’s picture

it was bugging me when I was still on 6.15.. not bugging me anymore :(

VM’s picture

not sure where else to have you look. It is working correctly on my site. I just did it (checked for updates) an hour or so ago.

I suppose you can try disabling update status, uninstalling it. Then reuploading the 6.16 folder from /modules to ensure what is already uploaded isn't corrupt in some way.

Then renable and test.

iori57’s picture

Thanks dude for staying with me... will try what you suggested and hope for the best :)

varkenshand’s picture

I often have this sort of trouble and then I use this module:
http://drupal.org/project/http_request_fail_reset
When enabled, it resets upon cron.php.

iori57’s picture

didn't work for me :(

VM’s picture

That would make me ask the host to check outbound connections on the server.

iori57’s picture

I just found out that this problem is not caused by 6.16 at all! It is just a coincidence that it happened right after I upgraded it..

Because I have another website still running on 6.15 (same hosting) and the update checking failed too..

Does that mean that my host (JustHost.com) is the problem? What should I tell them to do? Reset my sites?

Thanks!

iori57’s picture

I contacted my webhost and the problem occurs because they decide to block the ip address of updates.drupal.org due to many connections to it. They have now unblocked it and added it to whitelist..

Spent one day trying to figure out the root cause lol.

vegantriathlete’s picture

I have talked to them and they assure me that the IP address 140.211.166.6 is not blocked. Is this the right IP address? This has resolved my issue before.

Is Drupal's server blocking any IP addresses? The server that is having the issue is hosting personalbestlifecoaching.com. I believe the IP address is: 99.198.119.90. That's what cPanel tells me the shared IP address is.

vegantriathlete’s picture

As it turns out, they did have to unblock the IP address somewhere. The tech support told me that they white listed the URL. Seems odd that they don't just get this corrected across their whole setup.

itprints’s picture

Check the variable 'update_fetch_url' in your dataase. My host found that a badly behaving module had set it to something other than http://updates.drupal.org/release-history .

After it was reset, everything worked fine.