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

[2.6-beta3] Installation script does not respect -p option

Open motsiw opened this issue 2 years ago • 2 comments

Describe the bug Installation script does not work behind a forwarding proxy ootb, because Kurento key cannot be added and times out. Option -p is not respected here, but it should be.

If yo replace manually sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5AFA7A83 with sudo apt-key adv --keyserver keyserver.ubuntu.com --keyserver-options http-proxy=http://<myproxy>:<port> --recv-keys 5AFA7A83 the installation script works. When using the -p option, this should be done automatically.

Installation type bbb-install-2.6.sh

Firewall and IP address type Behind firewall, using corportate proxy.

motsiw avatar Dec 22 '22 14:12 motsiw

Hi @motsiw I will transfer this to the bbb-install repository as it's more relevant there. Meanwhile, do you see either of these lines in your logs? https://github.com/bigbluebutton/bbb-install/blob/master/bbb-install-2.6.sh#L153-L156

Could you also check the content of /etc/apt/apt.conf.d/01proxy

antobinary avatar Dec 22 '22 14:12 antobinary

Hi @antobinary, I see these lines, but apt-key doesn't respect the apt conf settings and wishes to get its own proxy options in the command line. That's why I created this issue. In the end, it may be seen as a bug in apt-key, but it has been like this for many years now, so there's little hope that this one will ever be fixed in apt-key. Let's call it a known issue.

Fact is: The installation script will not work behind a forwarding proxy because auf this issue, so it should deal with it.

motsiw avatar Dec 22 '22 14:12 motsiw