Learning Dashboard - value is set to 0 from 2 - it doesnt keep the data

180 views
Skip to first unread message

Goodfred

unread,
Jun 13, 2023, 10:26:01 AM6/13/23
to BigBlueButton-Setup
Hello everyone again!

We've recently updated a BBB server from bbb 2.5 / greenlight v2 to bbb 2.6 / greenlight v3

With that, the variable "learningDashboardCleanupDelayInMinutes=0" in "/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties" was set to 2, again.
I've set it to 0 again and now, the learning dashboard doesnt keep forever as it should.

I can't find any useful information how to fix this.
I hope you can help! :D

Thank you!

Regards
Goodfred

Goodfred

unread,
Jun 16, 2023, 5:50:46 AM6/16/23
to BigBlueButton-Setup
Hello everyone!

Does someone have an idea how to fix this?

Thank you!

Regards Goodfred

Goodfred

unread,
Jun 27, 2023, 2:45:28 AM6/27/23
to BigBlueButton-Setup
Hello again!

I still have not found a solution.
Can someone help or has any idea?

Thank you!

Vasyl Ostrovskyi

unread,
Jun 27, 2023, 4:18:08 AM6/27/23
to BigBlueButton-Setup
In /etc/bigbluebutton/bbb-web.properties I have the following line
learningDashboardCleanupDelayInMinutes=259200
and all data are kept in /var/bigbluebutton/learning-dashboard/ as expected for 180 days (which conver the whole semester). Do not have any idea why to keep it longer.
Using BBB v2.6 with GL v2
Regards,
 Vasyl

вівторок, 27 червня 2023 р. о 09:45:28 UTC+3 Goodfred пише:

Goodfred

unread,
Jun 27, 2023, 7:36:13 AM6/27/23
to BigBlueButton-Setup
Hello!

It says, that when the value is 0 (and not 2 or 259200) the data will be kept forever.
In bbb 2.5 it was working.
Now after the update - I can't restore the functionality.

I've set it to 90min for testing and following happened:
When the room-session is closed and the room-session is opened again, the data wont be kept for 90min. (when I open in a new session the learning-dashboard)
In the list is then only an entry for the testuser who is in the session.

But, when I open the learning-dashboard in the session before and I dont close the browser-tab, the entries are still there in the browser tab, when I've opened a new session and did not close the browser tab. (I will try it with 1minute now and then I watch if the tab/link is still valid after 2min)

Maybe the problem is not at the variable/value. Maybe there is another issue?

Goodfred

unread,
Jun 27, 2023, 7:51:15 AM6/27/23
to BigBlueButton-Setup
I've set the value to 1

Then I started a new session with a joined friend
While the session I openend the learnind-dashboard and kept the browser tab
My friend left and I stopped the session
I've opened a new learnin-dashboard tab

After 1 minute, when I refreshed the tabs, he says, the data is not availible anymore.

It seems like he keeps the data in the tabs with the time which is set in "learningDashboardCleanupDelayInMinutes=0"
But the customer said that in 2.5 the data will kept forever, when he opens a new session and opens there the learning-dashboard. 
(then the data from the earlier sessions is still there)

I will ask again.
(because it seems its working correct, when he keeps the data with the link ("browser-tab") in the time which is set in the variable)

Thank you! :)

Goodfred

unread,
Jun 27, 2023, 8:05:43 AM6/27/23
to BigBlueButton-Setup
Now my initial problem is fixed. He is storing the learninganalysis-dashboard forever.

But now my new (hopefully final) question is:
How can I access to the older learning-analysis-dashboard data when I've closed the browser-tab and have not copied the link to the learning-analysis-dashboard?

When I can access the old data, everything should be fine! :D

(I've not seen in Greenlight an option to read out the link or IDs from older room-sessions)

Vasyl Ostrovskyi

unread,
Jun 27, 2023, 10:37:49 AM6/27/23
to BigBlueButton-Setup
To acess your saved data, you need 
1. to have ssh access to your server
2. to know the meetingid
Then ssh to your server,
cd /var/bigbluebutton/learning-dashboard
ls <meetingid>
if the data is stored, you will find a 12-symbol-named directory, this directory name is a secret token to access the data via the address 
https://<bbb.yourserveraddress>/learning-analytics-dashboard/?meeting=<meetingid>&report=<secrettoken>
Also, there is a node module named bigbluebutton-analytics aimed to list and explore all recorded data via web-interface, it wirked with bbb v2.4, not sure about v2.6 
Regards,
 Vasyl
вівторок, 27 червня 2023 р. о 15:05:43 UTC+3 Goodfred пише:

Goodfred

unread,
Jun 29, 2023, 7:23:45 AM6/29/23
to BigBlueButton-Setup
Thank you for your answer!

When I do the ls command with the meeting-ID, he doesnt find anything.

root@bigbluebutton:/var/bigbluebutton/learning-dashboard# ls xxx-xxx-xxx-xxx
ls: cannot access 'xxx-xxx-xxx-xxx': No such file or directory

When I make "ls -al" - I find multiply entries/folders with "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxx"
Inside this folder is another folder named xxxxxxxxxxxx
Inside this, there is: learning_dashboard_data.json

That means - I can't search the meeting ID - and inside the folders there is no meeting ID

Someone has another idea how I can tell the user, how he can open the Learning-Dashboard later?
It seems for me that the only option is that he covers the link to the learning-dashboard.

I've not tried the bigbluebutton-analytics because its a production server.
Searching the meeting ID in /var/bigbluebutton/learning-dashboard works not for me - the folders are not named with the meeting-ID

Again: Thank you for answers! :D

Regards
Goodfred

Vasyl Ostrovskyi

unread,
Jun 30, 2023, 11:42:06 AM6/30/23
to BigBlueButton-Setup
Indeed, there are at least two meeting ids. The first one is greenlight room id of the form xxx-xxx-xxx-xxx, and the second is bigbluebutton internal id of the form xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxx. Here, the fitst part of the internal id is obtained from the greenlight id (xxx-xxx-xxx-xxx) and is the same for all sessions in the room, while the second part is unique for each session (actually, is a unix timestamp), and it is this id you need to access your data.

If the session had been recorded, you can find its internal meeting id in the playback link, if not - I have no idea (maybe selecting by date dirs in   /var/bigbluebutton/learning-dashboard).

Regards,
 Vasyl

четвер, 29 червня 2023 р. о 14:23:45 UTC+3 Goodfred пише:

Goodfred

unread,
Jul 11, 2023, 9:30:15 AM7/11/23
to BigBlueButton-Setup
Hello again! :D 

Thanks for you answer.

At the moment I have to find for
/html5client/join?sessionToken=u4qkxwn8gqwmyxoj
the dashboard and the right token.

I've tried 
/var/bigbluebutton/learning-dashboard# find -name *u4qkxwn8gqwmyxoj*
without success.

I've tried
grep -R u4qkxwn8gqwmyxoj /var/bigbluebutton/learning-dashboard/
without success.

Do you have any ideas or is it impossible? :D

Thank you again! :)

Goodfred

Pablo - BBBPlugin.com

unread,
Jul 11, 2023, 3:40:30 PM7/11/23
to BigBlueButton-Setup
what you need to look for is the meeting id
if the session was recorded the meeting id is shown in the recording url.
then you can use the find command to locate the folder.

the token in your url:  /html5client/join?sessionToken=u4qkxwn8gqwmyxoj
does not correspond to the meeting id. 

Once you locate the corresponding meeting folder in  /var/bigbluebutton/learning-dashboard you will see another folder inside
that one is the secret key to the report so you can form the required url to access it.

Reply all
Reply to author
Forward
0 new messages