Scalelite Docker deployment and upgrades

Upgrading a Scalelite pool means changing containers, databases and BigBlueButton host builds in a fixed order without ending scheduled classes. This page covers the supported BigBlueButton 4.0 path, backups, rollback points and the drivers of effort.

On this page

How to plan a Scalelite upgrade without ending classes

An upgrade has two moving parts: the Scalelite containers and the BigBlueButton servers behind them. BigBlueButton 4.0 does not upgrade directly from 2.6, 2.7 or 3.0, so each server gets a clean installation on Ubuntu 24.04 64-bit, which makes the change a rebuild of the pool. The reason to move is that BigBlueButton 4.0.0 was released on October 14, 2026, while the 3.0 branch still gets maintenance releases such as 3.0.39, published on October 2, 2026. Staying on 3.0 for a while is a reasonable choice, but it should be a dated decision that someone reviews. Before you set that date, confirm that each server meets the 4.0 minimums of 16 GB of RAM with swap, 8 CPU cores with high single-thread performance, and 500 GB of disk for recordings (or 50 GB without recording).

The supported path is a parallel build. Install new 4.0 servers on clean hosts, add them to the Scalelite pool, and drain the old servers using the steps in the draining section. Decide whether old and new servers share the pool during the transition, and confirm that choice against the Scalelite repository for your target tag. On the Scalelite side, the containers are pinned with SCALELITE_TAG, so set that value deliberately and keep it fixed for the whole window. Take the container changes for that tag, including the compose file and environment settings, from the Scalelite repository, and compare them with your running copy before you deploy anything.

Plan the window from the class schedule first, then from the software. List every scheduled session that touches the pool, confirm which servers stay up during each step, and rehearse the cutover on a staging pool if you have one. Back up PostgreSQL and Redis before any Scalelite container change, because the pool's state lives there, and confirm that the NFS volume holding recordings mounts cleanly before you begin. Keep the old servers available until one full cycle of scheduled classes has run cleanly on the new pool, and record who approves retiring them. That written rollback point is the difference between a missed class and a delayed one.

What changes in BigBlueButton 4.0 for a Scalelite pool

This table compares what changed in BigBlueButton 4.0 with the setup most Scalelite pools already run, so you can see which servers and settings need work before the pool moves. Read each row as a change, its effect on your pool, and the step to take before you add a server. The main takeaway is that 4.0 needs clean installs, so plan each server rebuild around draining it in Scalelite first.

ChangeImpactAction needed
Release and branchBigBlueButton 4.0.0 was released on October 14, 2026, and the 3.0 branch continues with maintenance releases such as 3.0.39 on October 2, 2026.Check the BigBlueButton releases page for the current 4.0 point release before you build the pool.
Upgrade pathDirect upgrades from 2.6, 2.7 or 3.0 to 4.0 are not supported.Rebuild each pool server from a clean installation, draining it in Scalelite first.
Operating system and hardwareUbuntu 24.04 64-bit, 16 GB RAM with swap, 8 cores and 250 Mbit/s symmetrical are the 4.0 minimums.Check each replacement server against these minimums, including high single-thread CPU performance, before enabling it.
Disk for recordingsPlan 500 GB with recording, or 50 GB without recording, as the 4.0 minimum disk size.Size local disk for your recording setup, and confirm how Scalelite's NFS volume will hold published recordings.
Network portsTCP 80 and 443 and UDP 16384 to 32768 must be reachable, with a valid hostname for SSL.Open these ports in each server's firewall and cloud security group, and confirm DNS before installing.
Docker for LibreOfficeDocker is needed for sandboxed LibreOffice document conversion on each server.Install and test Docker on every pool server, then upload a test presentation before enabling it.
Greenlight or LTIbbb-install.sh can install Greenlight or LTI support on the same server as BigBlueButton.Decide whether any pool server hosts a front end, and set the matching bbb-install.sh options at install.
Scalelite container changesThe Scalelite containers for your target SCALELITE_TAG may differ from the versions you run now.Confirm the container changes for your target SCALELITE_TAG in the Scalelite repository before upgrading.

