I can't re-register my site after update to Moodle 4.5

I can't re-register my site after update to Moodle 4.5

Alexander Savich -
回帖数:14

Hi!
I have problem with re-registration of my site "https://academy.abrys.org/" after update to Moodle 4.5

Form from error message not work

回复Alexander Savich

Re: I can't re-register my site after update to Moodle 4.5

Mary Cooch -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像
Alexander - I just replied here and then noticed you have posted to Freshdesk to our support desk!
I will reply to you there.
回复Mary Cooch

Re: I can't re-register my site after update to Moodle 4.5

Alexander Savich -
Thanks
Now, when I'm trying to register my site I have error:
An error occurred during registration update (Invalid token - token not found)
Screen:
回复Alexander Savich

HTTP error 500 and redirection issue prevents site registration

Mary Cooch -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像
Hi Alexander. I think the first thing to try to fix is why your site is not accessible to me in the UK (and to our servers in Ireland) When I click https://academy.abrys.org/ I get that HTTP error 500. And there is the redirection problem too.
回复Mary Cooch

Re: HTTP error 500 and redirection issue prevents site registration

Alexander Savich -
You can access for my site from this URL https ://academy .abrys. org/login/
But I don't understand why after update I (and you) don't have access to https ://academy .abrys. org/ without logging...
When I don't loggin the redirection from https ://academy .abrys. org to other pages not work
回复Alexander Savich

Re: HTTP error 500 and redirection issue prevents site registration

Mary Cooch -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像
回复Mary Cooch

Re: HTTP error 500 and redirection issue prevents site registration

Alexander Savich -
I don't understand why...
Now I connected from Germany
connection from Germany
 
but to main domain without login:
not logged
 
Diffirent with and without logged on video:

   

回复Alexander Savich

Re: I can't re-register my site after update to Moodle 4.5

Alexander Savich -
Hi!
I have problem with re-registration of my site "academy. abrys. org/" after update to Moodle 4.5
This is the error message:
```
Во время обновления регистрации произошла ошибка (The hub cannot access your site at academy.abrys.org - Unexpected HTTP response code 500. Your Moodle site and the hub need to be able to communicate with each another. If you are unable to register your site please contact us via https: //moodle. com/ contact/?selection=community#form)
```

And, yes, when I loggined - my site avalible and from address "https ://academy .abrys .org" redirect me to "academy .abrys. org/my/", but when I logoff - the address "academy .abrys. org" return error:
```
Страница недоступна
Сайт academy.abrys.org пока не может обработать этот запрос.
HTTP ERROR 500
```

Please help me to reregister my site
回复Alexander Savich

Re: I can't re-register my site after update to Moodle 4.5

Eduard Cercós -
Moodle HQ的头像

Hi, I'm also getting this 500 code error. The site registration can't progress if your site doesn't reply with a non error code. Are you able to check the server logs? This code means "Internal server error" so something should be visible in your log. Other pages show a net::err_http2_protocol_error in chrome too, so something is definitively not correctly configured in your site

Just guessing, if this started after the upgrade, could this error be related to a non compatible plugin? Have you also upgraded other parts of your infrastructure (PHP, web server, etc) that may lead to this kind of protocol errors?

回复Eduard Cercós

Re: I can't re-register my site after update to Moodle 4.5

Alexander Savich -
The problem in this error in plugin qbank_qtoactivity:
Fatal error: Declaration of qbank_qtoactivity\plugin_feature::get_bulk_actions(): array must be compatible with core_question\local\bank\plugin_features_base::get_bulk_actions(?core_question\local\bank\view $qbank = null) in /home/miami/web/academy.abrys.org/public_html/question/bank/qtoactivity/classes/plugin_feature.php on line 37
回复Eduard Cercós

Re: I can't re-register my site after update to Moodle 4.5

Alexander Savich -
But I still have error "Invalid token - token not found" and can't register my site
回复Alexander Savich

Re: I can't re-register my site after update to Moodle 4.5

Eduard Cercós -
Moodle HQ的头像
We can't tell as long the plugin error is there. I would recommend to disable the plugin that is no longer working in your Moodle instance and then try again the registration task. As mentioned before, the registration process will not finish with the current 500 error.

After that If the token error is still there I think it can be fixed by the registration team