Independent, self-managed infrastructure Read the production requirements

Nextcloud · step-by-step

Integrate BigBlueButton with Nextcloud

Connect a current Nextcloud deployment to BigBlueButton from the App Store through the first successful room and recording.

01 Nextcloud Identity, course or workspace context
02 Connector Role mapping and signed API requests
03 BigBlueButton Classroom, media and recordings
The credential stays between trusted services; users receive signed joins, not the BigBlueButton secret.

Executive brief

What matters

  1. 01

    Confirm the Nextcloud and connector versions before changing production.

  2. 02

    Validate teacher, learner and recording workflows—not merely the API handshake.

  3. 03

    Treat the API or LTI secret as a server-side production credential.

01

Choose the supported integration path

Nextcloud’s BigBlueButton Integration app provides the supported user-facing route. Match the app release to the Nextcloud major version shown in the App Store before enabling it.

  • Supported Nextcloud and PHP release.
  • Compatible BBB app version from the Nextcloud App Store.
  • BBB/Scalelite URL, secret and administrator access.

02

Prepare BigBlueButton and credentials

Use a production BigBlueButton endpoint with a trusted TLS certificate. Keep the API shared secret or LTI secret on the server side: it is equivalent to an application credential and must never be placed in browser code, a public repository or a screenshot.

  1. 1

    Confirm the BigBlueButton server is healthy and that its public hostname resolves correctly.

  2. 2

    Retrieve the API URL and shared secret with sudo bbb-conf --secret, or create a dedicated LTI key and secret where the integration uses LTI.

  3. 3

    Record the platform version, connector version, owner and rollback point before making the change.

Run on the BigBlueButton server
sudo bbb-conf --check
sudo bbb-conf --secret

03

Configure Nextcloud

Make the first connection in a staging course, workspace or tenant. Use a dedicated test teacher and test learner so role mapping can be observed rather than inferred from an administrator account.

  1. 1

    Open Apps, search for BigBlueButton Integration and verify the release supports your Nextcloud major.

  2. 2

    Install and enable the app, then open its administration settings.

  3. 3

    Enter the BBB API URL and secret and configure room-creation permissions.

  4. 4

    Create a room from a test user account and share it with a controlled group.

04

Run an end-to-end acceptance test

A green “connection successful” message proves only that one API request worked. The useful test follows the complete classroom lifecycle from creation through recording publication.

  1. 1

    Join from two Nextcloud accounts and one unauthorized account.

  2. 2

    Verify moderator assignment, lobby/guest behaviour and screen sharing.

  3. 3

    Record, end and confirm playback/listing behaviour.

  4. 4

    Upgrade the app in staging against the next Nextcloud major before core upgrade.

05

Common problems and practical fixes

Start with timestamps, browser developer tools and the logs on both sides. Repeatedly replacing secrets rarely fixes a hostname, TLS, role or callback problem and makes the evidence harder to follow.

  • “Server not reachable” often means URL path, TLS trust or outbound firewall.
  • App version incompatibility can disable the app during a Nextcloud upgrade.
  • Use group restrictions so every user cannot create unrestricted public rooms by default.

06

Production hardening and upgrades

Restrict who can create rooms, define recording retention, test accessibility and document the integration owner. Pin or approve connector updates, subscribe to upstream releases and repeat the acceptance test after changes to the LMS, connector, BigBlueButton or reverse proxy.

  • Do not expose the BigBlueButton shared secret to course authors or client-side JavaScript.
  • Use least-privilege teacher roles and test guest, suspended and unenrolled users.
  • Monitor API errors, failed joins, recording processing and disk growth.
  • Keep a short rollback runbook: previous package, configuration backup and maintenance window.

Evidence base

Sources and further reading

We prefer project documentation and first-party product guidance. Community links are included where they reveal recurring operational questions rather than establish product guarantees.

  1. Official BBB integration app releases (opens in a new tab)
  2. BigBlueButton Nextcloud administration guide (opens in a new tab)
  3. BigBlueButton API documentation (opens in a new tab)

Practical answers

Questions teams ask

Can Nextcloud and BigBlueButton run on the same server?

They should normally be separated. BigBlueButton expects a clean, dedicated media host; co-location creates port, resource and upgrade conflicts.

Should I point the integration at Scalelite?

Yes when you operate a Scalelite pool. Use the load balancer API URL and secret so new meetings can be assigned across healthy BigBlueButton nodes.

Why do recordings not appear immediately?

BigBlueButton publishes recordings asynchronously after a meeting ends. Long meetings and busy processing queues take longer; check recording status before changing the connector.