Updates of BBB cause /opt/freeswitch/conf/sip_profiles/external.xml to get overwritten

536 views
Skip to first unread message

Sven Brozio

unread,
Nov 20, 2019, 6:52:32 AM11/20/19
to BigBlueButton-dev
Hello, I noticed that everytime I update BBB, I have to repeat the steps from https://docs.bigbluebutton.org/2.2/configure-firewall.html#update-freeswitch

The File /opt/freeswitch/conf/sip_profiles/external.xml gets overwritten and the part:
    <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
   
<param name="ext-sip-ip" value="$${external_sip_ip}"/>

gets overwritten with
<param name="ext-rtp-ip" value="$${local_ip_v4}"/>
<param name="ext-sip-ip" value="$${local_ip_v4}"/>

If it's not possible to change this behaviour, maybe it would make sense to at least display a message during the update to tell the user he has to check his/her configuration and include a hint in the documentation. As far as I checked, this is the only configuration that gets overwritten;
/opt/freeswitch/conf/vars.xml doesn't seem to be affected.

Fred Dixon

unread,
Nov 20, 2019, 8:25:06 AM11/20/19
to BigBlueButton-dev
Hi Sven,

Is it an option for you to use bbb-install.sh to update your server, see


It will re-apply these settings when you have an external IP address.  Here are the lines that make the change



Regards,... Fred

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/4029bd80-a2f5-4d38-899e-75c48bf40175%40googlegroups.com.


--
BigBlueButton Developer

Like BigBlueButton?  Tweet us at @bigbluebutton

Alex

unread,
Nov 20, 2019, 11:12:08 AM11/20/19
to BigBlueButton-dev
Hey Fred.

Do you mind posting a list of config files that get affected by updates so that I could backup them ?

Regards,
Alex

On Wednesday, November 20, 2019 at 4:25:06 PM UTC+3, Fred Dixon wrote:
Hi Sven,

Is it an option for you to use bbb-install.sh to update your server, see


It will re-apply these settings when you have an external IP address.  Here are the lines that make the change



Regards,... Fred

On Wed, Nov 20, 2019 at 12:52 PM 'Sven Brozio' via BigBlueButton-dev <bigblueb...@googlegroups.com> wrote:
Hello, I noticed that everytime I update BBB, I have to repeat the steps from https://docs.bigbluebutton.org/2.2/configure-firewall.html#update-freeswitch

The File /opt/freeswitch/conf/sip_profiles/external.xml gets overwritten and the part:
    <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
   
<param name="ext-sip-ip" value="$${external_sip_ip}"/>

gets overwritten with
<param name="ext-rtp-ip" value="$${local_ip_v4}"/>
<param name="ext-sip-ip" value="$${local_ip_v4}"/>

If it's not possible to change this behaviour, maybe it would make sense to at least display a message during the update to tell the user he has to check his/her configuration and include a hint in the documentation. As far as I checked, this is the only configuration that gets overwritten;
/opt/freeswitch/conf/vars.xml doesn't seem to be affected.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigblueb...@googlegroups.com.

Fred Dixon

unread,
Nov 20, 2019, 1:03:41 PM11/20/19
to BigBlueButton-dev
Hi Alex,


> Do you mind posting a list of config files that get affected by updates so that I could backup them ?

It's safest to assume all of them are affected.  In years past, we tried to migrate configuration changes on package updates, but it lead to problems when we didn't get the logic right.  

Now, we state it is the responsibility of the administrator to re-apply any changes they made outside of using bbb-conf or bbb-installl.sh.  This way, there is no ambiguity.

Regards,... Fred

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/bdc282a3-17bc-4747-9d06-7d8102f0fd9b%40googlegroups.com.

Sven Brozio

unread,
Nov 21, 2019, 6:20:46 AM11/21/19
to BigBlueButton-dev
Hi Fred,

I'll keep it in mind for the next time but personally I prefer running the updates via apt and editing the files manually later as I try to understand what each software on my servers does and why it does it.
bbb-install.sh is a great workaround for others who are concerned and want a quick solution but it would be a lot easier for most people to just get asked when using apt-get.

That being said, I understand that it's a nightmare to try to cover all special cases, though I don't really think firewalls are a special case in most companies.

Aside from this small "issue", BBB+Greenlight+TURN is working swimmingly now, we're currently evaluating BBB and since we installed our own TURN server the other day, there have been no issues whatsoever, we are really impressed. Great work!

Am Mittwoch, 20. November 2019 14:25:06 UTC+1 schrieb Fred Dixon:
Hi Sven,

Is it an option for you to use bbb-install.sh to update your server, see


It will re-apply these settings when you have an external IP address.  Here are the lines that make the change



Regards,... Fred

On Wed, Nov 20, 2019 at 12:52 PM 'Sven Brozio' via BigBlueButton-dev <bigblueb...@googlegroups.com> wrote:
Hello, I noticed that everytime I update BBB, I have to repeat the steps from https://docs.bigbluebutton.org/2.2/configure-firewall.html#update-freeswitch

The File /opt/freeswitch/conf/sip_profiles/external.xml gets overwritten and the part:
    <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
   
<param name="ext-sip-ip" value="$${external_sip_ip}"/>

gets overwritten with
<param name="ext-rtp-ip" value="$${local_ip_v4}"/>
<param name="ext-sip-ip" value="$${local_ip_v4}"/>

If it's not possible to change this behaviour, maybe it would make sense to at least display a message during the update to tell the user he has to check his/her configuration and include a hint in the documentation. As far as I checked, this is the only configuration that gets overwritten;
/opt/freeswitch/conf/vars.xml doesn't seem to be affected.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigblueb...@googlegroups.com.

Fred Dixon

unread,
Nov 21, 2019, 6:28:46 AM11/21/19
to BigBlueButton-dev
Hi Sven,

Thanks for the feedback -- we're going to make it easier to keep your server properly configured in future updates to BigBlueButton.;

Regards,... Fred


To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/75930fa6-7681-4bb8-a62d-fe8de5ecf9c7%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages