bbb-install icon indicating copy to clipboard operation
bbb-install copied to clipboard

bbb-install.sh fails without IPv6-support

Open TobiasEgg opened this issue 1 year ago • 1 comments

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.

TobiasEgg avatar Jul 01 '24 16:07 TobiasEgg

Thanks a lot. Our university network cannot use IPv6. I had a trouble on BBB2.7. When I modified install.sh, our BBB can work.

Takashi-Mishima avatar Oct 13 '24 14:10 Takashi-Mishima