Como atualizar o BigBlueButton 2.2 para 2.3 (Ubuntu 16.04 para 18.04)?

Neste artigo vou mostrar um procedimento para atualizar o BigBlueButton  2.2 para 2.3. BigBlueButton 2.2 está usando Ubuntu 16.04 LTS, mas o BigBlueButton 2.3 precisa do Ubuntu 18.04 LTS. Os desenvolvedores do BigBlueButton  recomendam instalar o BigBlueButton 2.3 em um servidor Ubuntu 18.04 limpo, mas vamos atualizar o Ubuntu 16.04 para 18.04 seguindo esta etapa. Isso poupará  nosso tempo  para  transferir gravações de um servidor para outro servidor. Por favor, lembre-se de fazer o  backup adequado antes de começar. Confira alguns dos recursos emocionantes do  BigBlueButton 2.3. 

Faça login no seu servidor LTS Ubuntu 16.04 usando SSH & execute após comandos. Por favor, certifique-se de que você tomou o backup adequado. Todas as gravações estão localizadas sob o diretório /var/bigbluebutton.   Se você teve seu desenvolvimento/configuração personalizado, certifique-se de ter feito backup  deles também. 

1) Antes de mais nada, é necessário atualizar todos os pacotes e o servidor de reinicialização. 

sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y && apt autoremove -y
sudo reboot

2) Depois de reiniciar o login do servidor novamente e executar seguindo comandos no terminal. Você precisará seguir as instruções da saída. Você pode continuar se ver algum pacote faltando aviso. A instalação do Ubuntu removerá/atualizará esses pacotes automaticamente para você. 

sudo bbb-conf --stop

## main packages
sudo apt purge -yq kurento-media-server nodejs yq bigbluebutton bbb-html5 certbot nginx nginx-common nginx-core

## optional packages but better to remove as BigBlueButton will install those again.
sudo apt purge -yq bbb-apps-akka bbb-apps-screenshare bbb-client bbb-freeswitch-core bbb-fsesl-akka bbb-red5 bbb-transcode-akka bbb-web bbb-record-core kms-core kms-elements mongodb-org mongodb-org-server ffmpeg redis-server openjdk-8-jre openjdk-8-jre-headless

sudo apt auto-remove -y

sudo add-apt-repository --remove ppa:rmescandon/yq -y
sudo add-apt-repository --remove ppa:libreoffice/ppa -y
sudo add-apt-repository --remove ppa:bigbluebutton/support -y
sudo add-apt-repository --remove ppa:certbot/certbot -y

## we'll remove some of the directories. Please take backup if need.
sudo rm -rf /etc/bigbluebutton
sudo rm -rf /usr/local/bigbluebutton
sudo rm -rf /var/log/bigbluebutton
sudo rm -rf /usr/share/bbb-web
sudo rm -rf /usr/share/red5
sudo rm -rf /var/lib/red5
sudo rm -rf /opt/freeswitch
sudo rm -rf /usr/share/etherpad-lite
sudo rm -rf /usr/lib/node_modules
sudo rm -rf /var/lib/mongodb

sudo rm -rf /etc/apt/sources.list.d/*
sudo rm -rf /var/lib/apt/lists/*

sudo mv -f /etc/apt/sources.list /etc/apt/sources.list.tmp

## This is for safety so that won't make conflict with other third party packages. We'll fixed it later.
sudo echo "deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse" > /etc/apt/sources.list

sudo apt clean && sudo apt update -y && sudo apt upgrade -y

sudo apt install -y update-manager-core

sudo do-release-upgrade

3) Se os procedimentos acima obterem sucesso e após a reinicialização, você deve estar no Ubuntu 18.04 LTS :-). Agora execute seguir comandos antes de instalar o BigBlueButton 2.3. Você pode editar links de repositório com seu espelho favorito. 

sudo cat > /etc/apt/sources.list << HERE
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu bionic main restricted
# deb-src http://archive.ubuntu.com/ubuntu bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu bionic universe
# deb-src http://archive.ubuntu.com/ubuntu bionic universe
deb http://archive.ubuntu.com/ubuntu bionic-updates universe
# deb-src http://archive.ubuntu.com/ubuntu bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu bionic multiverse
# deb-src http://archive.ubuntu.com/ubuntu bionic multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://archive.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://archive.ubuntu.com/ubuntu bionic-security main restricted
deb http://archive.ubuntu.com/ubuntu bionic-security universe
# deb-src http://archive.ubuntu.com/ubuntu bionic-security universe
deb http://archive.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://archive.ubuntu.com/ubuntu bionic-security multiverse
HERE

sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y
# if new Linux kernel was installed then better to reboot again before install BBB 2.3
sudo reboot 

4) Agora é hora de instalar o BigBlueButton 2.3 ;

wget -qO- http://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v bionic-23 -s bbb.example.com -e This email address is being protected from spambots. You need JavaScript enabled to view it.

Altere o nome do host e o endereço de e-mail de acordo com o seu. Isso deve instalar o BigBlueButton 2.3 no seu servidor e você poderá continuar usando suas gravações BigBlueButton 2.2. Se precisar de ajuda, pode entrar em contato conosco. Confira nossos  serviços BigBlueButton  &  BigBlueButton Hosting. 

 

Problemas Comuns: 

============ 

Problema 1: 

failed to create endpoint optimistic_haibt on network bridge: failed to add the host (veth6bc15c7) <=> sandbox (veth2de3a97) pair interfaces: operation not supported
dpkg: error processing package bbb-libreoffice-docker (--configure):

Solução: Isso acontece principalmente quando o novo Kernel foi instalado. Então, ele precisará reiniciar seu servidor e tentar novamente executar: 

sudo apt -f install

 Ele deve resolver o problema e depois correr novamente bbb-install.sh continuar. 

We use cookies

Nós usamos cookies em nosso site. Alguns deles são essenciais para a operação do site, enquanto outros nos ajudam a melhorar o site e também a experiência do usuário (rastreamento de cookies).