Posts made by Visvanath Ratnaweera

Picture of Particularly helpful Moodlers Picture of Translators
About the $CFG->db* settings: The only thing I notice is the 'dbcollation' => 'utf8mb4_czech_ci'. utf8mb4_unicode_ci is advised. But that can not be the cause of sporadic errors. Still worth checking the Administration via command line#Converting character set and collation. Your config.php file looks like a shared hosting. Hope, you have CLI access.
 
5xx errors come from the web server - most of the time. So it is logical that Moodle doesn't log them. You need to search the web server error logs.

About the "resources" I linked: They happen to be called "Before you post.. Read this.."!
Average of ratings: Useful (1)
Picture of Particularly helpful Moodlers Picture of Translators
Does MariaDB run on the same server 'localhost'? It is in config.php. Better post the whole database related part of the config.php after screening any sensitive information.

And this happens sporadically? Can you relate it to some event, like heavy traffic or the times when a backup process runs in the background?

Either way, the information requested in Before you post.. read this.. are always useful.
Average of ratings: Useful (1)
Picture of Particularly helpful Moodlers Picture of Translators
Thanks for the update.
 
Moodle 4.1 LTS itself is not PHP 8.2 compatible, but from Moodle 4.2 onwards. So, one needs to upgrade both together, Moodle code to 4.2 or higher and PHP to 8.2.
 
So the matter SOLVED.