Recording not show in moodle 4

994 views
Skip to first unread message

Usman Kazi

unread,
Jul 29, 2022, 3:06:48 PM7/29/22
to bigblueb...@googlegroups.com
Recording not show in moodle 4

Regards 

sd...@distancelearning.cloud

unread,
Jul 29, 2022, 3:11:37 PM7/29/22
to bigblueb...@googlegroups.com

Do a bbb-record –list and see if the meeting has a recording first.

 

If is has the recording you can look at nginx log and see what getRecording call the moodle server made to your BBB server.

 

Regards,

Stephen

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/CANQn8-9Xin8VSNjZwz6kQ0NLJk16dbOSk5T%3D%2BH5rM5mf7m7wjw%40mail.gmail.com.

Usman Kazi

unread,
Jul 29, 2022, 3:29:12 PM7/29/22
to bigblueb...@googlegroups.com
thanks Stephen 

2022/07/29 00:27:08 [crit] 53875#53875: *263 SSL_do_handshake() failed (SSL: error:141CF06C:SSL routines:tls_parse_ctos_key_share:bad key share) while SSL handshaking, client: 192.241.213.115, server: 0.0.0.0:443
2022/07/29 01:33:17 [crit] 53875#53875: *292 SSL_do_handshake() failed (SSL: error:141CF06C:SSL routines:tls_parse_ctos_key_share:bad key share) while SSL handshaking, client: 185.220.101.157, server: 0.0.0.0:443
2022/07/29 04:21:55 [error] 53875#53875: *316 open() "/var/www/bigbluebutton-default/owa/auth/logon.aspx" failed (2: No such file or directory), client: 192.241.215.41, server: vc.talem.pk, request: "GET /owa/auth/logon.aspx?url=https%3a%2f%2f1%2fecp%2f HTTP/1.1", host: "116.202.124.88"
2022/07/29 05:12:16 [error] 53875#53875: *323 open() "/var/www/bigbluebutton-default/actuator/health" failed (2: No such file or directory), client: 192.241.236.71, server: vc.talem.pk, request: "GET /actuator/health HTTP/1.1", host: "116.202.124.88"
2022/07/29 07:04:00 [error] 53875#53875: *329 open() "/var/www/bigbluebutton-default/ab2g" failed (2: No such file or directory), client: 128.199.236.104, server: vc.talem.pk, request: "GET /ab2g HTTP/1.1", host: "116.202.124.88"
2022/07/29 07:04:01 [error] 53875#53875: *330 open() "/var/www/bigbluebutton-default/ab2h" failed (2: No such file or directory), client: 128.199.236.104, server: vc.talem.pk, request: "GET /ab2h HTTP/1.1", host: "116.202.124.88"
2022/07/29 07:04:05 [crit] 53875#53875: *340 SSL_do_handshake() failed (SSL: error:141CF06C:SSL routines:tls_parse_ctos_key_share:bad key share) while SSL handshaking, client: 128.199.236.104, server: 0.0.0.0:443
2022/07/29 08:51:38 [error] 53875#53875: *396 open() "/var/www/bigbluebutton-default/_ignition/execute-solution" failed (2: No such file or directory), client: 52.205.213.156, server: vc.talem.pk, request: "POST /_ignition/execute-solution HTTP/1.1", host: "116.202.124.88:443"
2022/07/29 08:51:40 [error] 53875#53875: *400 open() "/var/www/bigbluebutton-default/script" failed (2: No such file or directory), client: 52.205.213.156, server: vc.talem.pk, request: "GET /script HTTP/1.1", host: "116.202.124.88:443"
2022/07/29 08:51:40 [error] 53875#53875: *401 open() "/var/www/bigbluebutton-default/login" failed (2: No such file or directory), client: 52.205.213.156, server: vc.talem.pk, request: "GET /login HTTP/1.1", host: "116.202.124.88:443"
2022/07/29 08:51:41 [error] 53875#53875: *402 open() "/var/www/bigbluebutton-default/jenkins/login" failed (2: No such file or directory), client: 52.205.213.156, server: vc.talem.pk, request: "GET /jenkins/login HTTP/1.1", host: "116.202.124.88:443"
2022/07/29 08:51:41 [error] 53875#53875: *403 open() "/var/www/bigbluebutton-default/manager/html" failed (2: No such file or directory), client: 52.205.213.156, server: vc.talem.pk, request: "GET /manager/html HTTP/1.1", host: "116.202.124.88:443"
2022/07/29 10:01:01 [crit] 53875#53875: *430 SSL_do_handshake() failed (SSL: error:141CF06C:SSL routines:tls_parse_ctos_key_share:bad key share) while SSL handshaking, client: 118.193.40.46, server: 0.0.0.0:443
2022/07/29 11:09:12 [error] 53875#53875: *443 open() "/var/www/bigbluebutton-default/.git/config" failed (2: No such file or directory), client: 54.226.161.203, server: vc.talem.pk, request: "GET /.git/config HTTP/1.1", host: "vc.talem.pk"
2022/07/29 11:09:14 [error] 53875#53875: *444 open() "/var/www/bigbluebutton-default/.git/config" failed (2: No such file or directory), client: 146.19.168.86, server: vc.talem.pk, request: "GET /.git/config HTTP/1.1", host: "vc.talem.pk"
2022/07/29 11:23:37 [error] 53875#53875: *449 open() "/var/www/bigbluebutton-default/.git/config" failed (2: No such file or directory), client: 20.92.162.44, server: vc.talem.pk, request: "GET /.git/config HTTP/1.1", host: "116.202.124.88"
2022/07/29 14:32:26 [error] 53875#53875: *473 open() "/var/www/bigbluebutton-default/.env" failed (2: No such file or directory), client: 20.14.84.208, server: vc.talem.pk, request: "GET /.env HTTP/1.1", host: "116.202.124.88"
2022/07/29 14:44:49 [error] 53875#53875: *478 open() "/var/www/bigbluebutton-default/owa/auth/logon.aspx" failed (2: No such file or directory), client: 192.241.236.169, server: vc.talem.pk, request: "GET /owa/auth/logon.aspx HTTP/1.1", host: "116.202.124.88"
2022/07/29 14:46:42 [error] 53875#53875: *480 open() "/var/www/bigbluebutton-default/owa/auth/x.js" failed (2: No such file or directory), client: 192.241.237.72, server: vc.talem.pk, request: "GET /owa/auth/x.js HTTP/1.1", host: "116.202.124.88"
2022/07/29 14:52:27 [error] 53875#53875: *481 open() "/var/www/bigbluebutton-default/ecp/Current/exporttool/microsoft.exchange.ediscovery.exporttool.application" failed (2: No such file or directory), client: 192.241.236.76, server: vc.talem.pk, request: "GET /ecp/Current/exporttool/microsoft.exchange.ediscovery.exporttool.application HTTP/1.1", host: "116.202.124.88"
2022/07/29 15:47:30 [error] 53875#53875: *482 open() "/var/www/bigbluebutton-default/version" failed (2: No such file or directory), client: 198.199.93.88, server: vc.talem.pk, request: "GET /version HTTP/1.1", host: "116.202.124.88"
2022/07/29 17:32:14 [error] 53875#53875: *490 open() "/var/www/bigbluebutton-default/.env" failed (2: No such file or directory), client: 20.111.15.48, server: vc.talem.pk, request: "GET /.env HTTP/1.1", host: "116.202.124.88"
2022/07/29 19:39:59 [crit] 53875#53875: *512 SSL_do_handshake() failed (SSL: error:141CF06C:SSL routines:tls_parse_ctos_key_share:bad key share) while SSL handshaking, client: 152.32.234.33, server: 0.0.0.0:443
2022/07/29 20:46:08 [error] 53875#53875: *516 open() "/var/www/bigbluebutton-default/remote/fgt_lang" failed (2: No such file or directory), client: 87.251.64.175, server: vc.talem.pk, request: "GET /remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession HTTP/1.1", host: "116.202.124.88"

