asyncwebio / bigbluebutton-streaming

BigBlueButton Streaming - Your free, open-source solution to expand your virtual classrooms to thousands of learners globally. Stream live on YouTube, Facebook, Vimeo, or any RTMP server right from BigBlueButton. No more user limit - teach without boundaries.
https://higheredlab.com
30 stars 7 forks source link

Dev Tools error on start meeting #34

Closed magnaapps closed 11 months ago

magnaapps commented 11 months ago

I have tried both versions but the meeting shows a Blank Blue background and not streaming when you start the streamer with following error below.

image

nishekh-e-r commented 11 months ago

@magnaapps can you try to troubleshoot as mentioned here https://github.com/AsyncWeb/bigbluebutton-streaming#%EF%B8%8F-troubleshooting If you face any other issues please post here

nishekh-e-r commented 11 months ago

@magnaapps 0|bbb-stre | sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

The error in your log file indicates that the backend bbb-streaming requires sudo access. To resolve this, you can configure sudo to not ask for a password for the relevant user. Here's how:

  1. Open a terminal.

  2. Type sudo visudo. This will open the sudoers file in the system's default text editor. The visudo command checks the syntax of the sudoers file to help prevent you from accidentally locking yourself out of the system.

  3. Scroll down to the section of the file that looks like this:

# User privilege specification
root    ALL=(ALL:ALL) ALL
  1. Underneath the root user, add the following line, replacing username with the username for which you want to allow passwordless sudo commands:
username ALL=(ALL:ALL) NOPASSWD: ALL
  1. Press Ctrl+X to exit the editor, then Y to save changes, and Enter to confirm.

Now, the user you added will be able to use sudo without being asked for a password.

and restart bbb-streaming pm2 restart bbb-streaming

magnaapps commented 11 months ago

Thank works, I think making sure username ALL=(ALL:ALL) NOPASSWD: ALL is setup before start is important