Greenlight - just change the logo and copyright

1,196 views
Skip to first unread message

mdcy...@gmail.com

unread,
Jan 14, 2019, 10:17:43 AM1/14/19
to BigBlueButton-Setup
Is there an easy way to do it?
 any idea Where are located the  config files required to change it?


For BBB, i already found a video
https://www.youtube.com/watch?v=zdf7SiEwI1k&feature=youtu.be&t=95

Thanks Fred! it works!




but so far, no tutorials to change Greenlight

The instruction that i found says

http://docs.bigbluebutton.org/install/greenlight-v2.html#setting-a-custom-branding-image

Setting a Custom Branding ImageAnchor link for: setting a custom branding image

Greenlight provides you with the ability to set the branding image that you see on the left side of the header. By default this is set to the BigBlueButton logo. You can change this by setting the BRANDING_IMAGEoption in the env file to a public URL for a png or JPEG image.

BRANDING_IMAGE=https://www.example.com/example.png



But where is the file that contains BRANDING_IMAGE= value?

Chad Pilkey

unread,
Jan 14, 2019, 5:29:44 PM1/14/19
to BigBlueButton-Setup
The "env" file mentioned is the same "env" file as mentioned in the rest of the Greenlight documentation. The default location is wherever your initial /greenlight directory was created.

mdcy...@gmail.com

unread,
Jan 14, 2019, 6:24:15 PM1/14/19
to BigBlueButton-Setup

Hi Chad 

I found the file, I put a external link

i reboot the server