this is log we have 

sd...@distancelearning.cloud

unread,
Jul 29, 2022, 3:48:41 PM7/29/22
to bigblueb...@googlegroups.com

Do you get the start/stop recording button as moderator? And can you start the recording?

 

What is returned

 

  1. sudo bbb-record –list

 

  1. What does sudo cat /var/log/nginx/bigbluebutton.access.log  /var/log/nginx/bigbluebutton.access.log.1  | grep “bigbluebutton/api”   return

Usman Kazi

unread,
Jul 29, 2022, 3:59:27 PM7/29/22
to bigblueb...@googlegroups.com
record is there 

image.png

the detailed log is attached 

bbb-rec.txt

sd...@distancelearning.cloud

unread,
Jul 29, 2022, 4:26:09 PM7/29/22
to bigblueb...@googlegroups.com

So there is no getRecording api calls… this tells me moodle is configured when you are logged in not to display.   Maybe your logged in as a student?

 

Log as an admin/teacher and look in the moodle admin settings to make sure recordings are not disabled.

 

Regards,

Stephen

 

 

From: bigblueb...@googlegroups.com <bigblueb...@googlegroups.com> On Behalf Of Usman Kazi
Sent: Friday, July 29, 2022 3:59 PM
To: bigblueb...@googlegroups.com
Subject: Re: [bigbluebutton-dev] Recording not show in moodle 4

 

