greenlight icon indicating copy to clipboard operation
greenlight copied to clipboard

Greenlight Customization: ROOM_FEATURES=recording is Disabled in Customized Docker Image

Open oktab1 opened this issue 3 years ago • 3 comments

Issue Description

Reference to setting in .env file: https://github.com/bigbluebutton/greenlight/blob/952886c0dc9e63974bdc79b6ab5021a4d5796ee0/sample.env#L185

I am running a customized version of greenlight pulled from the latest master branch. The problem is that recording is disabled whenever I use my custom image.

To Reproduce

  • Build the custom docker image for greenlight according to the documentation here. My image name is awi and tag is release-v2.8.7
  • Copy sample.env to .env and set values for the required variables
  • Build the image using the provided shell file. After the build succeeds, change the image in docker-compose.yml to your image and tag.
  • Start greenlight with docker-compose up -d: greenlight starts successfully.
  • In greenlight administration (Organization --> Roles) for Admin: the option for Allow users with this role to manage server rooms and recordings is greyed out.
  • Create or Modify existing Room Settings: There is no option for Allow room to be recorded
  • Start a meeting: Recording is disabled

If I switch to the default image bigbluebutton/greenlight:v2, the recording features are enabled and they work as expected and BigBlueButton starts with the option for starting and stopping a recording. I am using the same greenlight database between both images so I'm not sure what is wrong. See screenshots below.

Screenshots from Customized greenlight

Screen Shot 2022-02-14 at 12 00 30 PM Screen Shot 2022-02-14 at 11 59 03 AM Screen Shot 2022-02-14 at 11 59 22 AM Screen Shot 2022-02-14 at 11 59 52 AM

I am running the develop version of bigbluebutton based on v2.3 if that is useful.

Appreciate your help with this.

Thanks!

oktab1 avatar Feb 14 '22 18:02 oktab1

Has anyone run into this issue before and is able to provide some information on how to resolve it. Thanks!

oktab1 avatar Feb 17 '22 22:02 oktab1

@ffdixon Hi All, Did I submit this in the wrong queue or it just hasn't gotten on anyone's radar? Looking for some feedback or thoughts on this as it is holding back customizations that I would like to do.

Thanks!

oktab1 avatar Mar 11 '22 13:03 oktab1

Hi oktab1, Did you find a solution to this issue, looks the same as the issue we have in #3694

Balranaldpresy avatar Jul 28 '22 00:07 Balranaldpresy

Same here after an upgrade of greenlight and the database we cannot enable recording.

Edit: After investigation it seems to be a problem with the database, env variable is set in the container.

dimitrihof avatar Nov 24 '22 13:11 dimitrihof

So apparently as described in #3694 you have to manually update the enabled row in the table role_permissions with something like this:

greenlight_production=# UPDATE role_permissions 
greenlight_production-# SET enabled = true 
greenlight_production-# WHERE id = xx;

get your id from greenlight_production=# select * from "roles"; get the role id of your admin

select * from "role_permissions"; look for the the right id in your roles_permissions table with the correct setting

dimitrihof avatar Nov 24 '22 14:11 dimitrihof

Please note: Greenlight v3 has been released. With this new version, many of the issues and bugs that were present in v2 have been resolved.

As a result, we will no longer be providing updates or support for v2 (except for major security issues), and we will be closing any outstanding bug reports / feature requests related to v2. While we understand that some of you may still be using v2, we highly encourage you to upgrade to v3 to take advantage of the improved features and stability. If your request/bug still applies to v3, please open a new issue for it

farhatahmad avatar Feb 17 '23 15:02 farhatahmad