Greenlight won't install on branded new server

77 views
Skip to first unread message

Obliv!on

unread,
Oct 15, 2023, 10:51:28 PM10/15/23
to bigbluebutton-greenlight
Hey there, I'm not new to technology by any means, but I am new to BBB

I'm trying to set up BBB on a Microsoft Azure VM, so I connected via SSH and ran the bare ones bbb-install script, including -g to install greenlight, and let it run. Everything completed normally and successfully except for Greenlight. The last function I'm seeing run is "Checking configuration for greenlight-v3", followed by "rake aborted!"

I'm then given an error message something like:
Bbb-install: Failed to create greenlight secret key base - is docker running?

I tried starting from scratch, including a new VM, removing and reinstalling docker, making sure docker is running, and running the docker "hello-world", but the greenlight installation ends the same way every time. And going to my subdomain "BBB.example.com" just leaves me on a generic "Welcome to BigBlueButton!" Landing page. Any help is appreciated 

Thanks,
Obliv!on

Jon M

unread,
Oct 16, 2023, 7:08:18 AM10/16/23
to bigbluebutton-greenlight
Hi there, I've just joined this forum seeking help with the very same issue!  Here's the details:

I'm having trouble installing greenlight with bbb-install.sh:

Details:

On an AWS Lightsail 16GB/4vCPU instance, Ubuntu 20.04LTS

Followed the guide here: https://docs.bigbluebutton.org/administration/install/, and here: https://github.com/bigbluebutton/bbb-install/tree/v2.7.x-release#installing-in-a-private-network

Command used from a root shell: wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v2.7.x-release/bbb-install.sh | bash -s -- -v focal-270 -s rooms.mydomain.com -e in...@rooms.mydomain.com -g

Here's the last output of the install script:

> bbb-install: preparing and checking the enviroment to install/update greelight-v3...
> bbb-install: pulling latest bigbluebutton/greenlight:v3 image...
> v3: Pulling from bigbluebutton/greenlight
 > Digest: sha256:2956a2720223c7c277dcaa4a04ccae8a18a148b1ffe88cda465088d79254c877
> Status: Image is up to date for bigbluebutton/greenlight:v3
> docker.io/bigbluebutton/greenlight:v3
> bbb-install: checking the configuration of greenlight-v3...
> rake aborted!
> Don't know how to build task 'secret' (See the list of available tasks with `rake --tasks`)
> /usr/src/app/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
> /usr/local/bin/bundle:25:in `load'
> /usr/local/bin/bundle:25:in `<main>'
> (See full trace by running task with --trace)
> bbb-install: failed to generate greenlight-v3 secret key base - is docker running?

Docker is indeed running, but shows no containers.

The BBB server seems to be working, I get the 'Welcome to BigBlueButton' on https://rooms.mydomain.com, and the link to API-Mate from bbb-conf --secret works fine.

Output of bbb-conf --check:

BEGINS
BigBlueButton Server 2.7.1 (425)
                    Kernel version: 5.15.0-1047-aws
                      Distribution: Ubuntu 20.04.6 LTS (64-bit)
                            Memory: 16182 MB
                         CPU cores: 4

/etc/bigbluebutton/bbb-web.properties (override for bbb-web)
/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web)
       bigbluebutton.web.serverURL: https://rooms.mydomain.com
                defaultGuestPolicy: ALWAYS_ACCEPT
              defaultMeetingLayout: CUSTOM_LAYOUT

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server_name: rooms.mydomain.com
                              port: 80, [::]:80127.0.0.1:82 http2 proxy_protocol, [::1]:82 http2127.0.0.1:81 proxy_protocol, [::1]:81

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: 172.26.3.88
                   external_rtp_ip: xxx.xxx.xxx.xxx
                   external_sip_ip: xxx.xxx.xxx.xxx

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

UDP port ranges

                        FreeSWITCH: 16384-24576
                           kurento: 24577-32768
                    bbb-webrtc-sfu: 24577-32768
                    bbb-webrtc-recorder: 24577-32768

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback_host: rooms.mydomain.com
                 playback_protocol: https
                            ffmpeg: 4.2.7-0ubuntu0.1

/usr/share/bigbluebutton/nginx/sip.nginx (sip.nginx)
                        proxy_pass: xxx.xxx.xxx.xxx
                          protocol: http

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (bbb-webrtc-sfu)
/etc/bigbluebutton/bbb-webrtc-sfu/production.yml (bbb-webrtc-sfu - override)
    mediasoup.webrtc.*.announcedIp: xxx.xxx.xxx.xxx
  mediasoup.plainRtp.*.announcedIp: xxx.xxx.xxx.xxx
                        kurento.ip: xxx.xxx.xxx.xxx
                       kurento.url: ws://127.0.0.1:8888/kurento
                 freeswitch.sip_ip: xxx.xxx.xxx.xxx
                  recordingAdapter: Kurento
               recordScreenSharing: true
                     recordWebcams: true
                  codec_video_main: VP8
               codec_video_content: VP8

/etc/bbb-webrtc-recorder/bbb-webrtc-recorder.yml (bbb-webrtc-recorder)
/etc/bigbluebutton/bbb-webrtc-recorder.yml (bbb-webrtc-recorder - override)
               debug: false
               recorder.directory: /var/lib/bbb-webrtc-recorder

/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml (HTML5 client)
/etc/bigbluebutton/bbb-html5.yml (HTML5 client config override)
                             build: 164
                        kurentoUrl: wss://rooms.mydomain.com/bbb-webrtc-sfu
            defaultFullAudioBridge: fullaudio
           defaultListenOnlyBridge: fullaudio
                    sipjsHackViaWs: true
ENDS

Output of bbb-conf --status:

BEGINS
nginx ————————————————————————► [✔ - active]
freeswitch ———————————————————► [✔ - active]
redis-server —————————————————► [✔ - active]
bbb-apps-akka ————————————————► [✔ - active]
bbb-fsesl-akka ———————————————► [✔ - active]
mongod ———————————————————————► [✔ - active]
bbb-html5 ————————————————————► [✔ - active]
bbb-html5-backend@1 ——————————► [✔ - active]
bbb-html5-backend@2 ——————————► [✔ - active]
bbb-html5-frontend@1 —————————► [✔ - active]
bbb-html5-frontend@2 —————————► [✔ - active]
bbb-webrtc-sfu ———————————————► [✔ - active]
bbb-webrtc-recorder ——————————► [✔ - active]
kurento-media-server —————————► [✔ - active]
etherpad —————————————————————► [✔ - active]
bbb-web ——————————————————————► [✔ - active]
bbb-pads —————————————————————► [✔ - active]
bbb-export-annotations ———————► [✔ - active]
bbb-rap-caption-inbox ————————► [✔ - active]
bbb-rap-resque-worker ————————► [✔ - active]
bbb-rap-starter ——————————————► [✔ - active]
ENDS

I've reached the limits of my knowledge on debugging this, and normal recourse to google hasn't thrown up even a similar issue.  Any help greatly appreciated!

Jean Pluzo

unread,
Oct 16, 2023, 9:34:34 AM10/16/23
to bigbluebutton-greenlight
Hi,

there seems to be an error in the latest Greenlight release (3.0.8) as documented here.
Let's just wait for the developers to release a new version. You can also apply a temporary solution (apparently) from the link I just posted.

Regards,
J.

Jon M

unread,
Oct 16, 2023, 2:10:40 PM10/16/23
to bigbluebutton-greenlight
Juan,

Great, thanks.  And it's now fixed in the repos as well so bb-install.sh works with the -g option.

Jon

Obliv!on

unread,
Oct 16, 2023, 5:23:33 PM10/16/23
to bigbluebutton-greenlight
Awesome, I just ran -g again and it installed flawlessly. Thanks for the update and help!
Reply all
Reply to author
Forward
0 new messages