bigbluebutton / greenlight

A really simple end-user interface for your BigBlueButton server.
GNU Lesser General Public License v3.0
794 stars 3.8k forks source link

Emergency Help Req | nginx: [emerg] bind() to [::1]:82 failed (99: Cannot assign requested address) #5626

Closed more-zamani closed 5 months ago

more-zamani commented 10 months ago

I've just installed BBB 2.3.7 on my server with a fresh Ubuntu using BBB-Install tools. But at the end of installation process, I get this error:

Restarting BigBlueButton 2.7.3 ...
Stopping BigBlueButton

Applying updates in /etc/bigbluebutton/bbb-conf/apply-config.sh:
  - Enable Firewall and opening 22/tcp, 80/tcp, 443/tcp and 16384:32768/udp
Skipping adding existing rule
Skipping adding existing rule (v6)
Skipping adding existing rule
Skipping adding existing rule (v6)
Skipping adding existing rule
Skipping adding existing rule (v6)
  - Local haproxy detected and running -- opening port 3478
Skipping adding existing rule
Skipping adding existing rule (v6)
Firewall is active and enabled on system startup

Reloading NginX configuration
Starting BigBlueButton
Warning: apt-key output should not be parsed (stdout is not a terminal)
/usr/bin/docker
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'docker-compose' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
bbb-install: preparing and checking the environment to install/update greelight-v3...
bbb-install: pulling latest bigbluebutton/greenlight:v3 image...
v3: Pulling from bigbluebutton/greenlight
Digest: sha256:62ff7a209f3ae313b73374e1005413686fbdbd14a6e9845e55132a20c405d523
Status: Image is up to date for bigbluebutton/greenlight:v3
docker.io/bigbluebutton/greenlight:v3
bbb-install: checking the configuration of greenlight-v3...
'/root/greenlight-v3/.env' -> '/root/greenlight-v3/.env.old'
bbb-install: old .env file can be retrieved at /root/greenlight-v3/.env.old
'/usr/share/bigbluebutton/nginx/greenlight-v3.nginx' -> '/usr/share/bigbluebutton/nginx/greenlight-v3.nginx.old'
bbb-install: old greenlight-v3 nginx config can be retrieved at /usr/share/bigbluebutton/nginx/greenlight-v3.nginx.old
bbb-install: added greenlight-v3 nginx file
bbb-install: Deploying Greenlight on the '/' path...
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.

I even added net.ipv4.ip_nonlocal_bind = 1 based on this solution, but it didn't affect anything

anandcdas commented 6 months ago

Enable ipv6 it will work