record is there 

 

image001.png

Usman Kazi

unread,
Jul 29, 2022, 5:13:49 PM7/29/22
to bigblueb...@googlegroups.com
moodle is configured 

image.png

and i login as admin 

Usman Kazi

unread,
Jul 29, 2022, 6:31:38 PM7/29/22
to bigblueb...@googlegroups.com
Hi Stephen

i have reinstall the whole bbb 2.5 with this script 


but issue is remain same no recording is viewing in Moodle

image.png

This is my third installation and having the same issue, kindly look into this. 

Regards 

Usman






sd...@distancelearning.cloud

unread,
Jul 29, 2022, 6:45:14 PM7/29/22
to bigblueb...@googlegroups.com

Its does not to appear to be bbb…. But the moodle 4.0 plugin not even sending the api call to fetch recordings for you to see.

Where is the page in moodle that lists the recordings?  That page should be making the api calls when its loaded.

 

We saw the recording processed on the server.

 

Any 4.0 moodle users out there 😊

 

Regards,

Stephen

 

 

From: bigblueb...@googlegroups.com <bigblueb...@googlegroups.com> On Behalf Of Usman Kazi
Sent: Friday, July 29, 2022 6:31 PM
To: bigblueb...@googlegroups.com
Subject: Re: [bigbluebutton-dev] Recording not show in moodle 4

 

Hi Stephen

 

i have reinstall the whole bbb 2.5 with this script 

 

 

but issue is remain same no recording is viewing in Moodle

 

 

This is my third installation and having the same issue, kindly look into this. 

 

Regards 

 

Usman

 

 

 

 

 

 

On Sat, Jul 30, 2022 at 2:13 AM Usman Kazi <usman...@gmail.com> wrote:

moodle is configured 

 

image001.png
image002.png
image003.png

Usman Kazi

unread,
Jul 31, 2022, 3:09:32 PM7/31/22
to bigblueb...@googlegroups.com
i have change both bigbluebutton 2.4 and old moodle bbb plugin its working well 

Regards 


Jesus Federico

unread,
Aug 2, 2022, 9:27:42 AM8/2/22
to BigBlueButton-dev
Hi guys,

The newest version works differently. There are no more getRecording requests when visiting the page. Instead, the recording data is fetched and stored in a new table mdl_bigbluebuttonbn_recordings.

BUT, that is done using Moodle adhoc jobs. So in order for this to work, you MUST have cronjobs enabled. See https://docs.moodle.org/400/en/Cron Are they enabled in this case?

What happens if you perform the cronjobs manually using CLI command?

Now, keep in mind that if you have many recordings, after the update they may not be showing. Since the fetching will be performed asynchronously, it may take a while for them to appear again. Check the Moodle logs. (wherever you are sending cron logs)

JF

sd...@distancelearning.cloud

unread,
Aug 2, 2022, 12:24:42 PM8/2/22
to bigblueb...@googlegroups.com

Hi Jesus,

 

Thanks for explanation.  Usman this may be your solution.

 

Can the plugin detect that cron is not enabled and warn admin that recordings wont work until its running?

 

