Jump to content
Mikie

Error retrieving modules directory data (ProcessWireUpgradeCheck)

Recommended Posts

Anyone know what would cause this? Is it a failing endpoint somewhere, or a misconfiguration in a local module I am working on.

Only being thrown on one install.

Share this post


Link to post
Share on other sites

I believe the directory itself is the issue, it is "broken" at the moment. Broken because it forwards HTTP to HTTPS and this causes the check to fail, because the non-HTTPS url is hardcoded in the config file.

Edit: So this is happening on all sites since yesterday. I tracked down the issue to the non-SSL service URL in the wire/config.php file.

You can fix it by changing the $config->moduelServiceURL in your site/config.php like this:

$config->moduleServiceURL = 'https://modules.processwire.com/export-json/';

 

  • Like 5

Share this post


Link to post
Share on other sites

Cool thanks guys. Now that I think about it the other install I tested on probably didn't have debug on as it was a live site.

Share this post


Link to post
Share on other sites

This is fixed: in the latest dev version wire/config.php points to the HTTPS URL of the modules directory, and the modules directory also again accepts HTTP connections (which should guarantee backwards compatibility).

  • Like 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...