Using Moodle 4.1
Cannot delete a user. Browsed for such user, clicked on delete and now the pages is hung up for half an hour. I cannot open Moodle in another tab, since I get a time out error. I can access Moodle from incognito, namely from somewhere where I am not logged in.
Anyone would know, what is the reason of this problem/bug and, how can I fix it?
Is your server behind CloudFlare or some other WAF (web application firewall) like mod_security?
Suggest turning on debugging all the way to developer via config.php file. Take the debugging lines for config-dist.php file a copy them into active config.php file for debugging. That is accomplished completely outside of Moodle Admin UI.
https://docs.moodle.org/404/en/Debugging#In_config.php
If one cannot access the GUI, there is command line. Got ssh into your server?
One could check logs of the server - especially the error logs.
And, one could installed moosh - a command line only utility knife.
It has several tools that might shed some light.
https://moodle.org/plugins/view.php?id=522
https://moosh-online.com/commands/
'SoS', Ken
Thanks a lot Ken for your reply.
In the end, I simply deleted app data and cookies from the explorer, and was able to log back in with no issues. All seems to be good now. But still this would seem to be some pitfall worth looking into. You know, when in production, when users are emailing you, I cared to make sure the system works, rathe than finding out the root cause. But now I will do some forensic work, coming back if I find something meaningful.
In the end, I simply deleted app data and cookies from the explorer, and was able to log back in with no issues. All seems to be good now. But still this would seem to be some pitfall worth looking into. You know, when in production, when users are emailing you, I cared to make sure the system works, rathe than finding out the root cause. But now I will do some forensic work, coming back if I find something meaningful.