Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. BigBlueButton - web conferencing system for on-line learning

BigBlueButton - web conferencing system for on-line learning

Scheduled Pinned Locked Moved App Wishlist
86 Posts 19 Posters 30.9k Views 22 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • BrutalBirdieB BrutalBirdie

    I am currently working on the greenlight Cloudron App for BigBlueButton.
    So far the basic functionality is working fine but the ldap-auth is giving me trouble.

    Right now the /app/code/bin/start script writes these variables

    sed -i -e "s/LDAP_SERVER=.*/LDAP_SERVER=$CLOUDRON_LDAP_SERVER/g" /app/data/.env \
    && sed -i -e "s/LDAP_PORT=.*/LDAP_PORT=$CLOUDRON_LDAP_PORT/g" /app/data/.env \
    && sed -i -e "s/LDAP_BASE=.*/LDAP_BASE=$CLOUDRON_LDAP_USERS_BASE_DN/g" /app/data/.env \
    && sed -i -e "s/LDAP_BIND_DN=.*/LDAP_BIND_DN=$CLOUDRON_LDAP_BIND_DN/g" /app/data/.env \
    && sed -i -e "s/LDAP_PASSWORD=.*/LDAP_PASSWORD=$CLOUDRON_LDAP_BIND_PASSWORD=/g" /app/data/.env \
    && sed -i -e "s/LDAP_METHOD=.*/LDAP_METHOD=plain/g" /app/data/.env \
    && sed -i -e "s/LDAP_UID=.*/LDAP_UID=cn/g" /app/data/.env \
    && sed -i -e "s/LDAP_AUTH=.*/LDAP_AUTH=simple/g" /app/data/.env \
    && sed -i -e "s/LDAP_FILTER=.*/LDAP_FILTER=\(\&\(objectclass=user\)\(\|\(username=%uid\)\(mail=%uid\)\)\)/g" /app/data/.env \
    && sed -i -e "s/LDAP_ATTRIBUTE_MAPPING=.*/LDAP_ATTRIBUTE_MAPPING=uid=uid;name=displayname;email=mail;nickname=givenName;/g" /app/data/.env
    

    But the LDAP Login fails.

    INFO: [af608168-79eb-41e2-818c-1e514f0306bd] method=POST path=/auth/ldap format=html controller=SessionsController action=ldap status=302 duration=17.26 view=0.00 db=0.71 location=https://greenlight.stage.gzevd.de/ldap_signin host=greenlight 
    INFO: [70994248-8131-4f51-bfdb-db159292bca0] method=GET path=/ldap_signin format=html controller=SessionsController action=ldap_signin status=200 duration=21.65 view=15.03 db=0.86 host=greenlight 
    

    Maybe someone can help out?

    I just pushed my work here: https://git.cloudron.io/BrutalBirdie/greenlight-app
    ps: Please ignore my .gitlab-ci.yml this is for my own gitlab for deploying and testing the App.

    EDIT:
    Thanks @nebulon
    The LDAP_UID was wrong. Has to be username
    And the Filter can be deleted.
    Pushed.

    jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    wrote on last edited by
    #15

    @BrutalBirdie this is great, thanks!

    I'm assuming you're using BigBlueButton 2.3-alpha-2 as the basis for this?

    I use Cloudron with Gandi & Hetzner

    BrutalBirdieB 1 Reply Last reply
    0
    • BrutalBirdieB BrutalBirdie

      I am currently working on the greenlight Cloudron App for BigBlueButton.
      So far the basic functionality is working fine but the ldap-auth is giving me trouble.

      Right now the /app/code/bin/start script writes these variables

      sed -i -e "s/LDAP_SERVER=.*/LDAP_SERVER=$CLOUDRON_LDAP_SERVER/g" /app/data/.env \
      && sed -i -e "s/LDAP_PORT=.*/LDAP_PORT=$CLOUDRON_LDAP_PORT/g" /app/data/.env \
      && sed -i -e "s/LDAP_BASE=.*/LDAP_BASE=$CLOUDRON_LDAP_USERS_BASE_DN/g" /app/data/.env \
      && sed -i -e "s/LDAP_BIND_DN=.*/LDAP_BIND_DN=$CLOUDRON_LDAP_BIND_DN/g" /app/data/.env \
      && sed -i -e "s/LDAP_PASSWORD=.*/LDAP_PASSWORD=$CLOUDRON_LDAP_BIND_PASSWORD=/g" /app/data/.env \
      && sed -i -e "s/LDAP_METHOD=.*/LDAP_METHOD=plain/g" /app/data/.env \
      && sed -i -e "s/LDAP_UID=.*/LDAP_UID=cn/g" /app/data/.env \
      && sed -i -e "s/LDAP_AUTH=.*/LDAP_AUTH=simple/g" /app/data/.env \
      && sed -i -e "s/LDAP_FILTER=.*/LDAP_FILTER=\(\&\(objectclass=user\)\(\|\(username=%uid\)\(mail=%uid\)\)\)/g" /app/data/.env \
      && sed -i -e "s/LDAP_ATTRIBUTE_MAPPING=.*/LDAP_ATTRIBUTE_MAPPING=uid=uid;name=displayname;email=mail;nickname=givenName;/g" /app/data/.env
      

      But the LDAP Login fails.

      INFO: [af608168-79eb-41e2-818c-1e514f0306bd] method=POST path=/auth/ldap format=html controller=SessionsController action=ldap status=302 duration=17.26 view=0.00 db=0.71 location=https://greenlight.stage.gzevd.de/ldap_signin host=greenlight 
      INFO: [70994248-8131-4f51-bfdb-db159292bca0] method=GET path=/ldap_signin format=html controller=SessionsController action=ldap_signin status=200 duration=21.65 view=15.03 db=0.86 host=greenlight 
      

      Maybe someone can help out?

      I just pushed my work here: https://git.cloudron.io/BrutalBirdie/greenlight-app
      ps: Please ignore my .gitlab-ci.yml this is for my own gitlab for deploying and testing the App.

      EDIT:
      Thanks @nebulon
      The LDAP_UID was wrong. Has to be username
      And the Filter can be deleted.
      Pushed.

      luckowL Offline
      luckowL Offline
      luckow
      translator
      wrote on last edited by
      #16

      @BrutalBirdie Great news. So greenlight (as one of different other frontends for BigBlueButton) can be used for videoconferencing & user management. While BBB is installed on a different VM or bare metal. And we can use the built in TURN server on Cloudron. Top!

      Pronouns: he/him | Primary language: German

      1 Reply Last reply
      1
      • jdaviescoatesJ jdaviescoates

        @BrutalBirdie this is great, thanks!

        I'm assuming you're using BigBlueButton 2.3-alpha-2 as the basis for this?

        BrutalBirdieB Offline
        BrutalBirdieB Offline
        BrutalBirdie
        Partner
        wrote on last edited by
        #17
        I'm assuming you're using BigBlueButton 2.3-alpha-2 as the basis for this?
        

        @jdaviescoates the Greenlight App is just the front end for BigBlueButton.
        As @luckow mentioned BBB can be installed anywhere and Greenlight is just the front end which connects to a specific BBB instance or cluster to provide a UI etc.

        Like my work? Consider donating a drink. Cheers!

        jdaviescoatesJ 1 Reply Last reply
        2
        • BrutalBirdieB Offline
          BrutalBirdieB Offline
          BrutalBirdie
          Partner
          wrote on last edited by
          #18

          I would like someone to review my greenlight-app.
          Just heads up this is my first app for Cloudron so I expect some issues but I will be happy to fix and learn from them. 🙂

          Like my work? Consider donating a drink. Cheers!

          1 Reply Last reply
          5
          • doodlemania2D Offline
            doodlemania2D Offline
            doodlemania2
            App Dev
            wrote on last edited by
            #19

            @girish - can you mark this as WIP for testing?

            1 Reply Last reply
            1
            • nebulonN Away
              nebulonN Away
              nebulon
              Staff
              wrote on last edited by
              #20

              I took a brief look at the app and overall it appears to work. Thanks a lot!

              Some things to improve:

              • I was not sure how to login with the pre-setup admin, since I didn't know the admin email address
              • The tests need also test admin login
              • The tests need some code cleanup
              • Since it is only the webfrontend as far as I can tell, the icon has to somehow reflect this
              • The postinstall docs need to mention the fact that the backend has to be adjusted to not use the default test backend
              BrutalBirdieB 1 Reply Last reply
              2
              • nebulonN nebulon

                I took a brief look at the app and overall it appears to work. Thanks a lot!

                Some things to improve:

                • I was not sure how to login with the pre-setup admin, since I didn't know the admin email address
                • The tests need also test admin login
                • The tests need some code cleanup
                • Since it is only the webfrontend as far as I can tell, the icon has to somehow reflect this
                • The postinstall docs need to mention the fact that the backend has to be adjusted to not use the default test backend
                BrutalBirdieB Offline
                BrutalBirdieB Offline
                BrutalBirdie
                Partner
                wrote on last edited by
                #21

                @nebulon said in BigBlueButton - web conferencing system for on-line learning:

                I took a brief look at the app and overall it appears to work. Thanks a lot!

                Some things to improve:

                • I was not sure how to login with the pre-setup admin, since I didn't know the admin email address
                • The tests need also test admin login
                • The tests need some code cleanup
                • Since it is only the webfrontend as far as I can tell, the icon has to somehow reflect this
                • The postinstall docs need to mention the fact that the backend has to be adjusted to not use the default test backend
                • The Admin E-Mail address is the Mail FROM Address aka. CLOUDRON_MAIL_SMTP_USERNAME variable from e-mail addon also noted in the POSTINSTALL.md. As far as I am aware of I can not write the POSTINSTALL.md dynamically to display the env CLOUDRON_MAIL_SMTP_USERNAME.
                  So either I have to do a better job to explain how to get the E-Mail address from Terminal or the log or use a static e-mail address.
                  What would be the status quo to for this type of issue?
                • Will add the test for admin login as well (above issue again, hmm so static admin e-mail would be better?)
                • Understandable
                • Greenlight has no own Icon sadly, I would suggest the BBB Icon but in Green? 🤔
                • Will add that.

                Cheers.

                Like my work? Consider donating a drink. Cheers!

                1 Reply Last reply
                2
                • nebulonN Away
                  nebulonN Away
                  nebulon
                  Staff
                  wrote on last edited by
                  #22

                  For the email address, we use admin@server.local in such a case. Hopefully it is possible to change this later by the user, just like the pre-setup password?

                  BrutalBirdieB 1 Reply Last reply
                  1
                  • nebulonN nebulon

                    For the email address, we use admin@server.local in such a case. Hopefully it is possible to change this later by the user, just like the pre-setup password?

                    BrutalBirdieB Offline
                    BrutalBirdieB Offline
                    BrutalBirdie
                    Partner
                    wrote on last edited by
                    #23

                    @nebulon said in BigBlueButton - web conferencing system for on-line learning:

                    For the email address, we use admin@server.local in such a case. Hopefully it is possible to change this later by the user, just like the pre-setup password?

                    Yes e-mail and password can be changed.
                    And I will use admin@server.local.

                    Thanks for the input.

                    Like my work? Consider donating a drink. Cheers!

                    BrutalBirdieB 1 Reply Last reply
                    2
                    • BrutalBirdieB BrutalBirdie

                      @nebulon said in BigBlueButton - web conferencing system for on-line learning:

                      For the email address, we use admin@server.local in such a case. Hopefully it is possible to change this later by the user, just like the pre-setup password?

                      Yes e-mail and password can be changed.
                      And I will use admin@server.local.

                      Thanks for the input.

                      BrutalBirdieB Offline
                      BrutalBirdieB Offline
                      BrutalBirdie
                      Partner
                      wrote on last edited by
                      #24

                      @nebulon Changes pushed.

                      Like my work? Consider donating a drink. Cheers!

                      1 Reply Last reply
                      3
                      • BrutalBirdieB BrutalBirdie
                        I'm assuming you're using BigBlueButton 2.3-alpha-2 as the basis for this?
                        

                        @jdaviescoates the Greenlight App is just the front end for BigBlueButton.
                        As @luckow mentioned BBB can be installed anywhere and Greenlight is just the front end which connects to a specific BBB instance or cluster to provide a UI etc.

                        jdaviescoatesJ Offline
                        jdaviescoatesJ Offline
                        jdaviescoates
                        wrote on last edited by
                        #25

                        @BrutalBirdie said in BigBlueButton - web conferencing system for on-line learning:

                        @jdaviescoates the Greenlight App is just the front end for BigBlueButton.
                        As @luckow mentioned BBB can be installed anywhere and Greenlight is just the front end which connects to a specific BBB instance or cluster to provide a UI etc.

                        Ah, yes. I actually realised Greenlight is just a front end because it's what we as the front end for the https://meet.coop BBB server.

                        I was just secretly hoping that because you'd posted about it in this thread about BBB itself, you were working on a package that included BBB itself too! 🙂

                        I use Cloudron with Gandi & Hetzner

                        1 Reply Last reply
                        0
                        • BrutalBirdieB Offline
                          BrutalBirdieB Offline
                          BrutalBirdie
                          Partner
                          wrote on last edited by
                          #26

                          Hey @luckow can you share your insights about BBB as App in Cloudron?

                          Referring to this conversation:

                          @jdaviescoates said in Cloudron 5.6.2:

                          @BrutalBirdie said in Cloudron 5.6.2:

                          I remember a conversation about BBB as App not being a good idea.

                          It could possibly be that BBB recommends bare metal servers because freeswitch (which it depends on) works best like that?

                          https://docs.bigbluebutton.org/2.2/install.html#minimum-server-requirements

                          But at the same time I have also heard of people using BBB on a VPS without any real issue.

                          I'd definitely love to have a BBB app!

                          And I think that once 6.0 with it's unified dashboard (whatever that exactly turns out to be) is out it'll also be easier to have a whole separate VPS dedicated to just Cloudron + BBB, which would help too I imagine.

                          Like my work? Consider donating a drink. Cheers!

                          1 Reply Last reply
                          1
                          • C Offline
                            C Offline
                            cyberfreakde
                            wrote on last edited by cyberfreakde
                            #27

                            Is the development still going on? I host my church meetings in bbb so I need it like 3 times a week. I currently have a extra server for that which costs a lot. Would be nice to have it in Cloudron directly 🙂

                            I found a container directly from BBB https://hub.docker.com/r/bigbluebutton/bigbluebutton
                            Although they say not suitable for production use, I would still love it use it. Did someone try it? I can't get it to run on docker.

                            jdaviescoatesJ 1 Reply Last reply
                            1
                            • C cyberfreakde

                              Is the development still going on? I host my church meetings in bbb so I need it like 3 times a week. I currently have a extra server for that which costs a lot. Would be nice to have it in Cloudron directly 🙂

                              I found a container directly from BBB https://hub.docker.com/r/bigbluebutton/bigbluebutton
                              Although they say not suitable for production use, I would still love it use it. Did someone try it? I can't get it to run on docker.

                              jdaviescoatesJ Offline
                              jdaviescoatesJ Offline
                              jdaviescoates
                              wrote on last edited by
                              #28

                              @cyberfreakde I don't think anyone has started to package BBB for Cloudron yet as there isn't a stable BBB release that runs on Ubuntu 18.04 yet...

                              I use Cloudron with Gandi & Hetzner

                              C 1 Reply Last reply
                              0
                              • jdaviescoatesJ jdaviescoates

                                @cyberfreakde I don't think anyone has started to package BBB for Cloudron yet as there isn't a stable BBB release that runs on Ubuntu 18.04 yet...

                                C Offline
                                C Offline
                                cyberfreakde
                                wrote on last edited by
                                #29

                                @jdaviescoates But if it is a docker container? I think it doesn't matter.

                                jdaviescoatesJ 1 Reply Last reply
                                0
                                • jdaviescoatesJ Offline
                                  jdaviescoatesJ Offline
                                  jdaviescoates
                                  wrote on last edited by
                                  #30

                                  2.3-alpha-4 is out:

                                  https://github.com/bigbluebutton/bigbluebutton/releases/tag/v2.3-alpha-4

                                  I use Cloudron with Gandi & Hetzner

                                  1 Reply Last reply
                                  2
                                  • C cyberfreakde

                                    @jdaviescoates But if it is a docker container? I think it doesn't matter.

                                    jdaviescoatesJ Offline
                                    jdaviescoatesJ Offline
                                    jdaviescoates
                                    wrote on last edited by
                                    #31

                                    @cyberfreakde said in BigBlueButton - web conferencing system for on-line learning:

                                    I think it doesn't matter.

                                    I think it probably does matter, otherwise @staff likely would've started trying to package BBB already (rather than waiting for a stable version that runs on 18.04)

                                    I use Cloudron with Gandi & Hetzner

                                    1 Reply Last reply
                                    0
                                    • girishG Offline
                                      girishG Offline
                                      girish
                                      Staff
                                      wrote on last edited by girish
                                      #32

                                      Technically speaking, @cyberfreakde is correct. It doesn't matter because container can even contain centos. But to keep our maintenance burden low, we only use Ubuntu 18 in containers. Mentally, this is the equivalent of having to maintain app packages for different distributions.

                                      robiR 1 Reply Last reply
                                      2
                                      • girishG girish

                                        Technically speaking, @cyberfreakde is correct. It doesn't matter because container can even contain centos. But to keep our maintenance burden low, we only use Ubuntu 18 in containers. Mentally, this is the equivalent of having to maintain app packages for different distributions.

                                        robiR Offline
                                        robiR Offline
                                        robi
                                        wrote on last edited by
                                        #33

                                        @girish bbb-install.sh supports installing BigBlueButton 2.3 and coturn on Ubuntu 18.04.

                                        Conscious tech

                                        BrutalBirdieB 1 Reply Last reply
                                        1
                                        • robiR robi

                                          @girish bbb-install.sh supports installing BigBlueButton 2.3 and coturn on Ubuntu 18.04.

                                          BrutalBirdieB Offline
                                          BrutalBirdieB Offline
                                          BrutalBirdie
                                          Partner
                                          wrote on last edited by BrutalBirdie
                                          #34

                                          @robi said in BigBlueButton - web conferencing system for on-line learning:

                                          @girish bbb-install.sh supports installing BigBlueButton 2.3 and coturn on Ubuntu 18.04.

                                          Yes but 2.3 is not stable.

                                          TL;DR
                                          It's not time yet. ~ Sound warning!

                                          I also talked to Fred Dixon some weeks before last Christmas about the state of 2.3.

                                          Here a quote from him, which I gather from my memory (all statements without guarantee):

                                          We will not give a release date because we only ship a functional product and don't work with due dates.
                                          This only sets false expectations and leads to bad code.

                                          I can share this 2.3-draft where you could get some information about current state of 2.3.


                                          Lets talk BBB and turnserver.

                                          There is a turn addon default by Cloudron.
                                          Problem is, its a docker container cloudron/turn:1.1.0 running on port:

                                          listening-port=3478
                                          tls-listening-port=5349
                                          

                                          This turnserver is kinda useless.
                                          In short terms, a app is needed for turn, so the turn can listen to port 80/443.
                                          Why?
                                          Company / School with a firewall.
                                          Only Ports 80,443,22,993,587 outbound is allowed. (Everything else blocked).
                                          The turn server should now act like as a MITM (big empasis - like a) so this client can use webRTC via turn.
                                          But since it's running on port 5349/3478 its useless.

                                          afaik girish and nebulon are aware of this but it's not a big priority right now. (Which I fully support)
                                          Also BBB takes a lot of resources. For running small sessions 2-5 People or even 10 it could work out.
                                          But since BBB is running alongside other Apps this could lead to quite a problem if to many people turn on their webcam.

                                          Like my work? Consider donating a drink. Cheers!

                                          girishG 1 Reply Last reply
                                          2
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search