-
Bug
-
Resolution: Fixed
-
Blocker
-
2.4.1
-
MOODLE_24_STABLE
-
MOODLE_24_STABLE
-
wip-
MDL-37683-m25 -
If you remove your config.php then visit the site, installation starts. Instead of installing the tables it fails part way through complaining of a missing table.
I dropped the existing schema, created a new schema with a slightly different name and renamed config.php. when I visit the site in the browser, as there is no config.php, it puts me through the installation process. However after Ive entered the database details instead of creating the tables it gives me the following.
Table "context" does not exist Debug info:
Error code: ddltablenotexistStack trace: line 538 of /lib/dml/moodle_database.php: dml_exception thrownline 1332 of /lib/dml/moodle_database.php: call to moodle_database->where_clause()line 5910 of /lib/accesslib.php: call to moodle_database->get_record()line 7170 of /lib/accesslib.php: call to context_system::instance()line 657 of /lib/setup.php: call to get_system_context()line 27 of /config.php: call to require_once()line 50 of /admin/index.php: call to require()
Deleting the cache directory from moodle data resolved this. Installation now appears to be working correctly.
- blocks
-
MDL-37500 Caches are currently shareable across sites and versions which can easily lead to ambiguous issues
- Closed
- caused a regression
-
MDL-38387 Caching of the site identifier is not robust enough quite yet.
- Closed
- Discovered while testing
-
MDL-37642 condition_info performance warning displayed after creating course.
- Closed
- has a non-specific relationship to
-
MDL-37545 If a cache is used during the initialisation or updating of the cache config file you get a fatal error
- Closed