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

by Alexander Savich -
Number of replies: 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

Average of ratings: -
In reply to Alexander Savich

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

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators
Alexander - I just replied here and then noticed you have posted to Freshdesk to our support desk!
I will reply to you there.
In reply to Mary Cooch

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

by 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:
In reply to Alexander Savich

HTTP error 500 and redirection issue prevents site registration

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of 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.
In reply to Mary Cooch

Re: HTTP error 500 and redirection issue prevents site registration

by 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
In reply to Alexander Savich

Re: HTTP error 500 and redirection issue prevents site registration

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators
I can't access your site from https://academy.abrys.org/login/
In reply to Mary Cooch

Re: HTTP error 500 and redirection issue prevents site registration

by 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:

   

In reply to Alexander Savich

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

by 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
In reply to Alexander Savich

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

by Eduard Cercós -
Picture of 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?

Average of ratings:Useful (1)
In reply to Eduard Cercós

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

by 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
In reply to Eduard Cercós

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

by Alexander Savich -
But I still have error "Invalid token - token not found" and can't register my site
In reply to Alexander Savich

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

by Eduard Cercós -
Picture of 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