Fresh installation of BBB 2.3.9 on Ubuntu 18.04

176 views
Skip to first unread message

Mélanie Issac

unread,
Aug 24, 2021, 3:49:55 PM8/24/21
to bigbluebu...@googlegroups.com
Hi everyone,

I was previously using BBB 2.2 with Ubuntu 16.04.

I reinstalled from scratch Ubuntu 18.04 and BBB 2.3 with the following install script:

wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v bionic-230-2.3.9 -s mydomain.com -e my.email  -g

I did not use '-w' option: I have set my own firewall, because I use port 30 for SSH.
I (successfully, hopefully) migrated my former Greenlight database from my BBB 2.2 installation. I also installed Grafana/Prometheus for monitoring and it works fine.

First, I would like to thank the whole BBB team for their work on the install script, which eases life a lot :-D

I would have a few questions, if anyone can help...

1/ what would be the safest way to upgrade minor releases of BBB? I am not sure I understood the documentation correctly, I was planning to use
wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v bionic-230
Would it be ok?
I have a few custom configurations in /etc/bigbluebutton/bbb-web.properties and /etc/bigbluebutton/nginx/monitoring.nginx (for Grafana/Prometheus), I guess they will not be overriden?

2/ I have a very bad connection from where I am now, but anyway I am surprised to often (but not always) get this message when using 'bbb-conf --restart':
 Error: Could not connect to the configured hostname/IP address
But 'bbb-conf --check' shows no error and all services are running. I paste the output of 'bbb-conf --check' and my firewall status at the end of this message, in case it helps.