Regards,

Stephen

Usman Kazi

unread,
Aug 2, 2022, 3:09:54 PM8/2/22
to bigblueb...@googlegroups.com
thank you for for response, yes cron job is not running, 

Great resolved 



Usman Kazi

unread,
Aug 2, 2022, 3:10:42 PM8/2/22
to bigblueb...@googlegroups.com
Thanks Stephen

you are always helpful 

Warm Regards 

Usman

Martin Thomas Schrott

unread,
Aug 3, 2022, 2:28:12 AM8/3/22
to bigblueb...@googlegroups.com

Hi,


The newest version works differently. There are no more getRecording requests when visiting the page. Instead, the recording data is fetched and stored in a new table mdl_bigbluebuttonbn_recordings.

are the mdl_db entries also removed when they are removed on the target bbb / scalelite host or are they only deleted if one deletes them in moodle?


thanks and


cheers

Martin

Miłosz Kuźma

unread,
Aug 3, 2022, 3:06:50 AM8/3/22
to bigblueb...@googlegroups.com
Hello,
the newest bbb moodle does indeed first check the local bigbluebutton tables, but not the _recordings one but in _logs one. We had the same problem yesterday with recordings not showing.

mod_bigbluebuttonbn does this query to search for recordings (locallib.php line ~2400):
SELECT DISTINCT meetingid, bigbluebuttonbnid FROM mdl_bigbluebuttonbn_logs WHERE (bigbluebuttonbnid=[courseidhere]) AND log = "Create" AND meta LIKE "%record%" AND meta LIKE "%true%";

BUT it does not show recordings recorded prior to the upgrade from previous versions, which were marked in logs not as "Create" but "create-migrated". Can't tell when that "create-migrated" happened but all I did was this:
"update mdl_bigbluebuttonbn_logs set log='Create' where log='create-migrated';" and older recordings appeared again in moodle.

regards,
Miłosz

Jesus Federico

unread,
Aug 3, 2022, 9:35:14 AM8/3/22
to BigBlueButton-dev
The create-migrated state is a flag to mark those that were already processed and migrated to the new table. It is a fail safe in case your migration went wrong you can precisely restore the state to create and they will be processed again.

But mind the patch you did, because you will be importing recordings forever.

JF

Jesus Federico

unread,
Aug 3, 2022, 9:53:31 AM8/3/22
to BigBlueButton-dev
Hi Steve,

>Can the plugin detect that cron is not enabled and warn admin that recordings wont work until its running?


That is a good point. I am going to open an issue in JIRA. We may not see it happening soon, but it will be there :)

JF

Jasmin Klindzic

unread,
Aug 27, 2022, 2:38:58 PM8/27/22
to BigBlueButton-dev
Hi,

