Cannot get Greenlight to work - Please help!!!!

2,577 views
Skip to first unread message

Annaliza Marks

unread,
Jun 27, 2017, 4:31:48 PM6/27/17
to BigBlueButton-Setup
I am trying to install Greenlight on my BigBlueButton server.  Whenever I type "thunderbird.glenville.edu" it goes to thunderbird.glenville.edu/b but I get the file not found.  When I manually type https://thunderbird.glenville.edu/bigbluebutton/, I get this error:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
      <response><returncode>SUCCESS</returncode><version>1.1</version></response>


I am not sure what I am doing wrong.  I had it working with the api demo but now that I'm trying to install Greenlight, I am having issues.  Here's my bbb-conf --check:

gsc@thunderbird:/etc/bigbluebutton/nginx$ sudo bbb-conf --check

BigBlueButton Server 1.1.0 (575)
                    Kernel version: 4.4.0-81-generic
                      Distribution: Ubuntu 16.04.2 LTS (64-bit)
                            Memory: 8175 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): thunderbird.glenville.edu
                              red5: thunderbird.glenville.edu
              useWebrtcIfAvailable: true

/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
                    websocket port:     <param name=
                    WebRTC enabled: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: thunderbird.glenville.edu
                              port: 80, [::]:80
                              port: 443 ssl
                    bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: thunderbird.glenville.edu

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
                               url: thunderbird.glenville.edu

/var/lib/tomcat7/webapps/lti/WEB-INF/classes/lti-config.properties (LTI integration)
                           api url: bigbluebuttonURL=http:

/var/www/bigbluebutton/check/conf/config.xml (client check)
                      client check: thunderbird.glenville.edu

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
                  voice conference: FreeSWITCH

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback host: thunderbird.glenville.edu


** Potential problems described below **
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 10.102.2.164
#  /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: thunderbird.glenville.edu


# Warning: The setting of 129.71.82.164 for proxy_pass in
#
#    /etc/bigbluebutton/nginx/sip.nginx
#
# does not match the local IP address (10.102.2.164).
# (This is OK if you've manually changed the values)

# Warning: The API demos are installed and accessible from:
#
#    https://thunderbird.glenville.edu/demo/demo1.jsp
#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
#    sudo apt-get purge bbb-demo

# Warning: The client self check is installed and accessible from:
#
#    https://thunderbird.glenville.edu/check
#

# Warning: The IMS Learning Tools Integration (LTI) is accessible from:
#
#    http://thunderbird.glenville.edu/lti/tool
#
# To get the access parameters for LTI, run the command
#
#    bbb-conf --lti

gsc@thunderbird:/etc/bigbluebutton/nginx$


Also, when I try this command: 

docker run --rm bigbluebutton/greenlight cat ./scripts/greenlight.nginx > /etc/bigbluebutton/nginx/greenlight.nginx

I get this error:

gsc@thunderbird:/etc/bigbluebutton/nginx$ sudo docker run --rm bigbluebutton/greenlight cat ./scripts/greenlight.nginx > /etc/bigbluebutton/nginx/greenlight.nginx
-bash: /etc/bigbluebutton/nginx/greenlight.nginx: Permission denied
gsc@thunderbird:/etc/bigbluebutton/nginx$

I get permission denied.

I eventually found a base greenlight.nginx file and added it to the /etc/bigbluebutton/nginx folder and the /scripts/ folder and added this text:

+# Routes requests to Greenlight based on the '/b' prefix
+
+location /b {
+ proxy_pass http://127.0.0.1:5000;
+ proxy_set_header Host $host;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header X-Forwarded-Proto $scheme;
+ proxy_http_version 1.1;
+}
+
+location /b/cable {
+ proxy_pass http://127.0.0.1:5000;
+ proxy_set_header Host $host;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header X-Forwarded-Proto $scheme;
+ proxy_set_header Upgrade $http_upgrade;
+ proxy_set_header Connection "Upgrade";
+ proxy_http_version 1.1;
+ proxy_read_timeout 6h;
+ proxy_send_timeout 6h;
+ client_body_timeout 6h;
+ send_timeout 6h;
+}

Should I have done something different? What can I do to fix this?  Please help!!  Thank you!!!

