bigbluebutton / bbb-install

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

Install package collision between "haproxy" and "percona-harproxy" #605

Open GhaziTriki opened 1 year ago

GhaziTriki commented 1 year ago

With the following use case. Have a Percona PostgreSQL Server installed on the same sever of BigBlueButton to be used for Greenlight. The "percona-harproxy" package is installed.

We have the install error below

dpkg: error processing archive /var/cache/apt/archives/haproxy_2.0.29-0ubuntu1.3_amd64.deb (--unpack):
 trying to overwrite '/etc/haproxy/errors/400.http', which is also in package percona-haproxy 2:2.5.9-1.focal
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/haproxy_2.0.29-0ubuntu1.3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
ffdixon commented 1 year ago

Thanks for reporting this. There are a few options.

  1. You can disable the installation of haproxy by passing '-c :' to configure BigBlueButton 2.6 to use the specified TURN server (this mimics the behaviour of 2.5). See https://github.com/bigbluebutton/bbb-install/blob/master/bbb-install-2.6.sh#L314.

  2. You could do (1), manually install coturn, and then apply the configuration changes to percona-haproxy for it to route incoming 443 traffic to the local turn server.

  3. As a variation of (2), you could create a dummy package for haproxy (did a quick search and found the steps here) so the install script thinks it's already installed and continues with the rest of the configuration steps and then adjust the configuration, if needed, to work with percona-haproxy.

Let us know if any of the above help you get further.