bigbluebutton / bbb-install

BASH script to install BigBlueButton in 30 minutes.
GNU Lesser General Public License v3.0
617 stars 538 forks source link

Script Fails in Ubuntu 18.04.5 LTS #388

Open sheyk87 opened 3 years ago

sheyk87 commented 3 years ago

I have a Ubuntu fresh install:

cat /etc/lsb-release

DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"

Ram: 8Gb CPU: 4 cores

DNS and Public IP resolve OK

I am trying whit this command:

wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v bionic-23 -s bbb.domain.xyz -e sistemas@domain.xyz -w -g -m /mnt/bbb

And i'm getting this:

######################## OUTPUT ####################################

output.txt

########################## END OUTPUT ###########################################

agrimpelhuber commented 3 years ago

I tried to read the output you posted, but my spanish is very limited - sorry. Seeing this on an english Ubuntu would make it much easier to debug. And no, English is not my native language, either. I just figured out that I get the most support when I run a system under the the developer's preferred language.

Just to make sure: You surely did replace domain.xyz with yours? Not assuming otherwise, but asking doesn't hurt (hopefully)

EmmyGraugans commented 3 years ago

Also, be aware that as "Pre-installation check" it is explicitly mentioned that the locale MUST be english:

https://docs.bigbluebutton.org/2.3/install.html#pre-installation-checks

sheyk87 commented 3 years ago

I tried to read the output you posted, but my spanish is very limited - sorry. Seeing this on an english Ubuntu would make it much easier to debug. And no, English is not my native language, either. I just figured out that I get the most support when I run a system under the the developer's preferred language.

Just to make sure: You surely did replace domain.xyz with yours? Not assuming otherwise, but asking doesn't hurt (hopefully)

Yes, I changed my domain for the report, for security reasons.

sheyk87 commented 3 years ago

Also, be aware that as "Pre-installation check" it is explicitly mentioned that the locale MUST be english:

https://docs.bigbluebutton.org/2.3/install.html#pre-installation-checks

The installation can be done in Spanish, I have already done it several times, with the installation script and with the version in Docker

The problem that the log indicates is that there are dependencies that it cannot find in the repositories.

Specifically at the end of the Output:

E: El paquete «haveged» no tiene un candidato para la instalación Leyendo lista de paquetes... Creando árbol de dependencias... Leyendo la información de estado... No se pudieron instalar algunos paquetes. Esto puede significar que usted pidió una situación imposible o, si está usando la distribución inestable, que algunos paquetes necesarios aún no se han creado o se han sacado de «Incoming». La siguiente información puede ayudar a resolver la situación:

Los siguientes paquetes tienen dependencias incumplidas: bigbluebutton : Depende: bbb-config pero no va a instalarse E: No se pudieron corregir los problemas, usted ha retenido paquetes rotos. Leyendo lista de paquetes... Creando árbol de dependencias... Leyendo la información de estado... No se pudieron instalar algunos paquetes. Esto puede significar que usted pidió una situación imposible o, si está usando la distribución inestable, que algunos paquetes necesarios aún no se han creado o se han sacado de «Incoming». La siguiente información puede ayudar a resolver la situación:

Los siguientes paquetes tienen dependencias incumplidas: bbb-html5 : Depende: bbb-webrtc-sfu pero no va a instalarse Depende: bbb-etherpad pero no va a instalarse Depende: bbb-web pero no va a instalarse E: No se pudieron corregir los problemas, usted ha retenido paquetes rotos.

Here in English: E: The "haveged" package does not have a candidate for installation Reading package list ... Creating dependency tree ... Reading status information ... Do not can instal some pack. This may mean that you asked for an impossible situation or, if you are using the distribution unstable, that some required packages have not yet been created or are They have taken from "Incoming." The following information can help resolve the situation:

The following packages have unmet dependencies: bigbluebutton: Depends: bbb-config but it won't install E: Problems could not be corrected, you have retained broken packages. Reading package list ... Creating dependency tree ... Reading status information ... Do not can instal some pack. This may mean that you asked for an impossible situation or, if you are using the distribution unstable, that some required packages have not yet been created or are They have taken from "Incoming." The following information can help resolve the situation:

The following packages have unmet dependencies: bbb-html5: Depends: bbb-webrtc-sfu but it won't install Depends: bbb-etherpad but it won't install It depends: bbb-web but it will not install E: Problems could not be corrected, you have retained broken packages.

agrimpelhuber commented 3 years ago

I think your best shot is to fix the first dependency that fails (haveged), and find out why this fails?

What happens when you run this (either sudo or as root, of course)

apt-get update && apt-get install -y haveged

EmmyGraugans commented 3 years ago

The installation can be done in Spanish, I have already done it several times,

It might work or at least have worked, but it can't be promised, that it will in the future, since that is simply untested. The installation script can change in subtle ways that don't play well with changes in locale.

The problem that the log indicates is that there are dependencies that it cannot find in the repositories.

I am aware of that (could see that in the spanish text) - maybe the following helps:

# apt-cache policy haveged
haveged:
  Installed: 1.9.1-6
  Candidate: 1.9.1-6
  Version table:
 *** 1.9.1-6 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

So in order to to be able to install haveged, you must have the "universe" packages enabled in /etc/apt/sources.list. For me it looks like:

# grep universe /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse

HTH

sheyk87 commented 3 years ago

Thank you for your answers I will try with the steps that indicate me

In another environment and network, I could install the system without problem, but without being able to use it, since Google's Coturn server was not responding

sheyk87 commented 3 years ago

The installation can be done in Spanish, I have already done it several times,

It might work or at least have worked, but it can't be promised, that it will in the future, since that is simply untested. The installation script can change in subtle ways that don't play well with changes in locale.

The problem that the log indicates is that there are dependencies that it cannot find in the repositories.

I am aware of that (could see that in the spanish text) - maybe the following helps:

# apt-cache policy haveged
haveged:
  Installed: 1.9.1-6
  Candidate: 1.9.1-6
  Version table:
 *** 1.9.1-6 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

So in order to to be able to install haveged, you must have the "universe" packages enabled in /etc/apt/sources.list. For me it looks like:

# grep universe /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse

HTH

Thankyou!

I was able to install the system, but now I am getting the following errors:

Potential problems described below

Not running: tomcat8 or grails redis-server

Error: Found text in freeswitch.log:

#

Thread ended for mod_event_socket

#

FreeSWITCH may not be responding to requests on port 8021 (event socket layer)

and users may have errors joining audio.

Warning: Failed to verify STUN server at stun.l.google.com 19302 with command

#

stunclient --mode full --localport 30000 stun.l.google.com 19302