Scalite guide for BBB

569 views
Skip to first unread message

CAPTAIN ZARAKI

unread,
Oct 4, 2023, 3:01:05 AM10/4/23
to BigBlueButton-Setup
Hey all,
I am trying to scale up my BBB server so manage higher number of rooms and users.
But I have not found any step by step guide and the default guides are little confusing.
So, please let me know if there's any such guide available.
Thanks

Jean Pluzo

unread,
Oct 4, 2023, 6:55:56 AM10/4/23
to BigBlueButton-Setup
Hi,

first a heads up: even though Scalelite will allow you to support more users and rooms, you have to setup at least another BBB server.
Scalelite does load balancing, which means it will check your BBB servers (this is why you need at least two for SL to work) and assign the meetings on the least loaded server.
This does NOT mean it will increase the capacity of a single BBB server.
One of the SL developers wrote simpler instructions in the scalelite-run repository. There you can find two links to Scalelite lazy deployment (parts I and II). I suggest you follow these articles.
The main SL repository works the same way as SL-run does, but the former controls everything through init-scripts (systemd units) and the latter does this in a simpler way (my opinion) through docker compose scripts. In the end, both work with docker containers.

Regards,
J.

CAPTAIN ZARAKI

unread,
Oct 5, 2023, 12:06:22 AM10/5/23
to bigbluebu...@googlegroups.com
Hey Jean,
Thanks for sharing the information.
However there is a little change in .env file of latest version of scalelite-run 
there are 4 required fields-
### Required across containers
SECRET_KEY_BASE=
DOMAIN_NAME=

### Required by scalelite-api
LOADBALANCER_SECRET=
SL_HOST=

In the documentation there is no DOMAIN_NAME and SL_HOST but URL_HOST is there which is scalelite server domain url. so SL_HOST is same as URL_HOST but I am not sure what is DOMAIN_NAME.
Thanks

--
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-setup/5_pNCii3t1Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/9326c6f3-e463-448a-a3b7-d342ce5aef8en%40googlegroups.com.
Message has been deleted

CAPTAIN ZARAKI

unread,
Oct 5, 2023, 10:57:16 PM10/5/23
to BigBlueButton-Setup
I was able to run docker-compose up -d by setting as- DOMAIN_NAME and SL_HOST= scalelite.org.xyz
but while running ./init-letsencrypt.sh I am getting this error-

Existing data found for . Continue and replace existing certificate? (y/N) y
### Creating dummy certificate for  ...
Creating scalelite-run_certbot_run ... done
Generating a RSA private key
................+++++
.....................................................+++++
writing new private key to '/etc/letsencrypt/live//privkey.pem'
-----

### Starting scalelite-proxy ...
Recreating certbot  ... done
Recreating postgres ... done
Recreating redis    ... done
Recreating scalelite-api ... done
Recreating scalelite-recordings ... done
Recreating scalelite-proxy      ... done

### Deleting dummy certificate for  ...
Creating scalelite-run_certbot_run ... done

### Requesting Let's Encrypt certificate for  ...
Creating scalelite-run_certbot_run ... done
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter 'c' to cancel): scalelite.video.wiki
Requesting a certificate for scalelite.video.wiki

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Challenges loaded. Press continue to submit to CA.
Pass "-v" for more info about challenges.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Press Enter to Continue

Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
  Domain: scalelite.org.xyz
  Type:   connection
  Detail: 108.143.some_ip: Fetching http://scalelite.org.xyz/.well-known/acme-challenge/Ki2Gw6Abr0UO9cihx8puuyu_js3goYyCSvllc7zhDis: Connection refused

Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.

Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
ERROR: 1

### Reloading scalelite-proxy...
OCI runtime exec failed: exec failed: unable to start container process: error executing setns process: exit status 1: unknown

Jean Pluzo

unread,
Oct 6, 2023, 3:17:22 AM10/6/23
to BigBlueButton-Setup
Hi,
it seems you have a Firewall in your server.
certbot (invoked by the init-letsencrypt.sh script) starts a small server in port 80/443 and tries to get the acme server (where you get the cert from) to read a "challenge" in the server where it's being deployed. If for some reason this communication is not possible, it normally means you have something (firewall) blocking certbot.
Also, take a look at the certbot logs. You should get more info there.

Regards,
J.

CAPTAIN ZARAKI

unread,
Oct 6, 2023, 6:00:11 AM10/6/23
to bigbluebu...@googlegroups.com
I tried to install an ssl certificate using cli only without init-letsencrypt.sh file and it worked and ports were also opened. It's only failing with the init file.
I will do more digging and get back to you


--
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-setup/5_pNCii3t1Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-s...@googlegroups.com.

CAPTAIN ZARAKI

unread,
Oct 9, 2023, 4:11:17 AM10/9/23
to bigbluebu...@googlegroups.com
Hey,
I did some more testing but the problem is with the init-letsencrypt.sh file. I tried to run another project on the same instance and it worked. I installed ssl by- apt install nginx certbot python3-certbot-nginx. but with  init-letsencrypt.sh file it always fails I also saw someone with same issue on medium guide comments recently and also explored github for init-letsencrypt.sh file it's full of same issues https://github.com/wmnnd/nginx-certbot/issues.
 

Anand Christudas

unread,
Apr 4, 2024, 9:03:28 PM4/4/24
to BigBlueButton-Setup
Hi Captain,

Were you able to install Scalelite using the lazy installation if so could you please guide me through it? Im trying to install it for the last few days and it doesn't seem to work. Thanks a lot.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages