Posts made by Visvanath Ratnaweera

Picture of Particularly helpful Moodlers Picture of Translators
Other than "MySQL Ver 14.14", I believe it is MySQL 5.7.44, everything seems OK.

One line to investigate is whether the hosting people want to reserve yoursite/admin/ URL for themselves.

There is another group of people who blocks the yoursite/admin/ - the CDN providers. If you use any of them, study their settings carefully.

The third possibility is messed up file permissions in the Moodle code directory. The recovery from a crash blinks red lights. Do you know when this has started? Whether it correlates to some incident?
 
The "Cannot find the 404 errordocument" points to a completely different direction. It sounds like the web server configuration went corrupt.
Picture of Particularly helpful Moodlers Picture of Translators
Other that the version of the Moodle core (3.7) we know nothing of your Moodle. The other relevant information are listed in Before you post... read this....
 
In addition, get the full information of your PHP environment as explained in https://docs.moodle.org/en/PHP#Displaying_phpinfo_outside_of_Moodle and look for everything odd.
 
You are sure that the hosting people haven't touched your Moodle all these years? Moodle 3.7 was released 6 years ago! Typically they upgrade software which Moodle depends on, PHP, MySQL, etc., and break Moodle. In your case it doesn't seem to be the case. Did you say, you have a dedicated server? That explains (the hosting is not managed, they don't touch it). Your problem looks like messed up (Unix) file permissions. You said something about renaming ./admin/ to ./admin2/. How do you access the system for such operations? The "tool", I mean, a "panel" (GUI) or Unix shell (CLI)?
Picture of Particularly helpful Moodlers Picture of Translators
Hi Ken and all

I understand MDL-80117 as Moodle, including the recent 5.0, is not PHP 8.4 verified. So to be on the safe side, changed '?' in Moodle 5.0 PHP to 8.3.

Ref. http://www.syndrega.ch/blog/#php-and-dbms-compatibility-of-major-moodle-releases
Average of ratings:Useful (1)
Picture of Particularly helpful Moodlers Picture of Translators
Ken and all

http://www.syndrega.ch/blog/#php-and-dbms-compatibility-of-major-moodle-releases shows a '?' in plate of max. PHP for Moodle 5.0, because I don't have the information. https://moodledev.io/general/development/policies/php#php-84 says, "PHP 8.4 can be used with Moodle 5.0 and later releases." but MDL-80117 "Prepare Moodle for PHP 8.4" says "unresolved".

If somebody has a definite answer, let me know!