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. PeerTube
  3. PeerTube LDAP not working

PeerTube LDAP not working

Scheduled Pinned Locked Moved Solved PeerTube
9 Posts 2 Posters 1.7k Views 3 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.
    • P Offline
      P Offline
      plusone-nick
      wrote on last edited by
      #1

      Hello All =]

      Attempting to install and mess with PeerTube.. I configured it to use Cloudron LDAP to authenticate with the Cloudron User Directory but it does not appear to work.
      Is this supposed to work out of the box or are there additional config to be made?

      Checked the Docs & Took a look @ /app/data/production.yaml but did not see anything stick out

      Tried using a username and the email but it just says Incorrect user or PW =/

      Any insight or suggestions are appreciated!

      Best,
      Nick

      ✌💙+1

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

        @plusone-nick Is this an existing installation? LDAP is also integrated in the latest peertube package. So, maybe just re-install? I didn't pay particular attention to whether the package updates properly when it was listed as 'unstable'.

        P 1 Reply Last reply
        0
        • girishG girish

          @plusone-nick Is this an existing installation? LDAP is also integrated in the latest peertube package. So, maybe just re-install? I didn't pay particular attention to whether the package updates properly when it was listed as 'unstable'.

          P Offline
          P Offline
          plusone-nick
          wrote on last edited by
          #3

          @girish I did test an unstable version but for this use case I had just installed a fresh before logging this post. I will try from scratch again and advise of the results =]

          ✌💙+1

          P 1 Reply Last reply
          0
          • P plusone-nick

            @girish I did test an unstable version but for this use case I had just installed a fresh before logging this post. I will try from scratch again and advise of the results =]

            P Offline
            P Offline
            plusone-nick
            wrote on last edited by
            #4

            @girish after some testing:

            1 - I was able to get the expected results of cloudron LDAP users being able to log into a new peertube installation (on my clients org)

            2 - when testing on my org LDAP does not work on fresh installs. Tried it on a subdomain and a secondary domain (root) with no luck

            3 - What i did find:

            • Both orgs on v5.6.3
            • Both PeerTube installs on 2.4.0 (v1.1.1)

            4 - My clients org has the plugin installed automatically - where as my installs are missing the LDAP plugin for some reason 🤷‍♂️

            Any advice?

            ✌💙+1

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

              @plusone-nick Are the two intallations on different machines? Now that I look into the setup code, there is possibly a race that it may not install the plugin correctly on slow machines.

              Can you download the full logs of the install that is not working and send it to support@cloudron.io ?

              P 1 Reply Last reply
              0
              • girishG girish

                @plusone-nick Are the two intallations on different machines? Now that I look into the setup code, there is possibly a race that it may not install the plugin correctly on slow machines.

                Can you download the full logs of the install that is not working and send it to support@cloudron.io ?

                P Offline
                P Offline
                plusone-nick
                wrote on last edited by
                #6

                @girish No they are not on the same machine/setup

                The one that is working as expected is hosted on DO

                Where as my org that is not working is hosted on site (Dell R610 - 12 cores & 64 GB RAM)

                • Technically the Dell has like 7X more resources than the DO instance but as It is self administered there is/could be some other differences....

                I will send the logs =]

                ✌💙+1

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

                  Thanks for sending over the logs, looking into it.

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

                    The issue here was that we use the peertube CLI to install the LDAP plugin. The peertube CLI makes a https call to the app's location. However, it seem hairpin routing does not work on the network. And thus LDAP plugin was not getting installed.

                    A workaround was to login as admin and install the LDAP plugin from plugins. Then restart the app.

                    P 1 Reply Last reply
                    2
                    • girishG girish

                      The issue here was that we use the peertube CLI to install the LDAP plugin. The peertube CLI makes a https call to the app's location. However, it seem hairpin routing does not work on the network. And thus LDAP plugin was not getting installed.

                      A workaround was to login as admin and install the LDAP plugin from plugins. Then restart the app.

                      P Offline
                      P Offline
                      plusone-nick
                      wrote on last edited by
                      #9

                      Much appreciated @girish 🙏

                      ✌💙+1

                      1 Reply Last reply
                      0
                      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