bigbluebutton / bbb-install

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

can't install BBB on Ubuntu 18.04 #413

Closed Muller7777 closed 3 years ago

Muller7777 commented 3 years ago

trying to put bigbluebutton on Ubuntu 18.04 virtual container

according to the instructions from the off site in one script https://github.com/bigbluebutton/bbb-install/tree/master

does not work, stops at this

dpkg: error processing package bbb-libreoffice-docker (–configure): installed bbb-libreoffice-docker package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of bbb-web: bbb-web depends on bbb-libreoffice-docker; however: Package bbb-libreoffice-docker is not configured yet.

dpkg: error processing package bbb-web (–configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of bbb-html5: bbb-html5 depends on bbb-web; however: Package bbb-web is not configured yet.

dpkg: error processing package bbb-html5 (–configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of bbb-config: bbb-config depends on bbb-html5; however: Package bbb-html5 is not configured yet.

dpkg: error processing package bbb-config (–configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of bigbluebutton: bigbluebutton depends on bbb-config; however: Package bbb-config is not configured yet.

dpkg: error processing package bigbluebutton (–configure): dependency problems - leaving unconfigured Errors were encountered while processing: bbb-libreoffice-docker bbb-web bbb-html5 bbb-config bigbluebutton E: Sub-process /usr/bin/dpkg returned an error code (1)

BigBlueButton does not appear to be installed. Could not locate: /etc/bigbluebutton/bigbluebutton-release BigBlueButton does not appear to be installed. Could not locate: /etc/bigbluebutton/bigbluebutton-release

ffdixon commented 3 years ago

dpkg: error processing package bbb-libreoffice-docker (–configure): installed bbb-libreoffice-docker package

What virtualization environment are you using? BigBlueButton 2.3 used docker to encapsulate LibreOffice. Also check out https://github.com/bigbluebutton/docker.

Muller7777 commented 3 years ago

I have an Ubuntu 18.04 virtual machine , collected by the container. I'm trying to install BBB 2.3 according to the instructions in one script from the site

wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -w -a -v bionic-23 -s

ffdixon commented 3 years ago

Does the virtual machine support running docker within it?

Muller7777 commented 3 years ago

do you mean is the command working

sudo docker run hello-world

?

Muller7777 commented 3 years ago

no docker doesn't work in container

ffdixon commented 3 years ago

You won't be able to install bbb-libreoffice-docker, and thus BigBlueButton itself. Is it an option to install BigBlueButton in a different environment that supports docker?

Muller7777 commented 3 years ago

yes, I am now trying to put from your link in Debian 10, a full virtual machine with docker container support, but there is another problem Check BigBlueButton Endpoint and Secret can you advise anything ?

mmasztalerczuk commented 3 years ago

Hi, I have a very similar problem. I'm not able to build this docker image too. For me, it looks like some problem with package libreoffice. The problem is very easy to reproduce: Dockerfile:

FROM openjdk:11-jre                                                                                                                                 
ENV DEBIAN_FRONTEND noninteractive                                                                                                                  
RUN echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list                                                          
RUN apt update                                                                                                                                      
RUN apt -y install locales-all fontconfig libxt6 libxrender1
RUN apt install -y -t buster-backports libreoffice

Output:


Step 6/6 : RUN apt install -y -t buster-backports libreoffice                                                                                                  
 ---> Running in 93f3fe7f7d2f                                                                                                                                  

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.                                                                                

Reading package lists...                                                       
Building dependency tree...                                                    
Reading state information...                                                   
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created                                                                                             
or been moved out of Incoming.                                                                                                                                 
The following information may help to resolve the situation:  

The following packages have unmet dependencies:
 libreoffice : Depends: libreoffice-core (= 1:7.0.4~rc2-1~bpo10+2) but it is not installable
               Depends: libreoffice-writer but it is not installable
               Depends: python3-uno (>= 4.4.0~beta2) but it is not installable
               Recommends: libreoffice-nlpsolver but it is not installable
               Recommends: libreoffice-report-builder but it is not installable 
               Recommends: libreoffice-script-provider-bsh but it is not installable
               Recommends: libreoffice-script-provider-js but it is not installable
               Recommends: libreoffice-script-provider-python but it is not installable
               Recommends: libreoffice-sdbc-mysql but it is not installable
               Recommends: libreoffice-sdbc-postgresql but it is not installable
               Recommends: libreoffice-wiki-publisher but it is not installable 
 libreoffice-base : Depends: libreoffice-core (= 1:7.0.4~rc2-1~bpo10+2) but it is not installable
                    Recommends: libreoffice-writer but it is not installable
                    Recommends: default-jre (>= 2:1.8) but it is not installable or                                                                            
                                java8-runtime or                                                                                                               
                                jre but it is not installable                                                                                                  
 libreoffice-base-core : Depends: libreoffice-core-nogui (= 1:7.0.4~rc2-1~bpo10+2) but it is not installable or                                                
                                  libreoffice-core (= 1:7.0.4~rc2-1~bpo10+2) but it is not installable                                                         
                         Depends: libboost-date-time1.67.0 but it is not installable                                                                           
 libreoffice-base-drivers : Depends: libreoffice-core-nogui but it is not installable or                                                                       
                                     libreoffice-core but it is not installable                                                                                
                            Recommends: libreoffice-sdbc-hsqldb but it is not installable                                          
                            Recommends: libreoffice-sdbc-firebird but it is not installable                  
 libreoffice-calc : Depends: libreoffice-core (= 1:7.0.4~rc2-1~bpo10+2) but it is not installable
                    Depends: libboost-filesystem1.67.0 but it is not installable        
                    Depends: libboost-iostreams1.67.0 but it is not installable 
                    Depends: libboost-system1.67.0 but it is not installable
                    Depends: libicu63 (>= 63.1-1~) but it is not installable
 libreoffice-draw : Depends: libreoffice-core (= 1:7.0.4~rc2-1~bpo10+2) but it is not installable
                    Depends: libicu63 (>= 63.1-1~) but it is not installable                                                                                   
 libreoffice-impress : Depends: libreoffice-core (= 1:7.0.4~rc2-1~bpo10+2) but it is not installable                                                           
 libreoffice-math : Depends: libreoffice-core (= 1:7.0.4~rc2-1~bpo10+2) but it is not installable                                                              
 libreoffice-report-builder-bin : Depends: libreoffice-core but it is not installable                                                                          
 ure : Depends: libicu63 (>= 63.1-1~) but it is not installable                                                                                                
E: Unable to correct problems, you have held broken packages.                                                                                                  
The command '/bin/sh -c apt install -y -t buster-backports libreoffice' returned a non-zero code: 100 ```
Nemental commented 3 years ago

! FIX ! https://github.com/docker-library/openjdk/pull/464 The openjdk:11-jre image was updated to a newer debian (bullyseye), so this cannot work: Step 6/6 : RUN apt install -y -t buster-backports libreoffice

If the openjdk image tag, they used in the Dockerfile for the libreoffice image, would be 11-jre-buster instead of 11-jre it would work.

--> Workaround Before installation: docker pull openjdk:11-jre-buster docker tag openjdk:11-jre-buster openjdk:11-jre

Muller7777 commented 3 years ago

Hi, I have a very similar problem. I'm not able to build this docker image too. For me, it looks like some problem with package libreoffice. The problem is very easy to reproduce: Dockerfile:

FROM openjdk:11-jre                                                                                                                                 
ENV DEBIAN_FRONTEND noninteractive                                                                                                                  
RUN echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list                                                          
RUN apt update                                                                                                                                      
RUN apt -y install locales-all fontconfig libxt6 libxrender1
RUN apt install -y -t buster-backports libreoffice

Output:

Step 6/6 : RUN apt install -y -t buster-backports libreoffice                                                                                                  
 ---> Running in 93f3fe7f7d2f                                                                                                                                  

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.                                                                                

Reading package lists...                                                       
Building dependency tree...                                                    
Reading state information...                                                   
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created                                                                                             
or been moved out of Incoming.                                                                                                                                 
The following information may help to resolve the situation:  

The following packages have unmet dependencies:
 libreoffice : Depends: libreoffice-core (= 1:7.0.4~rc2-1~bpo10+2) but it is not installable
               Depends: libreoffice-writer but it is not installable
               Depends: python3-uno (>= 4.4.0~beta2) but it is not installable
               Recommends: libreoffice-nlpsolver but it is not installable
               Recommends: libreoffice-report-builder but it is not installable 
               Recommends: libreoffice-script-provider-bsh but it is not installable
               Recommends: libreoffice-script-provider-js but it is not installable
               Recommends: libreoffice-script-provider-python but it is not installable
               Recommends: libreoffice-sdbc-mysql but it is not installable
               Recommends: libreoffice-sdbc-postgresql but it is not installable
               Recommends: libreoffice-wiki-publisher but it is not installable 
 libreoffice-base : Depends: libreoffice-core (= 1:7.0.4~rc2-1~bpo10+2) but it is not installable
                    Recommends: libreoffice-writer but it is not installable
                    Recommends: default-jre (>= 2:1.8) but it is not installable or                                                                            
                                java8-runtime or                                                                                                               
                                jre but it is not installable                                                                                                  
 libreoffice-base-core : Depends: libreoffice-core-nogui (= 1:7.0.4~rc2-1~bpo10+2) but it is not installable or                                                
                                  libreoffice-core (= 1:7.0.4~rc2-1~bpo10+2) but it is not installable                                                         
                         Depends: libboost-date-time1.67.0 but it is not installable                                                                           
 libreoffice-base-drivers : Depends: libreoffice-core-nogui but it is not installable or                                                                       
                                     libreoffice-core but it is not installable                                                                                
                            Recommends: libreoffice-sdbc-hsqldb but it is not installable                                          
                            Recommends: libreoffice-sdbc-firebird but it is not installable                  
 libreoffice-calc : Depends: libreoffice-core (= 1:7.0.4~rc2-1~bpo10+2) but it is not installable
                    Depends: libboost-filesystem1.67.0 but it is not installable        
                    Depends: libboost-iostreams1.67.0 but it is not installable 
                    Depends: libboost-system1.67.0 but it is not installable
                    Depends: libicu63 (>= 63.1-1~) but it is not installable
 libreoffice-draw : Depends: libreoffice-core (= 1:7.0.4~rc2-1~bpo10+2) but it is not installable
                    Depends: libicu63 (>= 63.1-1~) but it is not installable                                                                                   
 libreoffice-impress : Depends: libreoffice-core (= 1:7.0.4~rc2-1~bpo10+2) but it is not installable                                                           
 libreoffice-math : Depends: libreoffice-core (= 1:7.0.4~rc2-1~bpo10+2) but it is not installable                                                              
 libreoffice-report-builder-bin : Depends: libreoffice-core but it is not installable                                                                          
 ure : Depends: libicu63 (>= 63.1-1~) but it is not installable                                                                                                
E: Unable to correct problems, you have held broken packages.                                                                                                  
The command '/bin/sh -c apt install -y -t buster-backports libreoffice' returned a non-zero code: 100 ```

sorry, did not understand your advice is it a solution with Ubuntu 18.04 or is it already about Debian 10 thanks

mmasztalerczuk commented 3 years ago

As @Nemental said, the problem was related to the base of the docker image used to build libreoffice. The image has been fixed by @ffdixon, so it should work now.

mohammad-69 commented 3 years ago

I have the same problem what's the solution?

Errors were encountered while processing: bbb-libreoffice-docker bbb-web bbb-html5 bbb-config bigbluebutton E: Sub-process /usr/bin/dpkg returned an error code (1)

ffdixon commented 3 years ago

What is the parameter you are using for -v in the bbb-install.sh command?

mohammad-69 commented 3 years ago

What is the parameter you are using for -v in the bbb-install.sh command?

I've used below commands none of them worked on any type of ubuntu version : on ubuntu 18.04: wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v bionic-23 -s s2.domain.com -e mymail@example.com -w -g

wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v bionic-240 -s s2.domain.com -e mymail@example.com -a -w

on ubuntu 16.04 : wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v xenial-22 -s s2.domain.com -e mymail@example.com -w -g