while migrating Moodle 3.11+ to Moodle 4.0.3+ that is connected to Scalelite server with over 54.000 recordings, and after all the ad hoc cron jobs have finished, in all BBB activities (over 16.000 of them on Moodle) there were no links to recordings. They are still on Scalelite, so that part is functioning. We have tried solutions provided on BigBlueButton-dev list (https://groups.google.com/g/bigbluebutton-dev/c/FU8oFqhjADE/m/FKlg1R2BBAAJ) but to no avail.

We have less than 36 hours before we have to put that server in production again on Monday morning (8.00 CET), so it is rather urgent for us. Cron has finished all 54.000 ad hoc jobs (so, it's not that), and it has been over 10 hours since that moment.

We can fetch all the recordings through API (tested using apimate).

We have found a possible workaround involving changing filter setting to "state=processing|processed|published|unpublished|deleted" INSTEAD OF "state=any" in bigbluebutton plugin (which is now moodle 4 core) (but that needs to be done manually on Moodle side / SQL / tables).

Any ideas?

Jasmin

Fred Dixon

unread,
Aug 27, 2022, 3:22:10 PM8/27/22
to bigblueb...@googlegroups.com
Hi Jasmin,

Let's see if we can get you working soon.  I reached out to one of Moodle developers on the BigBlueButton plugin to get some more details of what to check.  

A few questions

1.  If you create a new recording in Moodle, does it appear?  

2. Do you have cron always running (sounds like it, but want to be sure).

3.  Can you check the cron job logs for BigBlueButton.  It should show that it's checked the database, found recordings, and queried the BigBlueButton for the state of the recordings.

Specifically, there are two cron tasks.

upgrade_recordings_task - runs when a bigbluebutton plugin upgrade is detected.  Checks the meetingID to see if there are corresponding recordings that need to be queried
check_pending_recordings - deals with querying the BigBlueButton server and updating the database table

There should be an entry for the total number of recordings, and you should see an indication of the total number that has been processed so far, such as "processed N out of 52,000 recordings".

4. Does it show that it has processed all the recordings?

Regards,... Fred




--
BigBlueButton Developer

Like BigBlueButton?  Tweet us at @bigbluebutton

Jasmin Klindzic

unread,
Aug 27, 2022, 4:29:07 PM8/27/22
to bigblueb...@googlegroups.com
Hey,
so, to answer your questions:

1. 7 out of 7 newly recorded BBB have appeared.
2. Yes, cron on Moodle is running every 60 secs.
3. those cron jobs have finished
4. All recordings have been processed.

Also, for new recordings - Scalelite API log has the following:
-----------
I, [2022-08-27T20:19:16.201413 #7]  INFO -- : [0f717da2-8394-4088-a244-30e303b4f95b] Processing by BigBlueButtonApiController#get_meeting_info as XML
I, [2022-08-27T20:19:16.201530 #7]  INFO -- : [0f717da2-8394-4088-a244-30e303b4f95b]   Parameters: {"meetingID"=>"3c087feb43ac1098c7d3a219837896fab9b878a7-3507-28756[0]", "checksum"=>"3b76338895fe50419ded977885760a67285f9e02"}
I, [2022-08-27T20:19:16.202725 #7]  INFO -- : [0f717da2-8394-4088-a244-30e303b4f95b] The requested meeting 3c087feb43ac1098c7d3a219837896fab9b878a7-3507-28756[0] does not exist
I, [2022-08-27T20:19:16.203800 #7]  INFO -- : [0f717da2-8394-4088-a244-30e303b4f95b] Completed 200 OK in 2ms (Views: 0.3ms | Allocations: 300)

-----------
That meeting A) exists, and B) that recording eventually appears on Moodle.

Also, this is also part of Scalelite API log:
-----------
D, [2022-08-27T20:10:02.825345 #7] DEBUG -- : [6d1b3524-9e88-4ce3-bdfc-28792c949a14]   SQL (7.2ms)  SELECT "recordings"."id" AS t0_r0, "recordings"."record_id" AS t0_r1, "recordings"."meeting_id" AS t0_r2, "recordings"."name" AS t0_r3, "recordings"."published" AS t0_r4, "recordings"."participants" AS t0_r5, "recordings"."state" AS t0_r6, "recordings"."starttime" AS t0_r7, "recordings"."endtime" AS t0_r8, "recordings"."deleted_at" AS t0_r9, "recordings"."publish_updated" AS t0_r10, "playback_formats"."id" AS t1_r0, "playback_formats"."recording_id" AS t1_r1, "playback_formats"."format" AS t1_r2, "playback_formats"."url" AS t1_r3, "playback_formats"."length" AS t1_r4, "playback_formats"."processing_time" AS t1_r5, "thumbnails"."id" AS t2_r0, "thumbnails"."playback_format_id" AS t2_r1, "thumbnails"."width" AS t2_r2, "thumbnails"."height" AS t2_r3, "thumbnails"."alt" AS t2_r4, "thumbnails"."url" AS t2_r5, "thumbnails"."sequence" AS t2_r6, "metadata"."id" AS t3_r0, "metadata"."recording_id" AS t3_r1, "metadata"."key" AS t3_r2, "metadata"."value" AS t3_r3 FROM "recordings" LEFT OUTER JOIN "playback_formats" ON "playback_formats"."recording_id" = "recordings"."id" LEFT OUTER JOIN "thumbnails" ON "thumbnails"."playback_format_id" = "playback_formats"."id" LEFT OUTER JOIN "metadata" ON "metadata"."recording_id" = "recordings"."id" WHERE "recordings"."state" IN ($1, $2, $3, $4, $5, $6) AND (record_id LIKE 'c33482526a3450af198f4a83716d6d8dad394718-1661630648002%' ESCAPE '|') ORDER BY "recordings"."starttime" DESC  [["state", "processing"], ["state", "processed"], ["state", "published"], ["state", "unpublished"], ["state", "deleted"], ["state", "any"]]
---------

We are confused why doesn't bigbluebutton plugin / bbb core moodle in moodle 4.0 accept filter "state=any", but we have to manually set "state=processing,processed,published,unpublished,deleted" - because that evidently only works for importing older recordings from moodle 3.11+ to moodle 4.0.3+?

Regards,
Jasmin




You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-dev/FU8oFqhjADE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/CAOeuy5O4hqOvgx31wT%3DwG2RaxjHKUFMZWJWBOETuMYhQE1K_zQ%40mail.gmail.com.

Jasmin Klindzic

unread,
Aug 27, 2022, 4:31:14 PM8/27/22
to bigblueb...@googlegroups.com
Currently our patched / manually changed code in bigbluebutton plugin / core is importing the links to the older recordings (but that will take at least 3 hours at this rate).
We need a permanent solution.

Gerges Bernaba

unread,
Aug 27, 2022, 4:42:11 PM8/27/22
to bigblueb...@googlegroups.com
Hi, 
Recently I can't find the record button on meeting once I creat ?
What should I do to show this button for the users that use my service?

Jasmin Klindzic

unread,
Aug 28, 2022, 11:59:34 AM8/28/22
to BigBlueButton-dev
Hi all,

we found the solution on our own. The culprit was 99% Scalelite, and since we have been running a rather old version (v1.1.7.1), import / conversion of old recording links to Moodle 4.0.3+ version of BigBlueButton plugin / core did not work.

So, if you are using Scalelite, before upgrading Moodle from 3.x.x to 4.x.x., upgrade it to the latest (or at least not ancient) version!

Cheers,
Jasmin

Fred Dixon

unread,
Aug 28, 2022, 1:05:05 PM8/28/22
to bigblueb...@googlegroups.com
Hi Jasmin,

> we found the solution on our own. The culprit was 99% Scalelite, and since we have been running a rather old version (v1.1.7.1), import / conversion of old recording links to Moodle 4.0.3+ version of BigBlueButton plugin / core did not work.
> That issue in Scalelite was fixed in Oct 2021 (see here: https://github.com/blindsidenetworks/scalelite/commit/2a0524c2399ea4e92ae4ed472d2a84a575a782d6).

Thanks for sharing your solution.  This will help others who face a similar problem.

Regards,... fred



Gerges Bernaba

unread,
Sep 3, 2022, 4:45:21 AM9/3/22
to BigBlueButton-dev
Hi All, 
1- how can i enable the record/stop button?
2- and how can i remove this background?  tttt.JPG




thanks 

Fred Dixon

unread,
Sep 3, 2022, 7:35:16 AM9/3/22
to bigblueb...@googlegroups.com
Hi Gerges,

If your questions are not on recordings not showing in Moodle 4, please post them to a new thread.

Regards,... Fred


Gerges Bernaba

unread,
Sep 3, 2022, 7:40:10 AM9/3/22
to bigblueb...@googlegroups.com
Hi Fred l, 
I post it before but I am not received any response yet over than 2 weeks posted and I post it again 

Melvyn Gómez

unread,
Sep 3, 2022, 12:36:10 PM9/3/22
to BigBlueButton-dev
The same error happened to me, i was able to replicate the error in a Sandbox environment, in a Production environment i have the issue that new recordings are not being processed and keep the state 0 (waiting), i changed manually the status to 2 to previous recordings and now they appear in the recordings table inside the resource/course.

What i did to fix (temporary) the new recordings not being processed by the plugin, i made a workaround in the check_pending_recordings task that change the status from 0 to 2 in the table haha, sorry, but it works and it's temporary.

BTW, i reported that in Jira and think is a bug can be replicated in any environment

I'm using Moodle 3.11.9 and the BBB plugin 3.0

Melvyn

Reply all
Reply to author
Forward
0 new messages