3/ I keep getting "Call failed (reason=IE error) (error 1004)" when trying to join the audio conference. When I installed BBB 2.3 it worked, but now the audio does not work any more and I cannot figure out why :-(
Audio conference from demo.bigbluebutton.org works fine.
My colleagues who have a much better Internet connection than I do not manage to reach the audio port either.

Any help would be much appreciated,

Mélanie

--------------------------------------------------------------------------------------------------------------------
output of 'bbb-conf --check'

BigBlueButton Server 2.3.9 (2408)
                    Kernel version: 4.15.0-153-generic
                      Distribution: Ubuntu 18.04.5 LTS (64-bit)
                            Memory: 32593 MB
                         CPU cores: 16

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

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server_name: mydomain.com
                              port: 80, [::]:80
                              port: 443 ssl

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: 1...myIP
                   external_rtp_ip: 1...myIP
                   external_sip_ip: 1...myIP

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

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback_host: mydomain.com
                 playback_protocol: https
                            ffmpeg: 4.2.4-1ubuntu0.1bbb2~18.04

/etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
                        proxy_pass: 1...myIP
                          protocol: http

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
                        kurento.ip: 1...myIP
                       kurento.url: ws://127.0.0.1:8888/kurento
                    kurento.sip_ip: 1...myIP
                    localIpAddress: 1...myIP
               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: 1820
                        kurentoUrl: wss://mydomain.com/bbb-webrtc-sfu
                  enableListenOnly: true
                    sipjsHackViaWs: true

/usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml (STUN Server)
                              stun: stun.l.google.com:19302

# Potential problems described below

---------------------------------------------------------
ufw status
Status: active

To                         Action      From
--                         ------      ----
1935/tcp                   ALLOW       Anywhere
443/tcp                    ALLOW       Anywhere
80/tcp                     ALLOW       Anywhere
30/tcp                     ALLOW       Anywhere
16384:32768/udp            ALLOW       Anywhere
20/tcp                     ALLOW       Anywhere
21/tcp                     ALLOW       Anywhere
40000:50000/tcp            ALLOW       Anywhere
990/tcp                    ALLOW       Anywhere
1935/tcp (v6)              ALLOW       Anywhere (v6)
443/tcp (v6)               ALLOW       Anywhere (v6)
80/tcp (v6)                ALLOW       Anywhere (v6)
30/tcp (v6)                ALLOW       Anywhere (v6)
16384:32768/udp (v6)       ALLOW       Anywhere (v6)
20/tcp (v6)                ALLOW       Anywhere (v6)
21/tcp (v6)                ALLOW       Anywhere (v6)
40000:50000/tcp (v6)       ALLOW       Anywhere (v6)
990/tcp (v6)               ALLOW       Anywhere (v6)


Mélanie Issac

unread,
Aug 26, 2021, 4:43:02 AM8/26/21
to bigbluebu...@googlegroups.com
Hi again,

A quick update to my own post...



2/ I have a very bad connection from where I am now, but anyway I am surprised to often (but not always) get this message when using 'bbb-conf --restart':
 Error: Could not connect to the configured hostname/IP address
But 'bbb-conf --check' shows no error and all services are running. I paste the output of 'bbb-conf --check' and my firewall status at the end of this message, in case it helps.


I checked bbb-conf script, this error message comes from this test:


if ! curl -sS $PROTOCOL://$BBB_WEB/bigbluebutton/api | grep -q SUCCESS; then
echo "# Error: Could not connect to the configured hostname/IP address"
echo "#"
echo "# $PROTOCOL://$BBB_WEB/"
echo "#"
echo "# If your BigBlueButton server is behind a firewall, see FAQ."
echo
fi

But when I try by hand in my browser to go to the URL https://mydomain.com/bigbluebutton/api
I get this:

<response>
<returncode>SUCCESS</returncode>
<version>2.0</version>
</response>


So I don't understand why I'm still getting the error message?🤔


3/ I keep getting "Call failed (reason=IE error) (error 1004)" when trying to join the audio conference. When I installed BBB 2.3 it worked, but now the audio does not work any more and I cannot figure out why :-(

It still does not work, after multiple server reboots and BBB restarts. 

I'm seriously considering reinstalling BBB 2.2.x 😭

Best regards

Philipp Memmel

unread,
Aug 26, 2021, 5:28:37 AM8/26/21
to bigbluebu...@googlegroups.com
Try disabling your firewall completely for debugging purposes. Also: Try
disabling the whole ipv6 stack on this machine.

Pypo

Am 26.08.2021 um 10:42 schrieb Mélanie Issac:
> Hi again,
>
> A quick update to my own post...
>
>
>
> 2/ I have a very bad connection from where I am now, but anyway I am
> surprised to often (but not always) get this message when using
> 'bbb-conf --restart':
> * Error: Could not connect to the configured hostname/IP address*
> But 'bbb-conf --check' shows no error and all services are running.
> I paste the output of 'bbb-conf --check' and my firewall status at
> the end of this message, in case it helps.
>
>
>
> I checked bbb-conf script, this error message comes from this test:
>
>
> if ! curl -sS $PROTOCOL://$BBB_WEB/bigbluebutton/api | grep -q SUCCESS; then
> echo "# Error: Could not connect to the configured hostname/IP address"
> echo "#"
> echo "# $PROTOCOL://$BBB_WEB/"
> echo "#"
> echo "# If your BigBlueButton server is behind a firewall, see FAQ."
> echo
> fi
>
>
> But when I try by hand in my browser to go to the URL
> https://mydomain.com/bigbluebutton/api
> <https://mydomain.com/bigbluebutton/api>
> I get this:
>
> <response>
> <returncode>SUCCESS</returncode>
> <version>2.0</version>
> </response>
>
>
> So I don't understand why I'm still getting the error message?🤔
>
>
> 3/ I keep getting *"Call failed (reason=IE error) (error 1004)"*
> when trying to join the audio conference. When I installed BBB 2.3
> it worked, but now the audio does not work any more and I cannot
> figure out why :-(
>
>
> It still does not work, after multiple server reboots and BBB restarts. 
>
> I'm seriously considering reinstalling BBB 2.2.x 😭
>
> Best regards
> Mélanie 
>
> --------------------------------------------------------------------------------------------------------------------
> output of 'bbb-conf --check'
>
> BigBlueButton Server 2.3.9 (2408)
>                     Kernel version: 4.15.0-153-generic
>                       Distribution: Ubuntu 18.04.5 LTS (64-bit)
>                             Memory: 32593 MB
>                          CPU cores: 16
>
> /etc/bigbluebutton/bbb-web.properties (override for bbb-web)
> /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web)
>        bigbluebutton.web.serverURL: https://mydomain.com
> <http://mydomain.com>
>                 defaultGuestPolicy: ALWAYS_ACCEPT
>                  svgImagesRequired: true
>
> /etc/nginx/sites-available/bigbluebutton (nginx)
>                        server_name: mydomain.com <http://mydomain.com>
>                               port: 80, [::]:80
>                               port: 443 ssl
>
> /opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
>                        local_ip_v4: 1...myIP
>                    external_rtp_ip: 1...myIP
>                    external_sip_ip: 1...myIP
>
> /opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
>                         ext-rtp-ip: $${local_ip_v4}
>                         ext-sip-ip: $${local_ip_v4}
>                         ws-binding:  1...myIP:5066
>                        wss-binding:  1...myIP:7443
>
> /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and
> playback)
>                      playback_host: mydomain.com <http://mydomain.com>
>                  playback_protocol: https
>                             ffmpeg: 4.2.4-1ubuntu0.1bbb2~18.04
>
> /etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
>                         proxy_pass: 1...myIP
>                           protocol: http
>
> /usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
>                         kurento.ip: 1...myIP
>                        kurento.url: ws://127.0.0.1:8888/kurento
> <http://127.0.0.1:8888/kurento>
>                     kurento.sip_ip: 1...myIP
>                     localIpAddress: 1...myIP
>                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: 1820
>                         kurentoUrl: wss://mydomain.com
> <http://mydomain.com>/bbb-webrtc-sfu
>                   enableListenOnly: true
>                     sipjsHackViaWs: true
>
> /usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml
> (STUN Server)
>                               stun: stun.l.google.com:19302
> <http://stun.l.google.com:19302>
>
> # Potential problems described below
>
> ---------------------------------------------------------
> ufw status
> Status: active
>
> To                         Action      From
> --                         ------      ----
> 1935/tcp                   ALLOW       Anywhere
> 443/tcp                    ALLOW       Anywhere
> 80/tcp                     ALLOW       Anywhere
> 30/tcp                     ALLOW       Anywhere
> 16384:32768/udp            ALLOW       Anywhere
> 20/tcp                     ALLOW       Anywhere
> 21/tcp                     ALLOW       Anywhere
> 40000:50000/tcp            ALLOW       Anywhere
> 990/tcp                    ALLOW       Anywhere
> 1935/tcp (v6)              ALLOW       Anywhere (v6)
> 443/tcp (v6)               ALLOW       Anywhere (v6)
> 80/tcp (v6)                ALLOW       Anywhere (v6)
> 30/tcp (v6)                ALLOW       Anywhere (v6)
> 16384:32768/udp (v6)       ALLOW       Anywhere (v6)
> 20/tcp (v6)                ALLOW       Anywhere (v6)
> 21/tcp (v6)                ALLOW       Anywhere (v6)
> 40000:50000/tcp (v6)       ALLOW       Anywhere (v6)
> 990/tcp (v6)               ALLOW       Anywhere (v6)
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "BigBlueButton-Setup" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to bigbluebutton-s...@googlegroups.com
> <mailto:bigbluebutton-s...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bigbluebutton-setup/CAD_wQLV3mrreHApwcmP4P3uB1mskEkD2ipxiTJX-3Dfdat6ioA%40mail.gmail.com
> <https://groups.google.com/d/msgid/bigbluebutton-setup/CAD_wQLV3mrreHApwcmP4P3uB1mskEkD2ipxiTJX-3Dfdat6ioA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

Mélanie Issac

unread,
Aug 26, 2021, 6:03:45 AM8/26/21
to bigbluebu...@googlegroups.com
Hi

Thanks for your answer, I'll try ASAP.

Can you tell me how I can disable IPV6 completely?
Won't this be a problem for iOS users?

Mélanie

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/4b39d6a9-9f6e-5fd0-cb49-96163c510a47%40gmail.com.

MIssac

unread,
Aug 26, 2021, 5:26:04 PM8/26/21
to BigBlueButton-Setup
Here are some news:

1/ Disabling the firewall (ufw disable) => no success, I still get
' Error: Could not connect to the configured hostname/IP address'

bbb-conf --debug shows the following:
 Original Exception (Redis::CannotConnectError): Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)

