Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-76818

core\task\search_index_task fails with BigBlueButton Tag Search

    XMLWordPrintable

Details

    • MOODLE_401_STABLE

    Description

      Hello everyone,

      after upgrading a site from 4.0.5 to 4.1, I'm seeing the core\task\search_index_task fail with the following error:

      Processing area: BigBlueButton - Tagsinformation
      ... used 2662 dbqueries
      ... used 6.4822950363159 seconds
      Scheduled task failed: Indizierung für die globale Suche (core\task\search_index_task),Fehler in der Kodierung gefunden, den nur Programmierer/innen korrigieren können: You must acquire a lock on the course ID before calling inner_build_course_cache
      Backtrace:
      * line 649 of /lib/modinfolib.php: call to course_modinfo::inner_build_course_cache()
      * line 478 of /lib/modinfolib.php: call to course_modinfo::build_course_cache()
      * line 436 of /lib/modinfolib.php: call to course_modinfo->__construct()
      * line 2532 of /lib/modinfolib.php: call to course_modinfo::instance()
      * line 75 of /search/classes/base_mod.php: call to get_fast_modinfo()
      * line 73 of /mod/bigbluebuttonbn/classes/search/tags.php: call to core_search\base_mod->get_cm()
      * line ? of unknownfile: call to mod_bigbluebuttonbn\search\tags->get_document()
      * line 104 of /lib/classes/dml/recordset_walk.php: call to call_user_func()
      * line 73 of /search/classes/skip_future_documents_iterator.php: call to core\dml\recordset_walk->current()
      * line 95 of /search/classes/skip_future_documents_iterator.php: call to core_search\skip_future_documents_iterator->current()
      * line 257 of /search/classes/engine.php: call to core_search\skip_future_documents_iterator->valid()
      * line 1281 of /search/classes/manager.php: call to core_search\engine->add_documents()
      * line 59 of /lib/classes/task/search_index_task.php: call to core_search\manager->index()
      * line 259 of /lib/cronlib.php: call to core\task\search_index_task->execute()
      * line 167 of /admin/cli/scheduled_task.php: call to cron_run_inner_scheduled_task() 

      Seems like BigBlueButton maybe does not like https://github.com/moodle/moodle/commit/ea01fb24273de4011694d91e34f86016d319686e?

      Running PHP 8.0.15. Please let me know if you need any more information.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              steffendeusch Steffen Deusch
              Jesus Federico, Laurent DAVID, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: