Greenlight V2 docker, can't disable register new accounts

1,850 views
Skip to first unread message

German Acevedo

unread,
May 8, 2019, 12:22:02 AM5/8/19
to BigBlueButton-dev
Hi,
I have setup a new BBB 2.2-beta6 server using the install.sh script with the options to install html5 and greenlight.
Everything worked fine and without any error.
Now that I have created the users account that I need, I tried to disable the new accounts registration by:
  • Stop docker container with command: docker stop greenlight-v2
  • Modified the env file in /root/greenlight to the following setting: ALLOW_GREENLIGHT_ACCOUNTS=false
  • Started docker container with command: docker start greenlight-v2
  • Restarted BBB server: bbb-conf --restart
When I go to my greenlight frontend the registration button stills showing and working.

Am I missing something to disable the new accounts creation?

Regards,

German Acevedo

Ahmad Farhat

unread,
May 8, 2019, 10:38:34 AM5/8/19
to BigBlueButton-dev
Hi,

The steps required to apply env changes to Greenlight can be found here:

German Acevedo

unread,
May 8, 2019, 1:06:04 PM5/8/19
to BigBlueButton-dev
Hi Ahmad,
I tried the instructions but now I have a very strange behaviour:
After disabling create new accounts effectively the Register button doesn't show anymore, but if I click on Login I get a 404 error. 
If I enable create new accounts again, then I can login without any troubles, but the Register button appears again and anybody can create new accounts.
Any suggestion?
Regards,
German

Ahmad Farhat

unread,
May 8, 2019, 1:21:32 PM5/8/19
to BigBlueButton-dev
The issue has been fixed in the master branch, meaning you'll need to change where your docker image is being pulled from.

You can see how here:

German Acevedo

unread,
May 8, 2019, 2:20:33 PM5/8/19
to BigBlueButton-dev
Thank you Ahmad! It's working fine now!

Wilson Chan

unread,
May 9, 2019, 10:05:27 AM5/9/19
to BigBlueButton-dev
sorry , how to select to v2.07 version ? 

Ahmad Farhat於 2019年5月9日星期四 UTC+8上午1時21分32秒寫道:

Chad Pilkey

unread,
May 9, 2019, 10:53:00 AM5/9/19
to BigBlueButton-dev
Wilson, you have to change the image name. All of the instructions use "greenlight-v2" by default, but if you want the bleeding edge (potentially unstable) builds then you can change the image name to "greenlight-master" and it will pull the latest. If you want the 2.0.7 build then it would be "greenlight-release-2.0.7" I believe.

German Acevedo

unread,
May 9, 2019, 5:50:29 PM5/9/19
to BigBlueButton-dev
Hi Wilson,
I used this command (as suggested by Ahmad) and everything now works fine:

docker run --restart unless-stopped -d -p 5000:80 -v $(pwd)/db/production:/usr/src/app/db/production --env-file .env --name greenlight-master bigbluebutton/greenlight:master

Regards,
German Acevedo 

Chad Pilkey

unread,
May 9, 2019, 6:00:09 PM5/9/19
to BigBlueButton-dev
It's very important to note that the master branch isn't guaranteed to always be stable so you'll probably want to revert back to v2 once a new version is pushed.
Reply all
Reply to author
Forward
0 new messages