Coturn installation fails with install.sh Script

117 views
Skip to first unread message

Wolfgang Pein

unread,
Mar 30, 2021, 1:58:40 PM3/30/21
to BigBlueButton-dev

Hi all,

Today I tried to install a fresh Coturn Server on Ubuntu 20.04 with the bbb-install.sh script but failed initially.

Because there is no Ubuntu 20.04 minimal as recommended I used the standard Ubuntu 20.04 server ISO.

According to the documentation I tried to install coturn with the following command

wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -c <URL>:<secret> -e <mail-adress>

The script fails with the message: "Waiting for port 443 to clear"

Obviously the script tries to find out whether port 443 is used by somebody else (which is not the case).

So I downloaded the script and modified it by commenting out the 2 lines with the command "wait_443".

The script now no longer produces the error message and seem to finish properly.
I would be good idea to see a message like "Installation was successful"!!

Our Bigbluebutton server runs on Version 2.3dev-alpha8!! I had some trouble to get the Turn-Server running with Bigbluebutton but finally it worked (basically it was my fault - I used a wrong Turn-Server URL in the Bigbluebutton conf file).

Hope this helps!

Wolfgang

Jens Elkner

unread,
Mar 30, 2021, 2:40:53 PM3/30/21
to 'Wolfgang Pein' via BigBlueButton-dev
On Tue, Mar 30, 2021 at 10:58:40AM -0700, 'Wolfgang Pein' via BigBlueButton-dev wrote:
Hi Wolfgang,

> Today I tried to install a fresh Coturn Server on Ubuntu 20.04 with the
> bbb-install.sh script but failed initially.
>
> Because there is no Ubuntu 20.04 *minimal* as recommended I used the
> standard Ubuntu 20.04 server ISO.

FWIW: Not sure about bbb-install.sh, but I prefer to have a coturn
instance, which doesn't get "destroyed" by bbb or depends on bbb (or
anything else). So I use
http://iks.cs.ovgu.de/~elkner/tmp/bbb/coturn-install.sh to install it
wherever I want to (usually in a minimal lxc container of course) and
can use whatever Ubuntu release I want (and relax wrt. getting security
bugs fixed in time by relying on vendor packages ;-)).

The "downside" is, that you need to adjust related freeswitch/bbb
settings manually. So check:

coturn: /etc/turnserver.conf

Freeswitch: /etc/freeswitch/vars.xml
- /include/X-PRE-PROCESS@set@data "local_ip_v4=${freeswitchServerIP}"
(default: "local_ip_v4=10.0.3.66")
- /include/X-PRE-PROCESS@set@data
"external_rtp_ip=stun:${stunServerIP:port}"
(default: "external_rtp_ip=stun:stun.freeswitch.org")
- /include/X-PRE-PROCESS@set@data
"external_sip_ip=stun:${stunServerIP:port}"
(default: "external_sip_ip=stun:stun.freeswitch.org")

BBB: /usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml


Have fun,
jel.
--
Otto-von-Guericke University http://www.cs.uni-magdeburg.de/
Department of Computer Science Geb. 29 R 027, Universitaetsplatz 2
39106 Magdeburg, Germany Tel: +49 391 67 52768
Reply all
Reply to author
Forward
0 new messages