Install BBB V3 fails

270 views
Skip to first unread message

Wolfgang Pein

unread,
Jul 4, 2024, 2:45:33 PMJul 4
to BigBlueButton-Setup
Hi all,
I have a setup with BBB on a virtual machine behind a Router (FritzBox). All Internet traffic is routed to this virtual machine (exposed host). The local network is 192.168.178.0/24.
This setup worked for BBB V2.6.
I now tried to install BBB V3 on a fresh virtual machine but installation fails.
Once installation is finished I can connect to Greenlight but when I create/join a room I get "502 bad gateway" nginx error.

bbb-conf --status show all modules active.

The installation ends with the following message (xxx.xxx.xxx.xx is the public IP in my setup i.e. FritzBox public IP)):

# Potential problems described below
...............................................
# Warning: You have this server defined for https, but in
#
#   /usr/share/bigbluebutton/nginx/sip.nginx
#
#  did not find the use of https in definition for proxy_pass
#
#            proxy_pass http://xxx.xxx.xxx.xx:5066;
#
# Warning: The setting of xxx.xxx.xxx.xx for proxy_pass in
#
#    /usr/share/bigbluebutton/nginx/sip.nginx
#
# does not match the local IP address (192.168.178.51).
# (This is OK if you've manually changed the values)


# Warning: You have this server defined for https, but in
#
#   /usr/share/bigbluebutton/nginx/sip.nginx
#
#  did not find the use of port 7443 in definition for proxy_pass
#
#            proxy_pass http://xxx.xxx.xxx.xx:5066;
#

#
# bbb-webrtc-sfu will try to connect to null but FreeSWITCH is listening on xxx.xxx.xxx.xx for port 5066
#
# To fix, run the commands
#
# sudo yq e -i 'freeswitch.sip_ip' = 178.202.19.79 /etc/bigbluebutton/bbb-webrtc-sfu/production.yml
# sudo chown bigbluebutton:bigbluebutton /etc/bigbluebutton/bbb-webrtc-sfu/production.yml
#

I do not understand the message nor do I know how to further dig into trouble shooting. I am wondering why FreeSWITCH is listening on the public IP instead on the local IP.

Any idea what may cause this problem?

Here is the install script I used:

sudo wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v3.0.x-release/bbb-install.sh | bash -s -- -w -v jammy-300 -s <my FritzBox domain name - Myfritz> -e <mail adress> -g

Any help is appreciated.

Thanks
Wolfgang

P.S.: The commands at the end of the install procedure ("to fix run the commands") did not work resp. did not change the behaviour. I also restarted BBB - no change (same messages)

Wolfgang Pein

unread,
Jul 6, 2024, 5:00:10 AMJul 6
to BigBlueButton-Setup
Hi all,
some additional information:

at the end of the install script 2 files are mentioned: /usr/share/bigbluebutton/nginx/sip.nginx   and  /etc/bigbluebutton/bbb-webrtc-sfu/production.yml
File  /usr/share/bigbluebutton/nginx/sip.nginx is identical on both BBB v2.6 and V3
But File  /etc/bigbluebutton/bbb-webrtc-sfu/production.yml on V3 is different from V2.6: there is an additional entry for Freeswitch just before mediasoup conf:

freeswitch:
  esl_password: <string>
  ip: <public IP>
  sip_ip: <public IP>

Maybe ip: <public IP> must be changed from public IP to 0.0.0.0  (same as on mediasoup conf)?

Just a guess!

Thanks for any help!

Wolfgang

Wolfgang Pein

unread,
Sep 7, 2024, 11:49:16 AMSep 7
to BigBlueButton-Setup
With the new Beta Version I could now successfully install BBB V3. Actually I migrated from the alpha-version to the Beta-Version by re-running the install script.
Please note that I got the error message as stated in the docs ("  Configuration file '/etc/default/bbb-graphql-server'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
==> Keeping old config file as default.
...     ")
This could be resolved (as stated in the docs) by running the command: sudo mv /etc/default/bbb-graphql-server.dpkg-dist /etc/default/bbb-graphql-server
followed by  sudo bbb-conf --restart

Thanks to the developement team - great job!

Wolfgang

Fred Dixon

unread,
Sep 8, 2024, 8:05:30 AMSep 8
to bigbluebu...@googlegroups.com
> Thanks to the developement team - great job!

Thanks for the feedback -- it's been a journey and we welcome the help and feedback of others.

Regards,... Fred

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/42e7f6ef-d92f-4e81-bc8f-0aef5c58ee3en%40googlegroups.com.


--
Co-founder BigBlueButton

Like BigBlueButton?  Tweet us at @bigbluebutton
Reply all
Reply to author
Forward
0 new messages