bigbluebutton / bbb-install

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

bbb-install not working #235

Open brishisharma opened 4 years ago

brishisharma commented 4 years ago

i Tried to install using wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -w -v xenial-22 -a -w on new ubuntu 16.04 server but there is no output. Pleas help.

ffdixon commented 4 years ago

If you do just wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh do you see the script?

Regards,.. Fred

brishisharma commented 4 years ago

No, same problem

brishisharma commented 4 years ago

Any issue currently with the script?

ffdixon commented 4 years ago

Can you try access from our alternate package repository with the option -r packages-eu.bigbluebutton.org.

Akshay-Hegde commented 4 years ago

No success can anyone share working docker bbb-2.2 for testing ?

# cat /etc/issue
Ubuntu 16.04.6 LTS \n \l

# bbb-conf --status 
Failed to connect to bus: No such file or directory
nginx �————————————————————► [✘ - ]
Failed to connect to bus: No such file or directory
freeswitch ��——————————————————► [✘ - ]
Failed to connect to bus: No such file or directory
redis-server ——————————————————► [✘ - ]
Failed to connect to bus: No such file or directory
bbb-apps-akka ��—————————————————► [✘ - ]
Failed to connect to bus: No such file or directory
bbb-transcode-akka ————————————————► [✘ - ]
Failed to connect to bus: No such file or directory
bbb-fsesl-akka �—————————————————► [✘ - ]
Failed to connect to bus: No such file or directory
red5 ��————————————————————► [✘ - ]
Failed to connect to bus: No such file or directory
tomcat7 ��———————————————————► [✘ - ]
Failed to connect to bus: No such file or directory
mongod ————————————————————► [✘ - ]
Failed to connect to bus: No such file or directory
bbb-html5 ———————————————————► [✘ - ]
Failed to connect to bus: No such file or directory
bbb-webrtc-sfu �—————————————————► [✘ - ]
Failed to connect to bus: No such file or directory
kurento-media-server �———————————————► [✘ - ]
Failed to connect to bus: No such file or directory
etherpad �———————————————————► [✘ - ]
Failed to connect to bus: No such file or directory
bbb-web ��———————————————————► [✘ - ]

# bbb-conf --version

