bigbluebutton / bbb-install

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

bbb-install.sh fails without IPv6-support #747

Open TobiasEgg opened 3 months ago

TobiasEgg commented 3 months ago

If IPv6 is not enabled on the (future) BBB server, installation fails when trying to start nginx.

nginx: [emerg] bind() to [::1]:82 failed (99: Cannot assign requested address) nginx: configuration file /etc/nginx/nginx.conf test failed bbb-install: greenlight-v3 failed to install/update due to nginx tests failing to pass - if using the official image then please contact the maintainers.

So, here I am, contacting the maintainers.

A work around is to download the script, edit it and remove lines 1536, 1538

1535 listen 127.0.0.1:82 http2 proxy_protocol; 1536 listen [::1]:82 http2; 1537 listen 127.0.0.1:81 proxy_protocol; 1538 listen [::1]:81; 1539 server_name $HOST;

Rather than working around, it would be great to have a command line parameter like "--no-ipv6" for bbb-install.sh, which automatically ignores these lines. In a perfect world, bbb-install.sh would automatically make freeswitch fall back to IPv4 by removing the v6-config.

Thank you.