The error message is pasted in below. I have been trying to look for stale locks, but I am not sure what I should be looking for. The mdl_lock_db table has 915 entries, I understand, maybe, that's supposed to be empty? If it is safe to close down and delete the contents, I could do that ... I am just not reckless enough to do so before hearing advice ...
Does anyone have any ideas or recommendations?
TIA
Server Time: Wed, 10 Jun 2020 10:52:59 +0200 Execute adhoc task: core_course\task\course_delete_modules ... started 10:52:59. Current memory use 18.8Mb. !!! Kodefeil er oppdaget, det må fikses av en programmerer: A lock was created but not released at: [dirroot]/lib/cronlib.php on line 154 Code should look like: $factory = \core\lock\lock_config::get_lock_factory('type'); $lock = $factory->get_lock(259206106); $lock->release(); // Locks must ALWAYS be released like this. !!!