ii  bbb-apps                              1:2.2.0-45                                      amd64        BigBlueButton applications for Red5
ii  bbb-apps-akka                         2.2.0-87                                        all          BigBlueButton Apps (Akka)
ii  bbb-apps-screenshare                  1:2.2.0-45                                      amd64        BigBlueButton screenshare module for Red5
ii  bbb-apps-sip                          1:2.2.0-11                                      amd64        BigBlueButton SIP module for Red5
ii  bbb-apps-video                        1:2.2.0-42                                      amd64        BigBlueButton video module for Red5
ii  bbb-apps-video-broadcast              1:2.2.0-8                                       amd64        BigBlueButton video broadcast module for Red5
ii  bbb-client                            1:2.2.0-40                                      amd64        BigBlueButton Flash client
ii  bbb-config                            1:2.2.0-196                                     amd64        BigBlueButton configuration utilities
ii  bbb-demo                              1:2.2.0-9                                       amd64        BigBlueButton API demos
ii  bbb-etherpad                          1:2.2.0-51                                      amd64        The EtherPad Lite components for BigBlueButton
ii  bbb-freeswitch-core                   2:2.2.0-112                                     amd64        BigBlueButton build of FreeSWITCH
ii  bbb-freeswitch-sounds                 1:1.6.7-6                                       amd64        FreeSWITCH Sounds
ii  bbb-fsesl-akka                        2.2.0-65                                        all          BigBlueButton FS-ESL (Akka)
ii  bbb-html5                             1:2.2.0-960                                     amd64        The HTML5 components for BigBlueButton
ii  bbb-mkclean                           1:0.8.7-3                                       amd64        Clean and optimize Matroska and WebM files
ii  bbb-playback-presentation             1:2.2.0-31                                      amd64        BigBluebutton playback of presentation
ii  bbb-record-core                       1:2.2.0-67                                      amd64        BigBlueButton record and playback
ii  bbb-red5                              1:1.0.10-16                                     amd64        The Red5 server for BigBlueButton
ii  bbb-transcode-akka                    2.2.0-8                                         all          BigBlueButton Transcoder
ii  bbb-web                               1:2.2.0-130                                     amd64        BigBlueButton API
ii  bbb-webrtc-sfu                        1:2.2.0-102                                     amd64        BigBlueButton WebRTC SFU
ii  bigbluebutton                         1:2.2.0-5                                       amd64        Open source web conferencing platform (bbb)
ii  ffmpeg                                7:4.2.2-1bbb1~ubuntu16.04                       amd64        Tools for transcoding, streaming and playing of multimedia files
ii  libavcodec58:amd64                    7:4.2.2-1bbb1~ubuntu16.04                       amd64        FFmpeg library with de/encoders for audio/video codecs - runtime files
ii  libavdevice58:amd64                   7:4.2.2-1bbb1~ubuntu16.04                       amd64        FFmpeg library for handling input and output devices - runtime files
ii  libavfilter7:amd64                    7:4.2.2-1bbb1~ubuntu16.04                       amd64        FFmpeg library containing media filters - runtime files
ii  libavformat58:amd64                   7:4.2.2-1bbb1~ubuntu16.04                       amd64        FFmpeg library with (de)muxers for multimedia containers - runtime files
ii  libavresample4:amd64                  7:4.2.2-1bbb1~ubuntu16.04                       amd64        FFmpeg compatibility library for resampling - runtime files
ii  libavutil56:amd64                     7:4.2.2-1bbb1~ubuntu16.04                       amd64        FFmpeg library with functions for simplifying programming - runtime files
ii  libopusenc0                           0.2.1-1bbb1                                     amd64        High-level API for encoding Ogg Opus audio streams
ii  libpostproc55:amd64                   7:4.2.2-1bbb1~ubuntu16.04                       amd64        FFmpeg library for post processing - runtime files
ii  libswresample3:amd64                  7:4.2.2-1bbb1~ubuntu16.04                       amd64        FFmpeg library for audio resampling, rematrixing etc. - runtime files
ii  libswscale5:amd64                     7:4.2.2-1bbb1~ubuntu16.04                       amd64        FFmpeg library for image scaling and various conversions - runtime files
ffdixon commented 4 years ago

@Akshay-Hegde check out this pull request: https://github.com/bigbluebutton/docker/pull/43

Akshay-Hegde commented 4 years ago

@Akshay-Hegde check out this pull request: bigbluebutton/docker#43

Unfortunately no success, docker link which you gave seems still under development, I could only build only below images, @ffdixon if you had success please share working image, I even tried bbb-install.sh on ubuntu 16.04, pulled GBs of packages got stuck with bus

# systemctl status
Failed to connect to bus: Connection refused

Dockers..

# docker images  | grep bbb
bbb-coturn                    latest              fb5e817798f5        About an hour ago   187MB
bbb-nginx                     latest              33198ecd2f5a        About an hour ago   160MB
bbb-freeswitch                latest              8a2fed87b8bb        About an hour ago   592MB
bbb-kurento                   latest              2dec8205dad9        About an hour ago   693MB
bbb-webhooks                  latest              dbdc217ec476        About an hour ago   164MB
bbb-html5                     latest              c4e5ea9c2ac5        About an hour ago   4.97GB

And with bbb-install.sh below error

# cat /etc/issue
Ubuntu 16.04.6 LTS \n \l

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.6 LTS
Release:    16.04
Codename:   xenial

root@c3f18bc00aee:/# bbb-conf --check

BigBlueButton Server 2.2.19 (2025)
                    Kernel version: 3.10.0-1062.el7.x86_64
                      Distribution: Ubuntu 16.04.6 LTS (64-bit)
                            Memory: 49276 MB
                         CPU cores: 24

/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web)
       bigbluebutton.web.serverURL: http://172.17.0.2
                defaultGuestPolicy: ALWAYS_ACCEPT
                 svgImagesRequired: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: 172.17.0.2
                              port: 80, [::]:80
                    bbb-client dir: /var/www/bigbluebutton

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): rtmp://HOST
                              red5: HOST
              useWebrtcIfAvailable: true

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: 172.17.0.2
                   external_rtp_ip: stun:stun.freeswitch.org
                   external_sip_ip: stun:stun.freeswitch.org

