siteidentifier is NULL

siteidentifier is NULL

by Jeff White -
Number of replies: 0
Following a recommendation from several forum posts about caches being shared from cloned moodle sites, I deleted the siteidentifier from my mdl_config table in my database. Several users have said Moodle will automatically create a new site identifier but that does not seem to be the case. It looks like moodledata/muc/config.php now is calling the ID = NULL after I deleted the DB entry. I have tested this on Moodle 2.8 and Moodle 3.0. 


<?php defined('MOODLE_INTERNAL') || die();

 $configuration = array (

  'siteidentifier' => NULL,

  'stores' =>


Here is what I have done to try to get Moodle to remake the site ID:

  • delete moodledata/muc/config.php
  • logout and log back in
  • purge caches via gui
  • purge caches via command line
  • rerun the cron jobs. 

Does anyone have any suggestions? I could just make up a random site ID but I would rather make Moodle create it. 

Average of ratings: -