What to back up before a Scalelite upgrade starts

Scalelite's state lives in four places: PostgreSQL, Redis, the NFS recordings volume and the settings around them. The cards below cover each one, plus the inventory and staging pool that let you check an upgrade before production. Record each result as a confirmed check with a date and an owner.

PostgreSQL backup and tested restore

Scalelite keeps its pool and meeting records in PostgreSQL, so a dump taken just before the upgrade is the state you return to if the upgrade fails. Confirm that the dump completes, that its size and timestamp look right, and that the credentials and container settings needed to load it are written down. Restore the dump into a separate database and check that the API still lists your servers. A backup nobody has restored is only a file.

Scalelite repository

Redis state and the empty pool

Redis holds Scalelite's cache, so the key question is what the pool does when it starts empty. Before the upgrade, record which servers Scalelite lists, which meetings it routes and how long the pool takes to show a full set of servers again after a restart. Confirm whether meetings already running keep their routing when Redis is flushed. Run that test in staging before any class is scheduled on the production pool, since your version's behavior decides the outcome.

NFS recordings volume and UID and GID mapping

Recordings sit on the NFS shared volume, and every BigBlueButton server and Scalelite host reads and writes them under numeric IDs. Record the numeric UID and GID on every host for the recordings path, and confirm they match the export's ownership. Snapshot or copy the volume with permissions intact, then mount it in staging with the same mapping. A mismatch can pass a status check and still fail when a recording is published, so test a publish from start to finish.

Inventory of customizations

Write down every setting that differs from the defaults: post-publish scripts on each BigBlueButton server, Greenlight and LTI settings that point at the Scalelite URL and shared secret, server tags, tenants and their subdomains, and the cluster proxy configuration. Compare each file on the running host against your change record, since an upgrade can replace files that the container image provides. Confirm every item is still present in staging after the upgrade.

Staging pool from the same settings

Build a staging pool with the same SCALELITE_TAG pin, the same environment file layout, the same tenants and at least one BigBlueButton server. Give it its own PostgreSQL, Redis and recordings path so a test cannot write into live meetings or published recordings. Run one full meeting, a recording and a publish through the post-publish script, then restart scalelite.target and confirm that the API and scalelite-nginx answer together.

Pinning SCALELITE_TAG so restarts keep the running version

SCALELITE_TAG selects the Scalelite image your deployment runs. The value is read when containers are created, so it decides which load balancer code starts after a host reboot, a stack restart or a fresh image pull. A pinned tag names one fixed image build. Restarts and pulls then bring back the same code you tested, and the component that places every meeting on your BigBlueButton servers keeps behaving the way you have already checked. Because the value lives in the deployment's configuration, the pin travels with the files when the stack is copied to a new host or rebuilt after a failure. Treat the pin as part of the deployed state of the cluster, and review changes to it with the same care as any change to the servers that carry live classes.

A tag that moves can change the running code without any edit to your files. Docker tags are labels that a publisher can reassign to a different image, so a pull that looks routine can fetch code that differs from the version in service last week. The new code then takes effect at the next container recreate, which may be a restart you scheduled for an unrelated reason, such as patching the host. After each deployment, compare the image ID and version reported by the running container with the values you recorded. Also confirm with the Scalelite project how its images are published and whether the tags you use are reassigned over time, since that answer determines how often you need to re-check the pin.

Before you change the pin, run three checks. First, confirm how your deployment files read SCALELITE_TAG: find every place the variable is set or given a default, including any .env file, Compose override or wrapper script, and make sure one value wins everywhere. Second, record the tag, and the image ID if you track it, in each change ticket that touches the cluster, along with the date and the approver, so a later incident can be matched to the code that was running. Third, deploy the new tag to a staging Scalelite stack that is connected to test BigBlueButton servers, place test meetings through it, and move production only after those meetings behave as expected. Write down the previously recorded tag as your rollback target before you start, so reverting is a single, known change.

Scalelite upgrade sequence with checks and rollback points

This sequence moves a Scalelite pool onto clean BigBlueButton 4.0 hosts while scheduled classes keep running, with a check at every step. Each step states whether rolling back is still inexpensive, so the team knows where it can stop and where it is committed. Agree the order, checks and window with your own operations and scheduling owners before work starts.

  1. Freeze changes and confirm the window

    Stop configuration changes to Scalelite, the BigBlueButton servers and the front ends for the length of the work. Agree the maintenance window against the meeting schedule for every tenant and server group that uses the pool, and ask the people who book classes which periods they cannot lose. Record the approved window, the current SCALELITE_TAG value, the server list and the image versions in the change record. The step is done when the freeze is announced and the window is approved in writing. Rollback is still cheap because nothing has changed yet.

  2. Back up PostgreSQL and Redis and prove restore

    Take a backup of the PostgreSQL database and the Redis data that Scalelite uses, and store the copies outside the hosts you are about to upgrade. Restore both into staging and confirm that the restored pool lists the same servers and the same meeting state as the source. Decide separately how the NFS shared volume for recordings is protected, because the database backup does not cover those files. The check is a restore that someone other than the person who ran the backup has verified. Rollback is still cheap because production has not been touched, and these backups are the recovery point for every later step.

  3. Build staging and set SCALELITE_TAG

    Build a staging pool with Scalelite and at least one BigBlueButton server in the same layout you run in production. Set SCALELITE_TAG to the Scalelite version you intend to deploy in the configuration your deployment reads, then restart the scalelite.target unit so the containers start on that tag. The check is that each container reports the expected tag and that the staging servers show as available in the pool. Rollback is still cheap because only staging has changed, and production keeps its current tag and running containers.

  4. Confirm scalelite-nginx matches the API version

    Compare the running versions of the scalelite-nginx container and the Scalelite API container, and confirm that nginx serves the BigBlueButton API version the new tag expects. Send API calls through scalelite-nginx with a valid checksum, using a staging server, and check the logs for version or routing errors. The step is done when the API calls succeed and the versions match the entries in the change record. Rollback is still cheap because a mismatch is corrected by aligning the tag in staging before production is touched.

  5. Run create, join, record and end checks

    On each staging server in turn, create a meeting, join it from a browser, record a short session, confirm the recording is available in the shared storage and end the meeting. Confirm where each test meeting lands so that every server is exercised on its own rather than being skipped by the load balancing. Keep a written result for each server, including the time and the tester. The check passes when all four actions succeed on every server with no errors in the Scalelite or BigBlueButton logs. Rollback is still cheap because staging can be rebuilt from the earlier backup and tag, and production remains unchanged.

  6. Drain production servers one at a time

    Drain one production BigBlueButton server using the draining method for your Scalelite version, so it accepts no new meetings while the meetings already on it finish. Wait until the server shows no active meetings in Scalelite and no users in its session list before you touch it, then move to the next server. Never drain two servers at once, so the pool keeps enough capacity for the classes still running. Rollback is still cheap for a drained server that has not been changed: it can be returned to service through the same mechanism, and the other servers keep serving meetings.

  7. Rebuild each host and verify it in the pool

    Rebuild the drained host with a clean BigBlueButton 4.0 installation on Ubuntu 24.04 64-bit, because direct upgrades from 2.6, 2.7 or 3.0 are not supported. Before you start, confirm the host meets the install requirements for RAM, CPU, disk and bandwidth, and that its hostname, SSL certificate and required ports are in place. Run the create, join, record and end checks on the rebuilt host, then re-add it to the pool and confirm it accepts a test meeting. Rollback is no longer cheap: the old system is replaced, so keep a separate image or backup of the previous host before you begin.

  8. Cut production to the new pool

    After every host has passed verification in the pool, point production at the new Scalelite tag and restart scalelite.target during the agreed window. Confirm that the front ends still reach the pool with the same URL and shared secret, and that a production create, join, record and end sequence succeeds on each server. Keep the previous tag and the pre-upgrade backups until the team agrees that the new pool has run its scheduled classes cleanly. Rollback is still possible but costs more, because reverting the tag and restoring PostgreSQL and Redis can affect meetings that started during the cut, so agree the go or no-go decision before this step begins.

