Skip to content

docs: Fix livekit setup commands - #24666

Merged
antobinary merged 1 commit into
bigbluebutton:v3.0.x-developfrom
GuiLeme:fix-livekit-setup-docs
Apr 17, 2026
Merged

antobinary merged 1 commit into
bigbluebutton:v3.0.x-developfrom
GuiLeme:fix-livekit-setup-docs

Conversation

@GuiLeme

@GuiLeme GuiLeme commented Feb 20, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

It includes the restarting of livekit-server service as part of the setup commands in the docs.

More

Context:
I tested these commands, and before restarting livekit-server, when I entered the session and tried to connect the microphone, the loading modal got stuck and then threw an error (asking me to join listen-only or try to connect again). After restarting the server, everything worked like a charm.

@coderabbitai

coderabbitai Bot commented Feb 20, 2026 •

Copy link
Copy Markdown
Contributor

Walkthrough

The documentation file docs/docs/new-features.md was updated to restructure the LiveKit enablement sequence. A new step 5 was inserted to explicitly instruct users to restart the livekit-server service. The previous step 5 (cluster-proxy note) was renumbered to step 6, with all remaining guidance preserved and updated accordingly.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'docs: Fix livekit setup commands' accurately describes the main change: adding the livekit-server restart step to the documentation setup sequence.
Description check ✅ Passed The description is directly related to the changeset, explaining why the livekit-server restart was added and the issue it resolves based on testing.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
docs/docs/new-features.md (1)

238-239: LGTM — correctly addresses the stuck microphone modal.

The new step 5 inserts the livekit-server restart at the right point in the sequence (after any potential Node.js upgrade in step 4 and before the cluster-proxy note), and the old step 5 is correctly renumbered to 6. Command syntax is standard.

Optional: Consider adding a brief rationale to the step label, mirroring how step 3 reads, to clarify why the explicit restart is necessary after installation:

✏️ Optional wording suggestion
-5. Restart livekit-server: `$ sudo systemctl restart livekit-server`
+5. Restart livekit-server to apply configuration changes: `$ sudo systemctl restart livekit-server`
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/docs/new-features.md` around lines 238 - 239, Add a short rationale to
the newly inserted step 5 that explains why restarting livekit-server is
necessary (similar to the explanatory style used in "step 3"); update the step
text that currently reads "Restart livekit-server: `$ sudo systemctl restart
livekit-server`" to include a brief parenthetical or phrase such as "(to apply
the Node.js upgrade and reload the service)" so readers understand the purpose
of restarting livekit-server and why it sits before the cluster-proxy note.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@docs/docs/new-features.md`:
- Around line 238-239: Add a short rationale to the newly inserted step 5 that
explains why restarting livekit-server is necessary (similar to the explanatory
style used in "step 3"); update the step text that currently reads "Restart
livekit-server: `$ sudo systemctl restart livekit-server`" to include a brief
parenthetical or phrase such as "(to apply the Node.js upgrade and reload the
service)" so readers understand the purpose of restarting livekit-server and why
it sits before the cluster-proxy note.

@prlanzarin prlanzarin left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The service should be automatically started after package installation. I'd rather fix the package than docs.
Please provide apt logs from the attempt mentioned above.

@GuiLeme

GuiLeme commented Feb 20, 2026

Copy link
Copy Markdown
Contributor Author

From /var/log/apt/history.log

Start-Date: 2026-02-19  12:46:43/
Commandline: apt-get install bbb-livekit
Requested-By: bigbluebutton (1000)
Install: bbb-livekit:amd64 (2:3.0)
End-Date: 2026-02-19  12:46:44

From /var/log/apt/term.log

Log started: 2026-02-19  12:46:43
Selecting previously unselected package bbb-livekit.^M
(Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading database ... 40%^M(Reading database ... 45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading database ... 60%^M(Reading database ... 65%^M(Reading database ... 70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading database ... 95%^M(Reading database ... 100%^M(Reading database ... 156409 files and directories currently installed.)^M
Preparing to unpack .../bbb-livekit_2%3a3.0_amd64.deb ...^M
Unpacking bbb-livekit (2:3.0) ...^M
Setting up bbb-livekit (2:3.0) ...^M
Log ended: 2026-02-19  12:46:44

From /var/log/dpkg.log

2026-02-19 12:46:43 startup archives unpack
2026-02-19 12:46:44 install bbb-livekit:amd64 <none> 2:3.0
2026-02-19 12:46:44 status half-installed bbb-livekit:amd64 2:3.0
2026-02-19 12:46:44 status unpacked bbb-livekit:amd64 2:3.0
2026-02-19 12:46:44 startup packages configure
2026-02-19 12:46:44 configure bbb-livekit:amd64 2:3.0 <none>
2026-02-19 12:46:44 status unpacked bbb-livekit:amd64 2:3.0
2026-02-19 12:46:44 status half-configured bbb-livekit:amd64 2:3.0
2026-02-19 12:46:44 status installed bbb-livekit:amd64 2:3.0

As for the service itself, I got the journalctl of it and the first line shows:
Feb 19 17:56:47 bbb30.bbb.imdt.dev systemd[1]: Starting LiveKit Server...

This would mean that the first attempt of starting livekit-server was at "Feb 19 17:56:47" (after I ran systemctl restart), while you can see by the installation logs, its setup occurred "2026-02-19 12:46:43"

Outside of these, I don't have any other logs as I didn't save them after the installation. I can try to reproduce it again, if that helps. (re-creating the server - it's a docker environment, I don't know if that helps debug - and trying this again)

Extra info: The restarting command was actually suggested by @Tainan404, and I saw others suggesting the same thing, so possibly it's not just me who experienced that.

@antobinary

Copy link
Copy Markdown
Member

@prlanzarin is this resolved now?

@prlanzarin

Copy link
Copy Markdown
Member

Nope, thanks for the reminder

@prlanzarin prlanzarin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@antobinary Feel free to merge this. Ideally, we should remove the .dockerignore blocks from the after install scripts, which is the problem here (Guilherme runs this inside a docker container).

I don't care really care enough to fix this in 3.0, though.
In 4.0, bbb-livekit will be made a mandatory package and part of bigbluebutton.target, so the docs will change nonetheless and this will be fixed by consequence.

@antobinary
antobinary changed the base branch from v3.0.x-release to v3.0.x-develop April 17, 2026 19:11
@antobinary
antobinary merged commit 65e6cb5 into bigbluebutton:v3.0.x-develop Apr 17, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants