Scalelite : Recording not show on Moodle

1,356 views
Skip to first unread message

Dang Van Binh

unread,
Mar 23, 2020, 1:01:46 PM3/23/20
to BigBlueButton-dev
Hi all,

I'm using bigbluebutton with Moodle. After installed Scalelite, I can record the meeting, I see it in the server (/mnt/scalelite-recordings/var/bigbluebutton/published/presentation) and I can play it by entering the meeting's id directly on the url but on the Moodle's side, this recording is not displayed.
Is this problem related to the shared volume of recordings?

Thanks all,
Alex

Ahmad Farhat

unread,
Mar 23, 2020, 1:29:36 PM3/23/20
to BigBlueButton-dev
Yes it would seem like Scalelite does not have access to the recording directory.

To test,
- go to API Mate
- enter your Scalelite url and secret
- Click the red clear input button
- Click the getRecordings link in the lower right hand corner

If your recording appears in the xml response that appears, then the issue would be from Moodles end.

If the recording does not appear, then it would seem that the Scalelite container does not have access to the shared volume
Message has been deleted

Dang Van Binh

unread,
Mar 24, 2020, 5:13:26 AM3/24/20
to BigBlueButton-dev
Hi Ahmed,

I see this error on the bbb-web.log :

2020-03-24T09:06:15.803Z ERROR o.b.api.RecordingService - Exception occured when trying to create /var/bigbluebutton/recording/status/recorded/4eefcfb8bc7251665260a22ef5787aa729920e99-1585040726011.done file.


I set the owner of /var/bigbluebutton on the bigbluebutton server as ubuntu:scalelite-spool
Is my configuration wrong?

Thanks,

Dang Van Binh

unread,
Mar 24, 2020, 7:57:49 AM3/24/20
to BigBlueButton-dev
I fix this error but the problem now is the recording's info are not stored in the database of Scalelite, that's why I don't see the list of recordings on moodle's side (the recording exists on the server and I can play it )

Ahmad Farhat

unread,
Mar 24, 2020, 9:36:01 AM3/24/20
to BigBlueButton-dev

Dang Van Binh

unread,
Mar 24, 2020, 9:39:15 AM3/24/20
to BigBlueButton-dev
Yes, I did it. The database and all tables exist but no record found when recording (I see the record in /var/bigbluebutton/published/presentation)
Where do I find the log when the record is stored in the db of Scalelite?

Regards,
Alex,

Ahmad Farhat

unread,
Mar 24, 2020, 9:50:45 AM3/24/20
to BigBlueButton-dev
It should be in the recording importer:

docker logs scalelite-recording-importer

The recordings are appearing in /var/bigbluebutton/published/presentation on the BigBlueButton server? or the Scalelite server?
Message has been deleted

Dang Van Binh

unread,
Mar 24, 2020, 12:35:23 PM3/24/20
to BigBlueButton-dev

The recording are appearing in :

- Scalelite : /mnt/scalelite-recordings/var/bigbluebutton/published/presentation/

- BBB server : /var/bigbluebutton/published/presentation

How do I know if the scalelite-recording-importer runs correctly ?

Here is the log of scalelite-recording-importer :

docker logs scalelite-recording-importer

I, [2020-03-24T04:33:53.254746 #8]  INFO -- : Monitoring /var/bigbluebutton/spool for new recording files

D, [2020-03-24T04:33:53.255017 #8] DEBUG -- : Checking for existing files…

D, [2020-03-24T04:33:53.255106 #8] DEBUG -- : Starting file monitor…

I, [2020-03-24T04:36:44.048908 #8]  INFO -- : Exiting recording importer on signal: SIGTERM

I, [2020-03-24T04:37:07.213879 #6]  INFO -- : Monitoring /var/bigbluebutton/spool for new recording files

D, [2020-03-24T04:37:07.214164 #6] DEBUG -- : Checking for existing files…

D, [2020-03-24T04:37:07.214272 #6] DEBUG -- : Starting file monitor…

I, [2020-03-24T04:37:16.774020 #6]  INFO -- : Exiting recording importer on signal: SIGTERM

I, [2020-03-24T04:37:26.553840 #6]  INFO -- : Monitoring /var/bigbluebutton/spool for new recording files

D, [2020-03-24T04:37:26.554089 #6] DEBUG -- : Checking for existing files…

D, [2020-03-24T04:37:26.554178 #6] DEBUG -- : Starting file monitor…

I, [2020-03-24T08:56:19.220422 #6]  INFO -- : Exiting recording importer on signal: SIGTERM

I, [2020-03-24T08:56:30.800571 #6]  INFO -- : Monitoring /var/bigbluebutton/spool for new recording files

D, [2020-03-24T08:56:30.800949 #6] DEBUG -- : Checking for existing files…

D, [2020-03-24T08:56:30.801053 #6] DEBUG -- : Starting file monitor…


It's seem that there is no recording in the folder /var/bigbluebutton/spool so that the service don't see any change, right?


Ahmad Farhat

unread,
Mar 24, 2020, 1:43:13 PM3/24/20
to BigBlueButton-dev
The importers only job is to import the recordings into the shared NFS, which appears to be done

The spool is only the working directory so it's fine to be empty.

Just out of curiosity, can you do a "docker exec -it  scalelite-api sh" and the search for that same recording in the "/var/bigbluebutton" directory?

Dang Van Binh

unread,
Mar 24, 2020, 9:59:35 PM3/24/20
to BigBlueButton-dev
Hi Ahmad,

I run "docker exec -it  scalelite-api sh" on Scalelite and check the folder /var/bigbluebutton :
- it's the same as /mnt/scalelite-recordings/var/bigbluebutton on Scaelelite
- it's the same as /var/bigbluebutton on the BBB server

Impossible to know why there is no record in the postgresql of Scalelite

Gökhan Boranalp

unread,
Apr 25, 2020, 11:07:55 AM4/25/20
to BigBlueButton-dev
did you telnet from scalelite server to postgresql server 5432?
it smells like a network issue to me.
also you did create scalelite network for docker isn't it?
Reply all
Reply to author
Forward
0 new messages