Where each Scalelite component sits and what an upgrade touches

Traffic starts at your front ends, such as Greenlight or an LMS, and reaches scalelite-nginx, which fronts the Scalelite API. The API keeps its state in PostgreSQL and Redis, reads and writes recordings on the NFS volume, and routes each meeting to a BigBlueButton server in the pool. The Scalelite host box is where the containers run, and the BigBlueButton servers sit on the far side of that boundary. Check that scalelite-nginx and the API carry matching versions, and that PostgreSQL, Redis and every BigBlueButton host are on your upgrade list. Your own network layout will change the detail.

Simplified view of the Scalelite containers and pool; your own topology sets the detail.

Upgrading only the Scalelite containers or moving BigBlueButton servers to 4.0

Choose this path when every BigBlueButton server in the pool already runs 4.0 and only the Scalelite containers need a new or corrected tag. The backend servers stay in place, so the change is limited to the load balancer layer. Meetings already running on a backend are not moved by the restart, but new join requests depend on Scalelite being available while it restarts, so schedule the change around class times.

  • Decision: Use this path only when the backend pool is already on BigBlueButton 4.0.
  • What changes: Set SCALELITE_TAG to the target tag, pull the images, and restart the stack through scalelite.target. Keep scalelite-nginx on the same release as the API so the two do not drift apart.
  • Compatibility check: Before cutover, confirm in the Scalelite project that the target tag supports BigBlueButton 4.0. Do not infer support from the tag name.
  • Test: Create test meetings, join from at least two client machines, confirm a tagged meeting lands on the expected server, and confirm a test recording publishes.
  • Confirm: Your rollback tag, a current PostgreSQL and Redis backup, and the person who approves the restart window.

Confirm the target tag's compatibility with BigBlueButton 4.0 in the Scalelite project before you change SCALELITE_TAG.

How to test and roll back a Scalelite upgrade

Test every Scalelite upgrade in a staging pool that mirrors production as closely as you can, with the same SCALELITE_TAG pattern, the same scalelite.target layout and a PostgreSQL database restored from a recent production backup, so the schema and existing meeting and recording rows match what the upgrade will touch. Include one BigBlueButton server per hardware class from production, because a load setting or tag that works on one class of hardware can behave differently on another. Run the same checks after each change: create a meeting through the API, join it from two browsers with audio and video, record a short session and confirm it appears after processing, end the meeting, and then stop one BigBlueButton server during an active meeting to confirm the failover behavior you depend on.

Rollback starts with the image tag. Put the previous SCALELITE_TAG value back in the environment file, then restart scalelite.target so every Scalelite container comes up on the old version. Confirm that the API responds and that the BigBlueButton servers show as available before you reopen meetings to users. A database restore is needed only if the target tag changes the schema, and you should confirm that from the release or migration notes for that tag before the change window opens. An older image will not necessarily undo a schema change, so if the target tag does change the schema, plan to restore the PostgreSQL backup taken before the upgrade and rehearse that restore in staging first.

Keep the previous host images until the change window closes and the pool has carried a normal day of meetings. Those images give you a known-good base if a container-level fix is not enough. Before you start, record the exact tag, image digests and configuration files in use, so a rollback restores the same values you ran before. Agree in advance who can call a rollback and what signal triggers it, such as failed joins, recordings that do not publish or the failover check failing in production. Also confirm with your vendor or partner how restarting scalelite.target affects meetings already in progress, since that determines whether the restart should happen between sessions or inside the window.

What makes a Scalelite upgrade longer or shorter

This table compares the factors that change how much work a Scalelite container upgrade takes, how each one shifts effort, and what to confirm in a quote. Read each row against your own pool: a small single-tenant cluster with spare capacity sits at the short end, while a multi-tenant pool with NFS recordings and no staging pool sits at the long end. The main takeaway: the BigBlueButton hosts and the recordings volume often shape the work more than the Scalelite containers do.