the logo is still the BBB logo . :(

mdcy...@gmail.com

unread,
Jan 14, 2019, 6:26:29 PM1/14/19
to BigBlueButton-Setup

Screen Shot 2019-01-14 at 8.24.45 PM.png
these are the things that i need to remove + plus the favicon



Chad Pilkey

unread,
Jan 14, 2019, 7:12:36 PM1/14/19
to BigBlueButton-Setup
The logo should have changed. It could be the wrong file edited or not restarting the docker container to update the image.

If you want to change the text you need to set up a development version of Greenlight and either run it as a Rails application outside of docker or recreate the docker image. If you don't have any development experience then neither option will be that simple. The documentation has instructions on how to set up the development environment and shows and example for changing the landing page. http://docs.bigbluebutton.org/install/greenlight-v2.html#customizing-greenlight.

German Acevedo

unread,
Jan 15, 2019, 10:15:52 AM1/15/19
to BigBlueButton-Setup
Hi,
To make these changes you need to run greenlight without docker.
Once you have ir running in this way, you can change logo and texts in a easy way.
This is how mine looks now:

greenlight-falcorp.png


This are all the commands I used to have greenlight running without docker, see if this works for you, and then I can tell you which files I modified:
======================
apt-get install curl

sudo apt-get install gnupg2

curl -sSL https://rvm.io/mpapis.asc | sudo gpg2 --import -

sudo gpg2 --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB

curl -sSL https://get.rvm.io | sudo bash -s stable

source /etc/profile.d/rvm.sh

rvm requirements

rvm list known

rvm install 2.5.1

rvm use 2.5.1 --default 

ruby --version

gem install rails

cd /


cd /greenlight

nano Gemfile

(mover dotenv-rails fuera del bloque test/development)

gem install bundler -v 1.16.1

sudo apt-get install libpq-dev

bundle

cp greenlight.nginx /etc/bigbluebutton/nginx/greenlight.nginx

systemctl restart nginx

rake secret
(Copy the secret generated, you will need it for .env)

bbb-conf --secret
(Copy the URL and Secret, you will need it for .env)

cp sample.env .env

nano .env
(fill the Secret and BigBlueButton credentials you generated before)

RAILS_ENV=production rake db:migrate

rails assets:precompile

rails s -p 5000 -e production

=======================================

Regards,

German

mdcy...@gmail.com

unread,
Jan 15, 2019, 3:14:03 PM1/15/19
to BigBlueButton-Setup
curl -sSL https://rvm.io/mpapis.asc | sudo gpg2 --import -
sudo gpg2 --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
curl -sSL https://get.rvm.io | sudo bash -s stable

question what are those keys? 

mdcy...@gmail.com

unread,
Jan 15, 2019, 3:25:34 PM1/15/19
to BigBlueButton-Setup
listo
I got this

=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 3.11.4 (ruby 2.5.1-p57), codename: Love Song
* Min threads: 5, max threads: 5
* Environment: production
* Listening on tcp://0.0.0.0:5000
Exiting
Traceback (most recent call last):
        29: from bin/rails:5:in `<main>'
        28: from bin/rails:5:in `load'
        27: from /greenlight/bin/spring:16:in `<top (required)>'
        26: from /greenlight/bin/spring:16:in `require'
        25: from /usr/local/rvm/gems/ruby-2.5.1/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `<top (required)>'
        24: from /usr/local/rvm/gems/ruby-2.5.1/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `load'
        23: from /usr/local/rvm/gems/ruby-2.5.1/gems/spring-2.0.2/bin/spring:49:in `<top (required)>'
        22: from /usr/local/rvm/gems/ruby-2.5.1/gems/spring-2.0.2/lib/spring/client.rb:30:in `run'
        21: from /usr/local/rvm/gems/ruby-2.5.1/gems/spring-2.0.2/lib/spring/client/command.rb:7:in `call'
        20: from /usr/local/rvm/gems/ruby-2.5.1/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `call'
        19: from /usr/local/rvm/gems/ruby-2.5.1/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `load'
        18: from /greenlight/bin/rails:11:in `<top (required)>'
        17: from /greenlight/bin/rails:11:in `require'
        16: from /usr/local/rvm/gems/ruby-2.5.1/gems/railties-5.0.7/lib/rails/commands.rb:18:in `<top (required)>'
        15: from /usr/local/rvm/gems/ruby-2.5.1/gems/railties-5.0.7/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
        14: from /usr/local/rvm/gems/ruby-2.5.1/gems/railties-5.0.7/lib/rails/commands/commands_tasks.rb:85:in `server'
        13: from /usr/local/rvm/gems/ruby-2.5.1/gems/railties-5.0.7/lib/rails/commands/commands_tasks.rb:85:in `tap'
        12: from /usr/local/rvm/gems/ruby-2.5.1/gems/railties-5.0.7/lib/rails/commands/commands_tasks.rb:90:in `block in server'
        11: from /usr/local/rvm/gems/ruby-2.5.1/gems/railties-5.0.7/lib/rails/commands/server.rb:104:in `start'
        10: from /usr/local/rvm/gems/ruby-2.5.1/gems/rack-2.0.6/lib/rack/server.rb:297:in `start'
         9: from /usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/rack/handler/puma.rb:70:in `run'
         8: from /usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/launcher.rb:184:in `run'
         7: from /usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/single.rb:87:in `run'
         6: from /usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/runner.rb:144:in `load_and_bind'
         5: from /usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/binder.rb:88:in `parse'
         4: from /usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/binder.rb:88:in `each'
         3: from /usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/binder.rb:105:in `block in parse'
         2: from /usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/binder.rb:270:in `add_tcp_listener'
         1: from /usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/binder.rb:270:in `new'
/usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/binder.rb:270:in `initialize': Address already in use - bind(2) for "0.0.0.0" port 5000 (Errno::EADDRINUSE)

Chad Pilkey

unread,
Jan 15, 2019, 4:13:22 PM1/15/19
to BigBlueButton-Setup
The error is, "`initialize': Address already in use - bind(2) for "0.0.0.0" port 5000 (Errno::EADDRINUSE)". That message is probably because you still have the docker version of Greenlight running and you can't have multiple applications bound to the same IP and port. If you shutdown the docker version you should be able to start up. You could also change the port in the final rails command to something like 5001 and then also change the greenlight nginx file (/etc/bigbluebutton/nginx/greenlight.nginx) to use the new port. If you're going to use a different port you also need to make sure to restart nginx after changing the file.

mdcy...@gmail.com

unread,
Jan 16, 2019, 10:14:52 AM1/16/19
to BigBlueButton-Setup
"If you shutdown the docker version you should be able to start up."

any idea how to do that?

Chad Pilkey

unread,
Jan 16, 2019, 12:50:28 PM1/16/19
to BigBlueButton-Setup
It depends on whether you use "docker run" or "docker-compose" to start Greenlight. Use "docker stop greenlight-v2" for the former and "docker-compose down" for the latter. The commands are in the documentation, http://docs.bigbluebutton.org/install/greenlight-v2.html#using-docker-compose. If you had installed Greenlight with the BBB install script (https://github.com/bigbluebutton/bbb-install/blob/master/bbb-install.sh), it uses "docker run" to start Greenlight.

mdcy...@gmail.com

unread,
Jan 16, 2019, 1:10:48 PM1/16/19
to BigBlueButton-Setup
where do you upload the logo and the custom text?

Fred Dixon

unread,
Jan 16, 2019, 2:03:23 PM1/16/19
to BigBlueButton-.
Hi,

Let's step back for a moment.  If you want to customize GreenLight -- such as changing the design of the home page, logo, custom text, etc. -- there is some development involved. Are you a developer?

For steps to customize GreenLight, see


If you've done the above and are getting an error when attempting to run GreenLight

> /usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/binder.rb:270:in `initialize': Address already in use - bind(2) for "0.0.0.0" port 5000 (Errno::EADDRINUSE)

Did you shutdown the docker version of GreenLight (which is binding to port 5000)?

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-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@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
Message has been deleted

mdcy...@gmail.com

unread,
Jan 16, 2019, 2:27:12 PM1/16/19
to BigBlueButton-Setup
I'm not a developer, but i can do whatever the tutorial says


i tried to stop t using "docker stop" but it requires an argument that i have no idea where to get

 docker stop
"docker stop" requires at least 1 argument.
See 'docker stop --help'.

Usage:  docker stop [OPTIONS] CONTAINER [CONTAINER...]

Stop one or more running containers



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.
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
Message has been deleted

mdcy...@gmail.com

unread,
Jan 16, 2019, 3:06:16 PM1/16/19
to BigBlueButton-Setup


I did the whole process again without docker and i got this


oot@greenlight:/greenlight# rails assets:precompile
root@greenlight:/greenlight# rails s -p 5000 -e production
=> Booting Puma
=> Rails 5.0.7 application starting in production on http://0.0.0.0:5000
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 3.11.4 (ruby 2.5.1-p57), codename: Love Song
* Min threads: 5, max threads: 5
* Environment: production
* Listening on tcp://0.0.0.0:5000
Use Ctrl-C to stop


could you tell me what to do now?
Message has been deleted
Message has been deleted

mdcy...@gmail.com

unread,
Jan 16, 2019, 3:15:37 PM1/16/19
to BigBlueButton-Setup
root@greenlight:/greenlight# rails assets:precompile
root@greenlight:/greenlight# rails s -p 5000 -e production
=> Booting Puma
=> Rails 5.0.7 application starting in production on http://0.0.0.0:5000
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 3.11.4 (ruby 2.5.1-p57), codename: Love Song
* Min threads: 5, max threads: 5
* Environment: production
* Listening on tcp://0.0.0.0:5000
Use Ctrl-C to stop
2019-01-16 20:07:55 +0000: Rack app error handling request { GET /b }
#<RuntimeError: Missing `secret_key_base` for 'production' environment, set this value in `config/secrets.yml`>
/usr/local/rvm/gems/ruby-2.5.1/gems/railties-5.0.7/lib/rails/application.rb:513:in `validate_secret_key_config!'
/usr/local/rvm/gems/ruby-2.5.1/gems/railties-5.0.7/lib/rails/application.rb:246:in `env_config'
/usr/local/rvm/gems/ruby-2.5.1/gems/railties-5.0.7/lib/rails/engine.rb:693:in `build_request'
/usr/local/rvm/gems/ruby-2.5.1/gems/railties-5.0.7/lib/rails/application.rb:521:in `build_request'
/usr/local/rvm/gems/ruby-2.5.1/gems/railties-5.0.7/lib/rails/engine.rb:521:in `call'
/usr/local/rvm/gems/ruby-2.5.1/gems/rack-2.0.6/lib/rack/urlmap.rb:68:in `block in call'
/usr/local/rvm/gems/ruby-2.5.1/gems/rack-2.0.6/lib/rack/urlmap.rb:53:in `each'
/usr/local/rvm/gems/ruby-2.5.1/gems/rack-2.0.6/lib/rack/urlmap.rb:53:in `call'
/usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/configuration.rb:225:in `call'
/usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/server.rb:632:in `handle_request'
/usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/server.rb:446:in `process_client'
/usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/server.rb:306:in `block in run'
/usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/thread_pool.rb:120:in `block in spawn_thread'
trwer
2019-01-16 20:12:29 +0000: Rack app error handling request { GET /b }
#<RuntimeError: Missing `secret_key_base` for 'production' environment, set this value in `config/secrets.yml`>
/usr/local/rvm/gems/ruby-2.5.1/gems/railties-5.0.7/lib/rails/application.rb:513:in `validate_secret_key_config!'
/usr/local/rvm/gems/ruby-2.5.1/gems/railties-5.0.7/lib/rails/application.rb:246:in `env_config'
/usr/local/rvm/gems/ruby-2.5.1/gems/railties-5.0.7/lib/rails/engine.rb:693:in `build_request'
/usr/local/rvm/gems/ruby-2.5.1/gems/railties-5.0.7/lib/rails/application.rb:521:in `build_request'
/usr/local/rvm/gems/ruby-2.5.1/gems/railties-5.0.7/lib/rails/engine.rb:521:in `call'
/usr/local/rvm/gems/ruby-2.5.1/gems/rack-2.0.6/lib/rack/urlmap.rb:68:in `block in call'
/usr/local/rvm/gems/ruby-2.5.1/gems/rack-2.0.6/lib/rack/urlmap.rb:53:in `each'
/usr/local/rvm/gems/ruby-2.5.1/gems/rack-2.0.6/lib/rack/urlmap.rb:53:in `call'
/usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/configuration.rb:225:in `call'
/usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/server.rb:632:in `handle_request'
/usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/server.rb:446:in `process_client'
/usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/server.rb:306:in `block in run'
/usr/local/rvm/gems/ruby-2.5.1/gems/puma-3.11.4/lib/puma/thread_pool.rb:120:in `block in spawn_thread'
Message has been deleted

mdcy...@gmail.com

unread,
Jan 16, 2019, 3:29:55 PM1/16/19
to BigBlueButton-Setup
wouldn't be easier if i FORK  the greenligt script and change the values before installing on my server? 

Any idea what values should i change on the forked greenlight 

I mean what files should i change

Chad Pilkey

unread,
Jan 16, 2019, 5:15:47 PM1/16/19
to BigBlueButton-Setup
You should definitely be forking the Greenlight source code repository so you can keep a branch with your custom changes somewhere that they can be retrieved.

To find a text lable you can search for the piece of text in the repo and it should show you where it is. There are locale files with all of the strings in them.

Fred Dixon

unread,
Jan 16, 2019, 6:33:08 PM1/16/19
to BigBlueButton-.
Hi there,

You're going to need to give yourself some time to learn Ruby.  Recommend you go through


and


If you complete these guides, then you'll be able to answer many of your questions on rails without needing to post and wait until others volunteer their time.

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-s...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

mdcy...@gmail.com

unread,
Jan 17, 2019, 10:09:04 AM1/17/19
to BigBlueButton-Setup
Awesome, i'll take a look

Also , could you provide some steps to customize the bbb-install file?
So it can get the files 
from my forked version of BBB and Greenlight

I was checking the file
https://github.com/mcy260/bbb-install/blob/master/bbb-install.sh

but i not sure where should i change in order to get the files from my git repository
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.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

mdcy...@gmail.com

unread,
Jan 17, 2019, 10:11:10 AM1/17/19
to BigBlueButton-Setup
Thanks Chad, I'm trying to do that, but i'm not sure how to get my install file ( bbb-install.sh) to point to my git and not the original

Chad Pilkey

unread,
Jan 17, 2019, 3:43:25 PM1/17/19
to BigBlueButton-Setup
The install script uses a docker container image for the install and not a standalone rails setup. If you search that file for "bigbluebutton/greenlight:v2" you can find all of the references to the official greenlight container. If you built a docker container from your fork you could upload it to docker hub (default docker container repository) and then change the referenced container image to the one that you control.

mdcy...@gmail.com

unread,
Jan 18, 2019, 8:42:04 AM1/18/19
to BigBlueButton-Setup
"If you built a docker container from your fork you could upload it to docker hub (default docker container repository) and then change the referenced container image to the one that you control."


Could you explain a little more about that?

mdcy...@gmail.com

unread,
Jan 18, 2019, 9:47:33 AM1/18/19
to BigBlueButton-Setup
I installed bbb alone, wuth the idea of adding greenlight from my git


but it seems like... there is no way to get it from git


the command that install greenlight is 

docker run --rm bigbluebutton/greenlight:v2 cat ./sample.env > env
So it gets the files from... i have no idea

mdcy...@gmail.com

unread,
Jan 18, 2019, 10:18:50 AM1/18/19
to BigBlueButton-Setup

This are all the commands I used to have greenlight running without docker, see if this works for you, and then I can tell you which files I modified:



Could you tell me what files are those? 

Fred Dixon

unread,
Jan 18, 2019, 10:25:46 AM1/18/19
to BigBlueButton-.
Hi there,

If you take a look at the source code for GreenLight


you'll see the sample.env file.  The docker command is running `cat ./sample.env` within the container to print `sample.env` to standard output.

Regards,... Fred

On Fri, Jan 18, 2019 at 10:18 AM <mdcy...@gmail.com> wrote:

This are all the commands I used to have greenlight running without docker, see if this works for you, and then I can tell you which files I modified:



Could you tell me what files are those? 

--
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-s...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

mdcy...@gmail.com

unread,
Jan 18, 2019, 10:50:40 AM1/18/19
to BigBlueButton-Setup
Thanks Fred

but i could find the default text like 

"is a simple front-end for your BigBlueButton open-source web conferencing server"

or those are part of bbb, not greenlight?






Hi there,

If you take a look at the source code for GreenLight


you'll see the sample.env file.  The docker command is running `cat ./sample.env` within the container to print `sample.env` to standard output.

Regards,... Fred

On Fri, Jan 18, 2019 at 10:18 AMwrote:

mdcy...@gmail.com

unread,
Jan 18, 2019, 11:46:54 AM1/18/19
to BigBlueButton-Setup
THANKS GUYS!!!
I was able to customize greenlight :)

BUT

once i restart the server...  i got 404 Not Found

How do i set to start with this config always?

Fred Dixon

unread,
Jan 18, 2019, 2:20:37 PM1/18/19
to BigBlueButton-.
Hi,

I googled for

  start rails systemd

and found this



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-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

mdcy...@gmail.com

unread,
Jan 19, 2019, 10:28:39 AM1/19/19
to BigBlueButton-Setup
Thanks Fred , i read it, but no idea where to start :( 
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.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

mdcy...@gmail.com

unread,
Jan 19, 2019, 10:29:19 AM1/19/19
to BigBlueButton-Setup
@German Acevedo, could you share your method to keep this running automatically? Even after a computer re-start?

 
This are all the commands I used to have greenlight running without docker, see if this works for you, and then I can tell you which files I modified:
======================
rails s -p 5000 -e production

=======================================

Regards,

German


Fred Dixon

unread,
Jan 19, 2019, 10:53:24 AM1/19/19
to BigBlueButton-.
Hi there,

The article does give a pretty good overview of how to start a rails application on startup. I'm not sure we could write one better.  If there are concepts in the article that are unfamiliar, such as systemd, there are more resources on it.

> Thanks Fred , i read it, but no idea where to start :( 

It's clear your already starting to modify the code and branding it.   There is a wealth of material out there on Rails and LInux.  This is one of the reasons we wrote GreenLight in Rails -- it's a very well understood (and documented) framework.

You'll need to invest some time in learning the fundamentals of what you are trying to do (i.e. how does a rails application work, how does it start, how do you debug common rails issues, and so on); otherwise, you'll always be dependent on other people to volunteer their time. 

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-s...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

mdcy...@gmail.com

unread,
Jan 21, 2019, 6:21:47 AM1/21/19
to BigBlueButton-Setup
I wouldn't say I modify knowing what i'm doing, is more like, copying and pasting, testing, and thats it.

No programming experience so far. I'm following your advise, and read a little more about rails,
a small error that for a programmer is nothing, for me  usually takes days to find out.  If anyone has specific steps applied to this particular case, (like German Acevedo did), please let me know. 
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.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

mdcy...@gmail.com

unread,
Jan 21, 2019, 11:19:42 AM1/21/19
to BigBlueButton-Setup
Dumb question

Since i'm not tuse how to proceed is it possible to disable docker, do what German mentioned
And then restore docker?

I tried and I got

Unable to find image 'greenlight:v2' locally 
docker: Error response from daemon: pull access denied for greenlight, repository does not exist or may require 'docker login'. 

mdcy...@gmail.com

unread,
Jan 21, 2019, 12:31:26 PM1/21/19
to BigBlueButton-Setup
Found a temporary fix using nohup
 

nohup rails s -p 5000 -e production  & 


not sure for how long will work

For sure... it won't work after rebooting the server

German Acevedo

unread,
Jan 22, 2019, 11:52:08 AM1/22/19
to BigBlueButton-Setup
Hi,
Sorry for my late response, but I was in the coutry side of Guatemala with very limited access to the internet.
I was able to find a solution to start greenlight even when the server is rebooted. This is what I did:

1.- In /home/<user>/ created a script named greenlight.sh with the following in it:
#!/bin/bash
### BEGIN INIT INFO
# Provides:          Greenlight V2
# Required-Start:    $syslog
# Required-Stop:     $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: rails start
# Description: Executes commands to start Greenlight
#
### END INIT INFO

cd /greenlight
source /etc/profile.d/rvm.sh

rails s -p 5000 -e production

2.- Made a copy of the script to init.d, changed permissions with the following commands:
sudo cp /home/<user>/greenlight.sh /etc/init.d/
chmod a+x greenlight.sh
chmod 777 greenlight.sh
sudo update-rc.d greenlight.sh defaults

The only thing missing is that I don't know how to stop greenlight if I need to update my .env file, for example to enable again the registration for new accounts.
In that scenario, I use Webmin as control panel, and need to stop this script to start at boot, then reboot my server and make the changes, then enable it to run again at startup and reboot again my server.... (This is my solution as a biochemist for this, maybe the engineers will laugh a lot if they read it!  :-)  ) but in the meanwhile it could help you.

Regards,

German

mdcy...@gmail.com

unread,
Jan 22, 2019, 1:13:33 PM1/22/19
to BigBlueButton-Setup
GRACIAS GERMAN ! 

BTW how did you disable the new registration? 
hiding the button?

Chad Pilkey

unread,
Jan 22, 2019, 2:49:16 PM1/22/19
to BigBlueButton-Setup
I think to disable new registrations you can change this property to "false" in the .env file, https://github.com/bigbluebutton/greenlight/blob/master/sample.env#L72, and then restart Greenlight so it picks up the changes.

German Acevedo

unread,
Jan 22, 2019, 3:26:13 PM1/22/19
to BigBlueButton-Setup
Just edit the /greenlight/.env file and look for this:

# Set this to true if you want GreenLight to support user signup and login without
# Omniauth. For more information, see:
#
#   http://docs.bigbluebutton.org/install/greenlight-v2.html#in-application-greenlight
#
ALLOW_GREENLIGHT_ACCOUNTS=true

And change to
ALLOW_GREENLIGHT_ACCOUNTS=false

And as Chad indicates, restart greenlight.

Regards,

German

mdcy...@gmail.com

unread,
Jan 22, 2019, 5:54:50 PM1/22/19
to BigBlueButton-Setup
Thanks German! As soon as I back home I'll test it
Reply all
Reply to author
Forward
0 new messages