alangecker / bigbluebutton-docker

merged into https://github.com/bigbluebutton/docker
GNU Lesser General Public License v3.0
99 stars 33 forks source link

[solved] Greenlight preuploaded presentations not working #108

Open manfred-w opened 3 years ago

manfred-w commented 3 years ago

If a presentation is uploaded via the greenlight it is not visible when starting the conference.

image

image

image

Steps to reproduce:

  1. Inside greenlight click the room menu => add presentation => upload a pdf
  2. start the conference
  3. the presentation is missing
  4. during the conference i am able to upload a pdf and use it as presentation

Thanks

cjhille commented 3 years ago

Hm, works on my setup (v2.2.31), but depending on the presentation it takes a while for it to be converted before it is actually displayed. Does it show any conversion progress in the "add presentation" menu during the conference?

hevengo commented 3 years ago

Re-tested it today with current 2.2.x setup - does still not work.

There seems to be a call

https://meet.example.com/b/rails/active_storage/blobs/eyJfcmFpbHMiXXXXXXXXXXFnZSI6IkJBaHBEdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--22a87e83f67c8bXXXXXXXX76e536584fc8237f/kaffe_von_oben.jpg

That redirects to

https://meet.example.com/rails/active_storage/disk/eyJfcmFpbHMiOnsibWXXXXXXXXXXIkJBaDdDRG9JYTJWNVNTSWRWbmxCVW5aR1VVWklaRlZYU21VeVV6TkNWV1pPZDAxYUJqb0dSVlE2RUdScGMzQnZjMmwwYVc5dVNTSlBhVzVzYVc1bE95Qm1hV3hsYm1GdFpUMGlhMkZtWm1WZmRtOXVYMjlpWlc0dWFuQm5JanNnWm1sc1pXNWhiV1VxUFZWVVJpMDRKeWRyWXXXXXXXXXXiMjVmYjJKbGJpNXFjR2NHT3daVU9oRmpiMjUwWlc1MFgzUjVjR1ZKSWc5cGJXRm5aUzlxY0dWbkJqc0dWQT09IiwiZXhwIjoiMjAyMS0wNC0yOVQxMTo0MTowMS4xNTFaIiwicHVyIjoiYmxvYl9rZXkifX0=--c12a5ec2e9e9fd01105dacfd93d224ff3c4f2f91/kaffe_von_oben.jpg?content_type=image%2Fjpeg&disposition=inline%3B+filename%3D%22kaffe_von_oben.jpg%22%3B+filename%2A%3DUTF-8%27%27kaffe_von_oben.jpg

But that results in a 404 error.

manfred-w commented 3 years ago

Found the problem and posted a pull-request (https://github.com/bigbluebutton/docker/pull/116) for the 2.3 bbb/docker version.

add to mod/nginx/bbb/greenlight.nginx the following lines and restart the container

location /rails/active_storage {
  return 301 /b$request_uri;
}