/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
                        ext-rtp-ip: $${local_ip_v4}
                        ext-sip-ip: $${local_ip_v4}
                        ws-binding: :5066
                       wss-binding: :7443

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback_host: 172.17.0.2
                 playback_protocol: http
                            ffmpeg: 4.2.2-1bbb1~ubuntu16.04

/etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
                        proxy_pass: 172.17.0.2

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
                        kurento.ip: 172.17.0.2
                       kurento.url: ws://127.0.0.1:8888/kurento
                    kurento.sip_ip: 172.17.0.2
                    localIpAddress: 172.17.0.2
               recordScreenSharing: true
                     recordWebcams: true
                  codec_video_main: VP8
               codec_video_content: VP8

/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml (HTML5 client)
                             build: 960
                        kurentoUrl: ws://172.17.0.2/bbb-webrtc-sfu
                  enableListenOnly: true

# Potential problems described below

# The values for listen-ip in   
#     /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml
# do not match the settings for esl.host in
#     /usr/share/red5/webapps/bigbluebutton/WEB-INF/bigbluebutton.properties

# Not running:  red5 Nginx tomcat7 or grails LibreOffice redis-server
....................# Error: Red5 log files not found

# Unavailable red5 logs (/usr/share/red5/log):  bigbluebutton.log red5.log sip.log video.log screenshare-slf.log

grep: /opt/freeswitch/var/log/freeswitch/freeswitch.log: No such file or directory

#
# Error: Unable to connect to the FreeSWITCH Event Socket Layer on port 8021
#
# Error: The following log file was not found
#   /usr/share/red5/log/sip.log 

#                     empty directory: /var/lib/tomcat7/logs contains no logs
#      No /usr/share/red5/log/bigbluebutton.log
................................................................................
# Error: Could not connect to the configured hostname/IP address
#
#    http://172.17.0.2/
#
# If your BigBlueButton server is behind a firewall, see FAQ.

# Error: Unable to connect to port 1935 (RTMP) on 172.17.0.2

# Error: Could not detect FreeSWITCH listening on port 5060

# Error: Unable to reach default URL for presentation:
#
#    http://172.17.0.2/default.pdf
#
# Check value for beans.presentationService.defaultUploadedPresentation in
#   /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
Failed to connect to bus: Connection refused
Failed to connect to bus: Connection refused
Failed to connect to bus: Connection refused
Failed to connect to bus: Connection refused
Failed to connect to bus: Connection refused
Failed to connect to bus: Connection refused
Failed to connect to bus: Connection refused
Failed to connect to bus: Connection refused
Failed to connect to bus: Connection refused
Failed to connect to bus: Connection refused
Failed to connect to bus: Connection refused
Failed to connect to bus: Connection refused
Failed to connect to bus: Connection refused
Failed to connect to bus: Connection refused
Failed to connect to bus: Connection refused
Failed to connect to bus: Connection refused

#
# Warning: Detected that systemctl does not define a UTF-8 language.
#
# To temporarily correct, run the command 
#
#   sudo systemctl set-environment LANG=en_US.UTF-8
#
# See https://docs.bigbluebutton.org/2.2/install.html#pre-installation-checks
ffdixon commented 4 years ago

Failed to connect to bus: Connection refused

There is no systemd support within docker, which is why your getting these messages. We're currently focused on BigBlueButton 2.3, which will run on Ubuntu 18.04,. BigBlueButton 2.3 should be a bit easier to dockerize as it has less components (we're shedding the Flash components).

Akshay-Hegde commented 4 years ago

@ffdixon Thank you so much, shedding the Flash components is great news.

With below args (NOT Recommended in production), its starting but unfortunately not all services are coming up. But with https://github.com/bigbluebutton/docker/pull/43 no success. May be now I have to try BBB-2.2 on bare metal isn't it ?

--tmpfs /run --tmpfs /run/lock -v /sys/fs/cgsys/fs/cgroup:ro --entrypoint /sbin/init --security-opt seccomp=unconfined --stop-signal=SIGRTMIN+3 
lonesomewalker commented 4 years ago

You SHOULD run it on bare metal ;-) bbb-install.sh works quite fine. But as i can see at your ip address you have to take care about internet access and NAT.

jackzro commented 3 years ago

Any issue currently with the script?

i have a some problem with you ? do you know any solution to solve bbb.install not working ???