Message has been deleted

Annaliza Marks

unread,
Jun 27, 2017, 4:44:13 PM6/27/17
to BigBlueButton-Setup
The command: 

sudo docker run --rm --env-file env bigbluebutton/greenlight rake conf:check


Produces this:

Checking environment: Passed
Checking Connection: Passed
Checking Secret: Passed

Fred Dixon

unread,
Jun 27, 2017, 6:03:28 PM6/27/17
to bigbluebu...@googlegroups.com
Hi Annizila,

Looks like you have a public/private IP address.  Try the suggestion here


and let us know if that gets you going.

Regards,... Fred



--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebutton-setup@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
@bigbluebutton

Annaliza Marks

unread,
Jun 27, 2017, 6:54:25 PM6/27/17
to BigBlueButton-Setup
Thank you Fred! I have gone through those steps to no avail. If I'm understanding correctly, does that mean I can't have a stand alone (public) and LTI integration (private) with Blackoard?

Fred Dixon

unread,
Jun 27, 2017, 11:21:13 PM6/27/17
to bigbluebu...@googlegroups.com
Hi,

You can have both.  I'm assuming that the LTI integration is working.  The LTI integration is simply an application that accepts an LTI launch and then turns around and talks to the BigBlueButton server using its API.

GreenLight, in a similar manner, is a rails application that presents a web interface and then turns around and talks with the BigBlueButton API.

> docker run --rm --env-file env bigbluebutton/greenlight rake conf:check
> gets this:
> Checking environment: Passed
> Checking Connection: Passed
> Checking Secret: Passed

This says that GreenLight, running in a Docker container can communicate with the BigBlueButton server.

However, when a user connects to
  

the nginx proxy isn't forwarding it to the GreenLight server.  GreenLight is running in Docker, so it might not be reachable by 127.0.0.1 (or it might not be running).

If you do 

 docker ps

Do you see GreenLight running?


Regards,... Fred





On Tue, Jun 27, 2017 at 6:54 PM, Annaliza Marks <annaliz...@hotmail.com> wrote:
Thank you Fred! I have gone through those steps to no avail. If I'm understanding correctly, does that mean I can't have a stand alone (public)  and LTI integration (private) with Blackoard?
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebutton-setup@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted

Fred Dixon

unread,
Jun 28, 2017, 9:13:22 AM6/28/17
to bigbluebu...@googlegroups.com
Can you try connecting to greenlight via telnet.  On the server type

  telnet 127.0.0.1 5000

and, if GreenLight is listening, you should see

# telnet 127.0.0.1 5000
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.

If you don't have telnet installed, do 

  sudo apt-get install telnet

This will test if GreenLight is listening to port 5000.


Regards,... Fred






On Wed, Jun 28, 2017 at 8:42 AM, Annaliza Marks <annaliz...@hotmail.com> wrote:
Yes, it is running.  I ran docker ps this morning:

gsc@thunderbird:~$ sudo docker ps
[sudo] password for gsc:
CONTAINER ID        IMAGE                      COMMAND                  CREATED             STATUS              PORTS                  NAMES
1ebfff90b28c        bigbluebutton/greenlight   "scripts/default_s..."   17 hours ago        Up 17 hours         0.0.0.0:5000->80/tcp   greenlight


So it is nginx not communicating.  How can I fix this?

Thank you so much, Fred!!

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebutton-setup@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted

Annaliza Marks

unread,
Jun 28, 2017, 10:15:50 AM6/28/17
to BigBlueButton-Setup
It says that it connected....

"Connected to 127.0.0.1 5000"

(Connection closed by a foreign host - should this be a concern?)

gsc@thunderbird:~$ telnet 127.0.0.1 5000

Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.
gsc@thunderbird:~$



On Wednesday, June 28, 2017 at 9:13:22 AM UTC-4, Fred Dixon wrote:
Can you try connecting to greenlight via telnet.  On the server type

  telnet 127.0.0.1 5000

and, if GreenLight is listening, you should see

# telnet 127.0.0.1 5000
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.

If you don't have telnet installed, do 

  sudo apt-get install telnet

This will test if GreenLight is listening to port 5000.


Regards,... Fred