DriverEffect on effortWhat to confirm in a quote
Number of BigBlueButton servers and hardware classesEach server needs its own checks and restart order. Mixed hardware classes add load multiplier retuning and per-class testing.Number of servers in scope, the hardware class of each, and whether per-server checks are included.
Size of the NFS recordings volumeLarge recording sets lengthen backup, verification and any ownership or mapping checks before the upgrade starts.Current volume size, the backup method, and whether a backup and restore test is included.
Custom post-publish scriptsScripts that write into the recordings path must be retested against the new containers, which adds test cycles.Number of custom scripts, who owns their logic, and whether recording publication retesting is in scope.
TenantsEach tenant adds separation checks for recordings, subdomains and secrets, so verification takes longer.Number of tenants, whether tenant separation is re-verified after the upgrade, and who signs off for each tenant.
Tags and load multipliersTagged routing and weighted pools need placement tests so meetings still land on the intended servers.Number of tags and multipliers in use, and whether meeting placement is re-checked after the upgrade.
Greenlight or LTI front endsEach front end that points at Scalelite must be checked for URL and secret compatibility after the change.Which front ends connect, their versions, and whether their configuration changes are in scope.
Phone dial-inA FreeSWITCH gateway and voice bridge numbers add a separate test path for calls into the cluster.Whether dial-in is live, which gateway components run, and whether call tests are part of the acceptance plan.
Staging pool and maintenance windowA staging pool lets the upgrade be tested first. Without one, the work moves to production with a tighter window.Whether a staging pool exists, the agreed maintenance window, and who approves the go or no-go decision.
Existing hosts against the 4.0 minimumsHosts below the BigBlueButton 4.0 install minimums, such as 16 GB RAM and 8 cores, need hardware work first.Hardware inventory against the 4.0 minimums, Ubuntu 24.04 support, and whether new hosts or disks are priced separately.

What buyers ask before a Scalelite upgrade

How much does a Scalelite upgrade cost and which parts are priced?

DeployOpen does not publish a price list. Each quote follows from a written scope that lists the components, environments and checks included. The cost usually has three parts: the partner's planning, rehearsal and cutover work; the infrastructure you pay your cloud or data center provider for, including any staging pool; and any retainer for ongoing support or upgrades, which recurs. The main drivers are the number of BigBlueButton servers in the pool, the size of the recording store on the shared volume, and whether the environment is documented. If a BigBlueButton 4.0 server is part of the change, the install documentation lists at least 16 GB of RAM with swap, 8 CPU cores with high single-thread performance, 500 GB of disk for recordings (50 GB without recording) and 250 Mbit/s symmetrical bandwidth, and that hardware is your cost. Ask for line items, exclusions and any retest work.

How long does a Scalelite upgrade take and what sets the length?

Duration depends on scope, so ask for a written plan with a schedule and the window each step needs before you accept any timing. Fixed-scope engagements agree timelines in writing before work starts. The main drivers are the number of BigBlueButton servers in the pool, since each one must be drained, changed and checked; the size of the recording store on NFS, since verifying files takes time; how well the current deployment is documented, including the pinned SCALELITE_TAG and any custom configuration; and how many maintenance windows your calendar allows. The target release also matters. BigBlueButton 4.0.0 was released on October 14, 2026, and the install guidance recommends a clean server installation on Ubuntu 24.04 64-bit because direct upgrades from 2.6, 2.7 or 3.0 are not supported, so every server moving to 4.0 adds a rebuild step. Ask the partner to show the sequence, the rollback checkpoints and the expected number of windows.

What must our team provide for an outsourced upgrade?

Your team provides access, approved change windows, a staging pool and a named owner with authority to approve changes. Access means administrative rights on the Scalelite host, the PostgreSQL and Redis hosts or containers, the NFS export, each BigBlueButton server and the DNS and TLS records that front them, granted through accounts your security team has approved. Change windows should sit outside scheduled classes and meetings, so plan them against the timetable. A staging pool is a separate Scalelite instance and BigBlueButton servers configured close enough to production to rehearse the change, and it is usually a cost item if one does not already exist. The named owner signs off on scope, timing and rollback decisions, and answers questions from teachers and support staff during the work. Ask the partner for a written list of every access and environment item before anything is scheduled.

Can our own team upgrade Scalelite without a partner?

Yes, if your team already runs Docker, PostgreSQL, Redis and NFS in production and has rehearsed changes to them. The work covers pinning the release with SCALELITE_TAG, restarting scalelite.target, keeping scalelite-nginx in step with the API, backing up PostgreSQL and Redis, and testing calls and recordings after each step. Doing it yourself means your team also carries the risk, the rehearsal and the on-call coverage during the window. Check three things before deciding: whether someone has restored the current backups in a test, whether a written rollback path exists, and whether people are free to work through a failed change while users wait. If any answer is no, most of a partner's value sits in planning and verification. A partner can also take only the parts your team cannot cover, such as the staging rehearsal or post-change testing. Either way, the split is agreed in writing before work starts.

Does a partner upgrade Scalelite in place or rebuild it clean?

It depends on the component, and a written plan should state which path applies to each one. For BigBlueButton 4.0, the BigBlueButton install documentation says direct upgrades from 2.6, 2.7 or 3.0 are not supported and recommends a clean installation on Ubuntu 24.04 64-bit, so those servers are rebuilt and reattached to the pool. Scalelite runs as containers pinned through SCALELITE_TAG, so a version change is usually a tag change and a restart, but confirm with the Scalelite project whether the target release needs database or configuration steps before you commit to that path. Ask the partner which servers are rebuilt, what configuration and data are carried over, and how recordings on the shared volume are checked afterward. A clean rebuild takes more hands-on time per server, and it leaves less inherited configuration to debug later.

What happens if a Scalelite upgrade fails halfway through?

The plan should say who decides, what gets restored, and how meetings are protected while that decision is made. Start with backups: PostgreSQL and Redis backed up and restore-tested before the change, and recordings on the NFS volume copied or snapshotted according to your storage setup. The written plan should name a rollback point for each step, such as reverting the pinned tag, restarting the previous containers, or returning drained servers to service. Meetings in progress set the limits, so the plan should define when to stop, when to drain servers and when to abort. The recovery path depends on what failed and when, so DeployOpen does not promise that every failure is recoverable without loss. Ask for the incident process, on-call contacts for the window, abort criteria, and the checks for recordings and API calls after any rollback. Findings from a failed attempt should feed into the next plan.

How DeployOpen scopes and delivers a Scalelite upgrade

DeployOpen plans, implements, upgrades, backs up and documents self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Scalelite, that means a written scope covering the containers, PostgreSQL, Redis and the BigBlueButton servers they route to, agreed before any work starts.

How we scope

  • Inventory the running Scalelite version, the SCALELITE_TAG pin, and the API and scalelite-nginx images in use.
  • Record the target release, the BigBlueButton servers in the pool, and the PostgreSQL and Redis versions in use.
  • The written scope names the upgrade path, the maintenance window, the rollback steps and who approves each change.

How we build

  • Pin the Scalelite image with SCALELITE_TAG so that every restart runs the release you tested.
  • Upgrade the API and scalelite-nginx together, then restart the stack through scalelite.target and confirm each container is running.
  • Back up PostgreSQL and Redis before each change and test that a restore works in a separate environment.

How we hand over

  • A runbook with the pinned tag, the restart order, the backup schedule and the rollback steps for your team.
  • Change records covering each container version before and after the upgrade, so your change board has evidence.
  • Walkthrough with the operators who will run restarts, backups and version pins after the engagement closes.

How we support

  • Ongoing support and later upgrades are available as a retainer after the initial engagement.
  • Ask whether a retainer covers Scalelite tag bumps, NFS and database work, and BigBlueButton server changes.
  • Confirm response expectations for incidents in writing before signing, and ask what is included in the quote.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.