bigbluebutton / docker

Docker files for BigBlueButton
GNU Lesser General Public License v3.0
359 stars 240 forks source link

With Greenlight 3.0.2, recording processing status never updates (requires resync) #274

Open lightweight opened 1 year ago

lightweight commented 1 year ago

I'm running Greenlight 3.0.2 via the bigbluebutton/docker deployment (although with a manually created reverse proxy). When a recorded session finishes, Greenlight provides the "Processing recording, this may take several minutes..." message. But this message persists even through page reloads (and after the recording has been processed successfully). The only way to get a link to the processed recording to show is to 're-sync' the recordings for the room.

According to @scouillard in https://github.com/bigbluebutton/greenlight/issues/5055 (greenlight project issue #5055), this might be due to a failure of a ping to an API endpoint on Greenlight by one of the other containers, but I'm not sure which script in which container (web? recording?) is calling the API endpoint, and why it's failing... Anyone have any insight into this?

capitalfuse commented 1 year ago

Recording processing status never updates

Resolved(reload the page) by added SHARED_SECRET: ${SHARED_SECRET} variables to recording --> environment section in the docker compose file.

https://github.com/bigbluebutton/docker/issues/268

https://github.com/ichdasich/bbb-docker/commit/a64c131e2ce05e7c16c1e9491ffebcd6d307ebc0

lightweight commented 1 year ago

Thanks for that @capitalfuse - I tried adding that to my docker-compose.yml in the recording -> environment section, and rebuilt the recording container, but it doesn't seem to have made any difference. Actually, hang on, no it did work! My previous test obviously wasn't right. Thanks!

capitalfuse commented 1 year ago

mines like below.

mod/recordings/bbb-web.properties

bigbluebutton.web.serverURL=https://{{ .Env.DOMAIN }}
securitySalt={{ .Env.SHARED_SECRET }}

docker-compose.yml

  # recordings
  recordings:
    build: 
      context: mod/recordings
      args:
        BBB_BUILD_TAG: v2022-12-29-grails-524
        TAG_RECORDINGS: v2.6.0
        TAG_BBB_PRESENTATION_VIDEO: 4.0.0-rc.2
    image: alangecker/bbb-docker-recordings:v2.6.0
    restart: unless-stopped
    depends_on:
      - redis
      - bbb-pads
    environment:
      DOMAIN: ${DOMAIN}
      SHARED_SECRET: ${SHARED_SECRET}
    volumes:
      - bigbluebutton:/var/bigbluebutton
      - vol-freeswitch:/var/freeswitch/meetings
      - vol-mediasoup:/var/mediasoup
      - vol-kurento:/var/kurento
    tmpfs:
      - /var/log/bigbluebutton
      - /tmp
    networks:
      bbb-net:
        ipv4_address: 10.7.7.16
lightweight commented 1 year ago

Thanks very much for your help - it seems to be updating properly now when the recording is complete!

ben-ba commented 3 months ago

-> close