Update from 2.4.4 to 2.5 without new fresh Ubuntu 20.04

210 views
Skip to first unread message

Goodfred

unread,
Jan 19, 2023, 10:56:15 AM1/19/23
to BigBlueButton-Setup
Hello evereyone!

On https://docs.bigbluebutton.org/2.5/install.html its said, that its recommended to set up a new Ubuntu 20.04 server for an upgrade from version 2.4.

Now my question: Is it possible to upgrade BBB 2.4.4 to 2.5 without a fresh installation of Ubuntu 20.04?
Can we upgrade 2.4.4 on the Ubuntu 18.04 machine to 2.5?

When yes - can you tell me whats the way?

Thank you! :)

Goodfred!

Jean Pluzo

unread,
Jan 20, 2023, 5:36:41 AM1/20/23
to BigBlueButton-Setup
Hi goodfred,

you can try, but you'll have a really hard time achieving that.
AFAIK there's nothing built in the bbb-install-2.5 script that allows you to upgrade from 2.4 to 2.5.
Just install a new Ubuntu 20.04 OS and do a fresh install. It's the best way.

Regards,
J.

Vasyl Ostrovskyi

unread,
Jan 20, 2023, 6:17:35 AM1/20/23
to BigBlueButton-Setup
Theoretically, yes, but may be painful. I did it when moving from 2.3 on 16.4 to 2.4 on  18.04. You must be very comfortable with ubuntu administrating and be brave enouth.
Do this only if you have no option for fresh install, or if you just like challenges.

Steps to do:
1. backup the whole /var/bigbluebutton, greenlight install directory, and all bbb/freeswitch/kurento configs. Dump and backup greenlight postgres database.

Now, you need to keep the greenlight installation files (in the greenlight directory), keep the /var/bigbluebutton directory, and get rid of all other files and packages installed by bbb.
2. remove all packages installed with bbb listed by dpkg -l |grep bigbluebutton;dpkg -l |grep bbb; dpkg -l |grep kms;
3. remove libreoffice and java docker images. It seems that greenlight/postgres images can be kept.
4. remove all apt repositories in /etc/apt installed by bbb
5. upgrade your system with do-release-upgrade
6. cross your fingers, and install new bbb as documented
7. apply your custom configs saved in backups
8. If you are lucky, you are done with new bbb. All you rooms, users and recordings are there.
9 if something went wrong, double-check for old packages and files which do not belong to ubuntu 20.4, remove them, and reinstall bbb
10. if nothing helps, make clean install of Ubuntu 20.04, clean install of bbb, and restore your data from backups.

Once again, do it only if you know what to do in the disaster case. Good luck!
Regards,
 Vasyl
четвер, 19 січня 2023 р. о 17:56:15 UTC+2 Goodfred пише:

Fred Dixon

unread,
Jan 20, 2023, 6:25:31 AM1/20/23
to bigbluebu...@googlegroups.com
Hi Vasly,

Thanks for sharing this.  Upgrading from 2.4 to 2.5 in place is not recommended as the install scripts assume a clean Ubuntu 20.04 server.  I would recommend a slightly different approach.

(step 1) Setup a new (temporary) Ubuntu 20.04 server and copy over the recordings.  See


Make sure this new server is running correctly with all the recordings (you don't have to rebuild the recordings, just copy them over).

Only after this new server is running and you've verified all the recordings are working, then (step 2) wipe your 18.04 server and upgrade it to 20.04, and copy back the recordings from the temporary server.

This way, you ensure step 1 is successful (and you can do it multiple times) before you ever touch your existing server in step 2.


Regards,... Fred

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/6acc5246-5f0c-48f2-a115-f76484c15604n%40googlegroups.com.


--
BigBlueButton Developer

Like BigBlueButton?  Tweet us at @bigbluebutton
Reply all
Reply to author
Forward
0 new messages