forked from bigbluebutton/bigbluebutton
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: try to remove frontend and leave only bbb-html5
- Loading branch information
1 parent
be7fad8
commit df5a706
Showing
10 changed files
with
29 additions
and
38 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
build/packages-template/bbb-html5/bbb-html5-loadbalancer.conf
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,22 @@ case "$1" in | |
rm -r /usr/share/meteor/bundle/programs/server/node_modules | ||
fi | ||
|
||
# Remove remnants from old architecture prior to BBB 3.0.x-alpha.6 | ||
if [ -f /usr/lib/systemd/system/[email protected] ]; then | ||
rm /usr/lib/systemd/system/[email protected] | ||
fi | ||
if [ -f /usr/lib/systemd/system/[email protected] ]; then | ||
rm /usr/lib/systemd/system/[email protected] | ||
fi | ||
if [ -f /etc/nginx/conf.d/bbb-html5-loadbalancer.conf ]; then | ||
rm /etc/nginx/conf.d/bbb-html5-loadbalancer.conf | ||
fi | ||
if [ -f /etc/nginx/conf.d/bbb-html5-conn-limit.conf ]; then | ||
rm /etc/nginx/conf.d/bbb-html5-conn-limit.conf | ||
fi | ||
if [ -f /etc/bigbluebutton/bbb-html5-with-roles.conf ]; then | ||
echo "BigBlueButton 3.0+ does not support configurations in /etc/bigbluebutton/bbb-html5-with-roles.conf" | ||
fi | ||
|
||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -126,25 +126,16 @@ public: | |
Create (or edit if it already exists) these unit file overrides: | ||
* `/usr/lib/systemd/system/[email protected]` | ||
* `/usr/lib/systemd/system/[email protected]` | ||
* `/usr/lib/systemd/system/bbb-html5.service` | ||
|
||
Each should have the following content: | ||
Should have the following content: | ||
|
||
``` | ||
[Service] | ||
Environment=ROOT_URL=https://127.0.0.1/bbb-01/html5client | ||
Environment=DDP_DEFAULT_CONNECTION_URL=https://bbb-01.example.com/bbb-01/html5client | ||
``` | ||
|
||
Change the nginx `$bbb_loadbalancer_node` variable to the name of the load | ||
balancer node in `/usr/share/bigbluebutton/nginx/loadbalancer.nginx` to allow CORS | ||
requests: | ||
|
||
``` | ||
set $bbb_loadbalancer_node https://bbb-proxy.example.com; | ||
``` | ||
|
||
Prepend the mount point of bbb-html5 in all location sections except for the | ||
`location @html5client` section in `/usr/share/bigbluebutton/nginx/bbb-html5.nginx`: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,6 @@ Starting with BigBlueButton 2.3 many of the configuration files have local overr | |
| /usr/share/bbb-apps-akka/conf/application.conf | /etc/bigbluebutton/bbb-apps-akka.conf | | | ||
| /usr/share/bbb-fsesl-akka/conf/application.conf | /etc/bigbluebutton/bbb-fsesl-akka.conf | | | ||
| /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml | /etc/bigbluebutton/bbb-html5.yml | Arrays are merged by replacement (as of 2.4-rc-5) | | ||
| /usr/share/meteor/bundle/bbb-html5-with-roles.conf | /etc/bigbluebutton/bbb-html5-with-roles.conf | | | ||
| /usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml | /etc/bigbluebutton/turn-stun-servers.xml | Replaces the original file | | ||
| /usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml | /etc/bigbluebutton/bbb-webrtc-sfu/production.yml | Arrays are merged by replacement | | ||
| /usr/local/bigbluebutton/bbb-pads/config/settings.json | /etc/bigbluebutton/bbb-pads.json | Arrays are merged by replacement | | ||
|
@@ -81,17 +80,13 @@ public: | |
|
||
#### Log monitoring for server logs (bbb-html5) | ||
|
||
Since BigBlueButton 2.3 we run multiple nodejs processes in production mode, so tailing logs is slightly different from `journalctl -f bbb-html5.service` which was used in 2.2. Rather than listing all the services ( `[email protected] bbb-html5-backend@2.service bbb-html5[email protected] [email protected] [email protected] [email protected] ...` ) you can use the wildcard operator `*`. Notice the different process id for each bbb-html5-\* service. Also notice `systemd_start_frontend.sh` signifying a log from a frontend process vs `systemd_start.sh` - backend process. | ||
In BigBlueButton 3.0 we modified the architecture to shift the load away from the old frontend and backend bbb-html5 pools of services. Logs for the new services can be foud via: | ||
|
||
``` | ||
# journalctl -f -u bbb-html5-* | ||
-- Logs begin at Mon 2021-03-15 12:13:05 UTC. -- | ||
Mar 15 15:14:18 demo2 systemd_start_frontend.sh[3881]: debug: Redis: SendCursorPositionEvtMsg completed sync | ||
Mar 15 15:14:18 demo2 systemd_start_frontend.sh[3891]: debug: Redis: SendCursorPositionEvtMsg completed sync | ||
Mar 15 15:14:18 demo2 systemd_start_frontend.sh[3888]: debug: Publishing Polls {"meetingId":"37d0fb4f4617b3c97948d717435f9e1cf6998477-1615821214341","userId":"w_el87iar97iwa"} | ||
... | ||
Mar 15 15:30:18 demo2 systemd_start.sh[3869]: debug: Redis: UpdateBreakoutUsersEvtMsg completed sync | ||
``` | ||
`journalctl -f -u bbb-html5.service` | ||
|
||
Akka-apps is responsible for most of the logic, so key info can be obtained via | ||
|
||
`journalctl -f -u bbb-apps-akka.service` | ||
|
||
#### Logs sent directly from the client | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters