Update and registration error after upgrade to 3.2+

Update and registration error after upgrade to 3.2+

by Stefan Roder -
Number of replies: 3

Hello everybody!


Coming from moodle 3.11+ and successfully upgraded to 3.2+.

Server: shared host on Strato, PHP 7 enabled, ssl NOT enabled

When trying to search for updates or re-registering the site I receive the following error message:

Update attempt:

Unable to fetch available updates data - unexpected HTTP response code.

More information about this error

Debug info: 503
Error code: err_response_http_code
Stack trace:
  • line 246 of /lib/classes/update/checker.php: core\update\checker_exception thrown
  • line 124 of /lib/classes/update/checker.php: call to core\update\checker->get_response()
  • line 756 of /admin/index.php: call to core\update\checker->fetch()
Re-registration attempt:

Exception - Call to undefined function xmlrpc_encode_request()

More information about this error

Debug info:
Error code: generalexceptionmessage
Stack trace:
  • line 84 of /webservice/xmlrpc/lib.php: Error thrown
  • line 120 of /admin/registration/register.php: call to webservice_xmlrpc_client->call()



The website is running smoothly (using the Boost theme) but I still have some non-core plugins I need to update so they still show as "missing from disk".

Can someone shed some light where this strange behavior comes from?


Best regards and keep on sharing,

Stefan

Average of ratings: -
In reply to Stefan Roder

Re: Update and registration error after upgrade to 3.2+

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Stefan,

I tried a quick search of both of the error codes that you obtained and came across the following discussions which can hopefully help you find a solution:

Please let us know how you get on.

In reply to Helen Foster

Re: Update and registration error after upgrade to 3.2+

by Stefan Roder -

Hi Helen!

Thanks for your response - I will talk to my hosting provider as I believe the problem can only be resolved over there.

Will keep you updated...

Cheers,

Stefan

In reply to Stefan Roder

Re: Update and registration error after upgrade to 3.2+

by Stefan Roder -

Hello everyone,

here's a report of the progress so far:

Updates do work again without any interaction from my side. Don't know whether it is related to some updates I did manually or a server based problem with the moodle resources. The only problem on my side I found was a limited amount of disk space left on my server (below 1gb) but actually I can't imagine that this caused the update process to stop.

The xmlrpc error from the re-registration attempt still appears.

Cheers,

Stefan

Average of ratings: Useful (1)