Following some forum thread I tried to start redis-server by hand (systemctl start redis-server) and ran 'bbb-conf --clean' again. No luck.

2/ I (tentatively) disabled IPv6 support of the Ubuntu server using
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1
I removed FreeSWICTH support for IPv6, following https://docs.bigbluebutton.org/support/troubleshooting#Troubleshooting_
and ran 'bbb-conf --clean' again.
Still the same ' Error: Could not connect to the configured hostname/IP address', and no luck with audio ICE 1004 error :-(

I think I will reinstall everything including my Ubuntu 18.04 from scratch :-( because I need to have the server to be in production by the end of this week :-(

But then something is not clear for me: last time I installed BBB 2.3 
1/ I used '-a' option to install demo API and everything was fine (audio + video OK and no errors)
2/ I purged demo API and ran the install script again with '-g' option instead of '-a' to install greenlight. Is it the proper way to install greenlight after testing the demo API?
3/ I migrated my old greenlight database (from a former BBB 2.2 installation) to the new greenlight directory and I got the greenlight interface OK, with all the user accounts correct. I followed the procedure described here https://groups.google.com/g/bigbluebutton-setup/c/ssyv7S9eSGw/m/rn5kKwBCCAAJ
But then, after some time, I began to get errors, and the audio failed.
Did I make an error when migrating greenlight database? I'm suspecting an error somewhere, because I have 2 postgres docker images running (9.5, presumably coming from the former BBB 2.2 server, and 13.2-alpine). Did someone fully describe a procedure to migrate a greenlight database from BBB 2.2 to BBB 2.3?

Regards,
Mélanie

Philipp Memmel

unread,
Aug 27, 2021, 3:56:14 AM8/27/21
to bigbluebu...@googlegroups.com
Sorry to hear that didn't help.

The different ways to install (-a or -g) cannot be the reason for your
audio problems.

Maybe someone else has an idea what's going wrong there?

Greenlight DB: There is documented how to migrate vom Postgres 9 to
Postgres 13:
https://docs.bigbluebutton.org/greenlight/gl-config.html#upgrading-postgresql-versions

Pypo
> <https://mydomain.com>
> > <http://mydomain.com <http://mydomain.com>>
> >                 defaultGuestPolicy: ALWAYS_ACCEPT
> >                  svgImagesRequired: true
> >
> > /etc/nginx/sites-available/bigbluebutton (nginx)
> >                        server_name: mydomain.com
> <http://mydomain.com> <http://mydomain.com <http://mydomain.com>>
> >                               port: 80, [::]:80
> >                               port: 443 ssl
> >
> > /opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
> >                        local_ip_v4: 1...myIP
> >                    external_rtp_ip: 1...myIP
> >                    external_sip_ip: 1...myIP
> >
> > /opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
> >                         ext-rtp-ip: $${local_ip_v4}
> >                         ext-sip-ip: $${local_ip_v4}
> >                         ws-binding:  1...myIP:5066
> >                        wss-binding:  1...myIP:7443
> >
> > /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and
> > playback)
> >                      playback_host: mydomain.com
> <http://mydomain.com> <http://mydomain.com <http://mydomain.com>>
> >                  playback_protocol: https
> >                             ffmpeg: 4.2.4-1ubuntu0.1bbb2~18.04
> >
> > /etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
> >                         proxy_pass: 1...myIP
> >                           protocol: http
> >
> > /usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml
> (Kurento SFU)
> >                         kurento.ip: 1...myIP
> >                        kurento.url: ws://127.0.0.1:8888/kurento
> <http://127.0.0.1:8888/kurento>
> > <http://127.0.0.1:8888/kurento <http://127.0.0.1:8888/kurento>>
> >                     kurento.sip_ip: 1...myIP
> >                     localIpAddress: 1...myIP
> >                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: 1820
> >                         kurentoUrl: wss://mydomain.com
> <http://mydomain.com>
> > <http://mydomain.com <http://mydomain.com>>/bbb-webrtc-sfu
> >                   enableListenOnly: true
> >                     sipjsHackViaWs: true
> >
> > /usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml
> > (STUN Server)
> >                               stun: stun.l.google.com:19302
> <http://stun.l.google.com:19302>
> > <http://stun.l.google.com:19302 <http://stun.l.google.com:19302>>
> <https://groups.google.com/d/msgid/bigbluebutton-setup/CAD_wQLV3mrreHApwcmP4P3uB1mskEkD2ipxiTJX-3Dfdat6ioA%40mail.gmail.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/bigbluebutton-setup/CAD_wQLV3mrreHApwcmP4P3uB1mskEkD2ipxiTJX-3Dfdat6ioA%40mail.gmail.com?utm_medium=email&utm_source=footer>>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "BigBlueButton-Setup" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to bigbluebutton-s...@googlegroups.com
> <mailto:bigbluebutton-s...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bigbluebutton-setup/024f15e7-da16-4db6-bd81-37a6b41024a9n%40googlegroups.com
> <https://groups.google.com/d/msgid/bigbluebutton-setup/024f15e7-da16-4db6-bd81-37a6b41024a9n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Mélanie Issac

unread,
Aug 27, 2021, 4:12:09 AM8/27/21
to bigbluebu...@googlegroups.com



Sorry to hear that didn't help.

The different ways to install (-a or -g) cannot be the reason for your
audio problems.

Anyway, if I reinstall everything again, what would be the best way to install greenlight after testing the API demo?


Maybe someone else has an idea what's going wrong there?

I was wondering whether the problem could come from the fact that I don't use '-w' option since I have set my own firewall. But I tested all the ports recommended for BBB installation and they are OK...

Greenlight DB: There is documented how to migrate vom Postgres 9 to
Postgres 13:
https://docs.bigbluebutton.org/greenlight/gl-config.html#upgrading-postgresql-version

Thanks, I'll try that 🙂

Mélanie 
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/ceeb7ecc-cec8-3219-968b-ef284cefc3bc%40gmail.com.

MIssac

unread,
Aug 28, 2021, 7:07:44 PM8/28/21
to BigBlueButton-Setup
Hello

I'm opening a new thread to narrow my issues ;-)

Here it is

Mélanie
Reply all
Reply to author
Forward
0 new messages