Skip to content

[3.0 doc dev] run-prod.sh does not exist in bigbluebutton-web - #24842

Closed
hiroshisuga wants to merge 1 commit into
bigbluebutton:v3.0.x-developfrom
hiroshisuga:patch-54
Closed

hiroshisuga wants to merge 1 commit into
bigbluebutton:v3.0.x-developfrom
hiroshisuga:patch-54

Conversation

@hiroshisuga

Copy link
Copy Markdown
Contributor

It seems that the script has been renamed.

@coderabbitai

coderabbitai Bot commented Apr 4, 2026 •

Copy link
Copy Markdown
Contributor

Walkthrough

This change updates a single deployment instruction in the development guide documentation. The command that deploys the bbb-web component is modified to copy run-in-systemd.sh into the extracted WAR directory instead of run-prod.sh. This appears to align the deployment procedure with a different initialization script. No other instructions or procedural steps are affected.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The PR title clearly describes the main change: run-prod.sh no longer exists and has been replaced in the documentation.
Description check ✅ Passed The description relates to the changeset by indicating the script was renamed, which aligns with the documentation update from run-prod.sh to run-in-systemd.sh.
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

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.

@hiroshisuga hiroshisuga changed the title [3.0 doc dev] run-prod.sh does not exist [3.0 doc dev] run-prod.sh does not exist in bigbluebutton-web Apr 4, 2026
@sonarqubecloud

sonarqubecloud Bot commented Apr 4, 2026

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.

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

📥 Commits

Reviewing files that changed from the base of the PR and between a35551c and d2e60ee.

📒 Files selected for processing (1)
  • docs/docs/development/dev-guide.md

Comment on lines 424 to +427
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 .

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.

⚠️ Potential issue | 🟠 Major

🧩 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.

@antobinary antobinary added this to the Release 3.0 milestone Apr 15, 2026
@antobinary
antobinary requested a review from paultrudel April 15, 2026 16:04

@paultrudel paultrudel left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

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.

@antobinary

Copy link
Copy Markdown
Member

Thank you @hiroshisuga and @paultrudel
Closing this in favor of #24956

@antobinary antobinary closed this Apr 22, 2026
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