Recordings are not published after an upgrade

95 views
Skip to first unread message

Mani Ya Ves

unread,
Jan 10, 2023, 6:01:03 PM1/10/23
to BigBlueButton-dev
Hi
To upgrade a server operating system (ubuntu18 to 20) and BBB version to the latest stable version I normally copy the recordings like this:
rsync -rP /mnt/bbb-upgrade/var/bigbluebutton/published/ /var/bigbluebutton/published/
rsync -rP /mnt/bbb-upgrade/var/bigbluebuebutton/unpublished/ /var/bigbluebuebutton/unpublished/ /var/bigbluebuebutton/unpublished/
rsync -rP /mnt/bbb-upgrade/var/bigbluebuebutton/recording/raw/ /var/bigbluebuebutton/recording/raw/

and change the permissions

chown -R bigbluebutton:bigbluebutton /var/bigbluebuebutton/published /var/bigbluebutton/unpublished /var/bigbluebutton/recording/raw

sudo bbb-conf --setip xxxxxx.server.com

This last time, the recordings are seen but not published.
If I make a new recording, it is automatically published.
does not work
--rebuildall
--debug shows nothing
--check does not work either
--republish doesn't work either

any suggestions?
Thanks

sd...@distancelearning.cloud

unread,
Jan 11, 2023, 5:57:38 AM1/11/23
to bigblueb...@googlegroups.com

Is the server name the same on the upgrade server or different?

Try just moving the published, unpublished and not the raw data as not needed.

 

Don’t do a bbb-record –rebuildall as it deletes all your published/unpublished and trys to recreate from raw which is not needed. Can take days to rebuild if you have lots of recordings.

 

With api mate, you can do a getRecordings with no recordID and see what the response is, should see all the recordings returned.  Make sure the metadata.xml has the the correct playback url.

 

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/2d7ea610-fb8f-4271-9b4a-f7279ac3135cn%40googlegroups.com.

Mani Ya Ves

unread,
Jan 11, 2023, 7:20:52 AM1/11/23
to bigblueb...@googlegroups.com
Why this is marked as abuse? It has been marked as abuse.
Report not abuse
Thank you for your answer and help

It is the same server with the same IP
No recording has been published (the test I did, and which was published, has been removed).

when I move recordings, I follow the steps given in the BBB documentation, I've done it many times

Here is an example set of rsync commands that would accomplish this; run these on the new server to copy the files from the old server.

$ rsync -rP root@old-bbb-server:/var/bigbluebutton/published/ /var/bigbluebutton/published/
$ rsync -rP root@old-bbb-server:/var/bigbluebutton/unpublished/ /var/bigbluebutton/unpublished/
$ rsync -rP root@old-bbb-server:/var/bigbluebutton/recording/raw/ /var/bigbluebutton/recording/raw/

I don't understand what to do with the api mate, I have always used only the console, but entering in
https://XXXXXX.com/bigbluebutton/api/getRecordings?meetingID=random-4919624&recordID=random-4919624&checksum=8f9e2a9ccae6fc83a5e9edb86807bad6d60843ba

it solves me

<response>
<returncode>SUCCESS</returncode>
<recordings/>
<messageKey>noRecordings</messageKey>
<message>There are no recordings for the meeting(s).</message>
</response>



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/h0jGo6MrtN0/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/282501d925ab%2480c21a60%2482464f20%24%40distancelearning.cloud.

Mani Ya Ves

unread,
Jan 11, 2023, 8:18:20 AM1/11/23
to bigblueb...@googlegroups.com
Why this is marked as abuse? It has been marked as abuse.
Report not abuse
It is now fixed. I'm putting it here in case someone else has the same problem.
For some strange reason, the bash script was changing the path names in the rsync dump to some empty unnamed directories.

sd...@distancelearning.cloud

unread,
Jan 11, 2023, 8:46:09 AM1/11/23
to bigblueb...@googlegroups.com
Why this is marked as abuse? It has been marked as abuse.
Report not abuse

Great, with api-mate.. you remove the data from meeting, and recording and pass empty it will return all the recordings on the server.

 

FYI    If I look below, you were looking for recordings that matched meetingID=random-4919624&recordID=random-491962. So nothing matched 😉

Blank those fields again, and all will be returned.

 

Regards

Reply all
Reply to author
Forward
0 new messages