Repository navigation
[3.0 doc dev] run-prod.sh does not exist in bigbluebutton-web - #24842
hiroshisuga wants to merge 1 commit into
Conversation
WalkthroughThis change updates a single deployment instruction in the development guide documentation. The command that deploys the bbb-web component is modified to copy Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@docs/docs/development/dev-guide.md`:
- Around line 424-427: The documentation contains inconsistent script names:
replace all references to "run-prod.sh" with the actual deployed script name
"run-in-systemd.sh" throughout the deploy section so the text and commands match
(e.g., update the sentence that currently says to copy `run-prod.sh`, the `cp`
example that copies `run-in-systemd.sh`, and the later commands referencing
`run-prod.sh`) ensuring every mention and example command uses
`run-in-systemd.sh` consistently.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 2ae17991-17ef-4a3f-9510-8e8e7daefa5a
📒 Files selected for processing (1)
docs/docs/development/dev-guide.md
| Then copy the `run-prod.sh` after checking all the jar dependencies are listed in | ||
|
|
||
| ```bash | ||
| cp ../run-prod.sh . | ||
| cp ../run-in-systemd.sh . |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Verify which script name is actually referenced by runtime/service files.
# Expected: references should consistently point to one script name.
set -euo pipefail
echo "== References to run-prod.sh =="
rg -n -C2 'run-prod\.sh'
echo
echo "== References to run-in-systemd.sh =="
rg -n -C2 'run-in-systemd\.sh'
echo
echo "== bbb-web service/unit files mentioning either script =="
fd -i 'bbb-web|service|systemd' | xargs -r rg -n -C2 'run-prod\.sh|run-in-systemd\.sh'Repository: bigbluebutton/bigbluebutton
Length of output: 13188
Script rename update is incomplete across this deploy section.
Line 427 copies run-in-systemd.sh, but Line 424 text and later commands (Line 439, Line 452) still reference run-prod.sh. The runtime codebase confirms the deployed script is run-in-systemd.sh (used in multiple Java service classes), so the documentation must be consistent throughout to avoid deployment errors.
Suggested doc fix (keep filenames consistent end-to-end)
-Then copy the `run-prod.sh` after checking all the jar dependencies are listed in
+Then copy `run-in-systemd.sh` after checking all the jar dependencies are listed in-sudo rm -rf /usr/share/bbb-web/assets/ /usr/share/bbb-web/META-INF/ /usr/share/bbb-web/org/ /usr/share/bbb-web/run-prod.sh /usr/share/bbb-web/WEB-INF/
+sudo rm -rf /usr/share/bbb-web/assets/ /usr/share/bbb-web/META-INF/ /usr/share/bbb-web/org/ /usr/share/bbb-web/run-in-systemd.sh /usr/share/bbb-web/WEB-INF/-$ sudo chown -R bigbluebutton:bigbluebutton /usr/share/bbb-web/assets/ /usr/share/bbb-web/META-INF/ /usr/share/bbb-web/org/ /usr/share/bbb-web/run-prod.sh /usr/share/bbb-web/WEB-INF/
+$ sudo chown -R bigbluebutton:bigbluebutton /usr/share/bbb-web/assets/ /usr/share/bbb-web/META-INF/ /usr/share/bbb-web/org/ /usr/share/bbb-web/run-in-systemd.sh /usr/share/bbb-web/WEB-INF/🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@docs/docs/development/dev-guide.md` around lines 424 - 427, The documentation
contains inconsistent script names: replace all references to "run-prod.sh" with
the actual deployed script name "run-in-systemd.sh" throughout the deploy
section so the text and commands match (e.g., update the sentence that currently
says to copy `run-prod.sh`, the `cp` example that copies `run-in-systemd.sh`,
and the later commands referencing `run-prod.sh`) ensuring every mention and
example command uses `run-in-systemd.sh` consistently.
paultrudel
left a comment
There was a problem hiding this comment.
The run-in-systemd.sh script is used for presentation conversion and is completely unrelated to BBB Web deployment. This section of the docs appears to be outdated and will need to be updated with the current approach to deployment.
|
Thank you @hiroshisuga and @paultrudel |



It seems that the script has been renamed.