On Wed, Jun 28, 2017 at 8:42 AM, Annaliza Marks <annaliz...@hotmail.com> wrote:
Yes, it is running.  I ran docker ps this morning:

gsc@thunderbird:~$ sudo docker ps
[sudo] password for gsc:
CONTAINER ID        IMAGE                      COMMAND                  CREATED             STATUS              PORTS                  NAMES
1ebfff90b28c        bigbluebutton/greenlight   "scripts/default_s..."   17 hours ago        Up 17 hours         0.0.0.0:5000->80/tcp   greenlight


So it is nginx not communicating.  How can I fix this?

Thank you so much, Fred!!

--



Fred Dixon

unread,
Jun 28, 2017, 10:31:18 AM6/28/17
to bigbluebu...@googlegroups.com
Hi,

Can you now try


and see if you get a connection.  It's OK if you get a "Connection closed by foreign host" after a few seconds.

Regards,... Fred


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebutton-setup@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

HostBBB.com

unread,
Jun 28, 2017, 10:41:41 AM6/28/17
to BigBlueButton-Setup
I just tested demo1.jsp on your server,  it takes me to join the flash client starts to load it and then quickly i redirect to /b which does a 404.

So the base Nginx config for the flash client is not working either.

I would comment out the greenlight nginx rules, and try to get the demo pages back working.

Then try to reapply

regards,
Stephen
To post to this group, send email to bigbluebu...@googlegroups.com.

Annaliza Marks

unread,
Jun 28, 2017, 11:05:05 AM6/28/17
to BigBlueButton-Setup
Oh no, it didn't work!

gsc@thunderbird:~$  telnet thunderbird.glenville.edu 5000
Trying 10.102.2.164...
Trying 129.71.82.164...
telnet: Unable to connect to remote host: Connection refused
gsc@thunderbird:~$

Annaliza Marks

unread,
Jun 28, 2017, 11:07:29 AM6/28/17
to BigBlueButton-Setup
Thank you Stephen!  Where would I do that? In greenlight.nginx?

HostBBB.com

unread,
Jun 28, 2017, 11:30:02 AM6/28/17
to BigBlueButton-Setup
Looks like port 5000 is working, so greenlight is running on 127.0.0.1.   Dont believe it needs to be accessing externally since nginx is the proxy.

If you  

sudo mv greenlight.nginx greenlight.nginx-dontuse

and restart

 sudo service nginx restart

then go to your server /demo/demo1.jsp and see if the meeting loads in the flash client without kicking you out.

If not, then you have made some other change in nginx config that is causing the issue.

regards,
Stephen

Annaliza Marks

unread,
Jun 28, 2017, 11:38:47 AM6/28/17
to BigBlueButton-Setup
I think this is the issue:

mv: cannot stat 'greenlight.nginx': No such file or directory

I had to manually create a greenlight.nginx because I got this error (I added to the original question but since we haven't "talked" about it, I assumed it was ok.  This is what I posted earlier:

*****************************
Thank you!!!!

Santosh Kumar

unread,
Nov 8, 2022, 9:19:21 AM11/8/22
to BigBlueButton-Setup
Hello Fred I try to Customization greenlight i run the command this 
cat ./greenlight.nginx | sudo tee /etc/bigbluebutton/nginx/greenlight.nginx
Its comes 
cat: ./greenlight.nginx: No such file or directory
tee: /etc/bigbluebutton/nginx/greenlight.nginx: No such file or directory

And i also use this command 
./scripts/image_build.sh bigbluebutton/greenlight release-v3
bash: ./scripts/image_build.sh: No such file or directory

i setup greenlight verison of 3

Help Me in this

On Wednesday, June 28, 2017 at 3:33:28 AM UTC+5:30 Fred Dixon wrote:
Hi Annizila,

Looks like you have a public/private IP address.  Try the suggestion here


and let us know if that gets you going.

Regards,... Fred



On Tue, Jun 27, 2017 at 4:44 PM, Annaliza Marks <annaliz...@hotmail.com> wrote:
The command: 

sudo docker run --rm --env-file env bigbluebutton/greenlight rake conf:check


Produces this:

Checking environment: Passed
Checking Connection: Passed
Checking Secret: Passed

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages