Installing Administrator account on a custom greenlight

257 views
Skip to first unread message

Carl Gosselin

unread,
May 27, 2019, 11:04:38 AM5/27/19
to BigBlueButton-dev
Hello,

I have a custom version of greenlight.  I run the following commands after every change for the change to take effect:
1. docker stop custom
2. docker rm custom
3. docker build -t custom_greenlight .
4. docker run --restart unless-stopped -d -p 5000:80 -v $(pwd)/db/production:/usr/src/app/db/production --env-file .env --name custom custom_greenlight

My next change: I’d like to add the administrator account to greenlight (https://docs.bigbluebutton.org/greenlight/gl-admin.html)
docker run --rm -v $(pwd)/db/production:/usr/src/app/db/production --env-file .env bigbluebutton/greenlight:v2 bundle exec rake admin:create

Since I'm running a custom version of greenlight, would I need to change the above command?
Anything else I should be paying attention to?

Ahmad Farhat

unread,
May 27, 2019, 2:27:44 PM5/27/19
to BigBlueButton-dev
Hi Carl,

There are a couple of steps you'll need to take to get an Administrator account.

1- The version that included the Admin changes (v2.1.0) was released on May 13. If you installed Greenlight after this day, you can just run: bundle exec rake admin:create

2- If your version of Greenlight is older than v2.1.0, then you'll need to pull the latest changes and resolve any conflicts that appear. You can pull the changes by doing the following:
- Fetch the upstream git changes from https://github.com/bigbluebutton/greenlight/tree/v2
- Merge them into your current branch
- Resolve any conflicts that appear
- Restart Greenlight (docker stop.., docker rm.., docker build.., docker run..)

Carl Gosselin

unread,
May 27, 2019, 3:29:38 PM5/27/19
to BigBlueButton-dev
Thanks Ahmad.  I have an older version of greenlight so I will need to pull a newer version of greenlight from github.  Thanks for describing the steps.


On Monday, May 27, 2019 at 11:04:38 AM UTC-4, Carl Gosselin wrote:
Reply all
Reply to author
Forward
0 new messages