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

Recordings persistence after upgrade from v2.4

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0
    • 4.0
    • BigBlueButton
    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • Hide

      For this we can have two test process, one that is more involved and use the migration from BigbluebuttonBN 2.4 to the one embedded in 4.0 and the other one that would just run the adhoc task for a given meeting while recordings are not present on the remote server.

      Full Migration from Moodle 3.11 to Moodle 4.0

      • Install Moodle 3.11 and BigblueButtonBN module (https://github.com/blindsidenetworks/moodle-mod_bigbluebuttonbn/tree/v2.4-stable)
      • Setup a Course C1
      • Create a BigbluebuttonBN Activity B1
      • Join the meeting
      • Record the meeting
      • End and close the meeting
      • Do it a couple of times to create recording
      • After maybe 5 mins, in the BigbluebuttonBN Activity B1 refresh the page and check that recordings are present.
      • Force upgrade to Moodle 4.0 (this means remove the mod/bigbluebuttonbn folder and checkout master branch from Moodle and let the upgrade run)
      • Make sure that cron is disabled (we wil run it manually)
      • In the site Administration / Activity modules / BigBlueButton :
      • Enable the cron and run it.
      • Either wait for more than 5 mins for all the recordings to be refreshed or force the check_pending_recording task:

       php admin/cli/scheduled_task.php --execute='mod_bigbluebuttonbn\task\check_pending_recordings'

      * Go to the  BigbluebuttonBN Activity B1 refresh the page and check that recordings are still present.

      Show
      For this we can have two test process, one that is more involved and use the migration from BigbluebuttonBN 2.4 to the one embedded in 4.0 and the other one that would just run the adhoc task for a given meeting while recordings are not present on the remote server. Full Migration from Moodle 3.11 to Moodle 4.0 Install Moodle 3.11 and BigblueButtonBN module ( https://github.com/blindsidenetworks/moodle-mod_bigbluebuttonbn/tree/v2.4-stable) Setup a Course C1 Create a BigbluebuttonBN Activity B1 Join the meeting Record the meeting End and close the meeting Do it a couple of times to create recording After maybe 5 mins, in the BigbluebuttonBN Activity B1 refresh the page and check that recordings are present. Force upgrade to Moodle 4.0 (this means remove the mod/bigbluebuttonbn folder and checkout master branch from Moodle and let the upgrade run) Make sure that cron is disabled (we wil run it manually) In the site Administration / Activity modules / BigBlueButton : Set the bigbluebuttonbn_server_url to http://test-install.blindsidenetworks.com/bigbluebutton/ Set bigbluebuttonbn_shared_secret to 8cd8ef52e8e101574e400365b55e11a6 Enable the cron and run it. Either wait for more than 5 mins for all the recordings to be refreshed or force the check_pending_recording task: php admin/cli/scheduled_task.php --execute='mod_bigbluebuttonbn\task\check_pending_recordings' * Go to the  BigbluebuttonBN Activity B1 refresh the page and check that recordings are still present.

    Description

      After an upgrade from BBB version 2.4 to Moodle 4.0, previous recordings should still exist on the new version of BBB, but the database records are not reflecting the update. There might be a regression that needs to be corrected.

      To replicate the bug:

      With BBB v2.4 installed

      1. Log in as admin to a Course with a BBB activity
      2. Record a session. The bigbluebuttonbn_log table will look like it does in bbblogs.PNG
      3. Upgrade to Moodle 4.0

      With Moodle 4.0 installed

      1. Check activity page for recordings. After cron runs, the cron log looks like it does in adhoc(2).PNG

      Attachments

        1. adhoc (2).PNG
          adhoc (2).PNG
          74 kB
        2. After  upgrade_Screenshot.PNG
          After upgrade_Screenshot.PNG
          25 kB
        3. bbblogs.PNG
          bbblogs.PNG
          40 kB
        4. Recording_311_Screenshot.PNG
          Recording_311_Screenshot.PNG
          51 kB
        5. recording_proxy.php
          15 kB

        Issue Links

          Activity

            People

              lmdavid Laurent DAVID
              shamiso.jaravaza Shamiso Jaravaza
              Shamiso Jaravaza Shamiso Jaravaza
              Ilya Tregubov Ilya Tregubov
              Gladys Basiana Gladys Basiana
              Jesus Federico, Laurent DAVID
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Apr/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours, 10 minutes
                  6h 10m