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. Discourse

Discourse

Scheduled Pinned Locked Moved Solved App Wishlist
37 Posts 13 Posters 6.7k Views 15 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.
  • yusfY yusf

    @yusf said in Discourse:

    Whaaat! I’m hyped! Did you include LDAP?

    Do you intend on packaging it with LDAP support included, eventually maybe?

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

    @yusf said in Discourse:

    Do you intend on packaging it with LDAP support included, eventually maybe?

    I just came here to ask the exact same question! (assuming, as I am, that this would mean Single Sign On would work? I think SSO is one of the killer features of Cloudron and I'd love it if it were available for even more apps!).

    Is there are possibility of this happening @girish @nebulon or is there some technical reason why in practice it's not really possible and hence why it wasn't done in the first place? πŸ™‚

    I use Cloudron with Gandi & Hetzner

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

      Oh, and the other thing I came here to ask was whether or not it's possible to install Discourse plugins on Cloudron hosted Discourse?

      Because one (well, two) of the things I really like about Discourse are the Discourse Events and Discourse Locations plugins (you can see them both in action at e.g. https://community.coops.tech and https://bettermedia.uk )

      So it's great to know that it is possible to install plugins on Cloudron hosted Discourse! πŸ˜„

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply
      0
      • jdaviescoatesJ jdaviescoates

        @yusf said in Discourse:

        Do you intend on packaging it with LDAP support included, eventually maybe?

        I just came here to ask the exact same question! (assuming, as I am, that this would mean Single Sign On would work? I think SSO is one of the killer features of Cloudron and I'd love it if it were available for even more apps!).

        Is there are possibility of this happening @girish @nebulon or is there some technical reason why in practice it's not really possible and hence why it wasn't done in the first place? πŸ™‚

        nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #22

        @jdaviescoates said in Discourse:

        @yusf said in Discourse:

        Do you intend on packaging it with LDAP support included, eventually maybe?

        I just came here to ask the exact same question! (assuming, as I am, that this would mean Single Sign On would work? I think SSO is one of the killer features of Cloudron and I'd love it if it were available for even more apps!).

        Is there are possibility of this happening @girish @nebulon or is there some technical reason why in practice it's not really possible and hence why it wasn't done in the first place? πŸ™‚

        Since I think the LDAP plugin for discourse is readily available it looks like, there is no real technical reason, but mostly we haven't really seen the use-case for a forum type app to have SSO to the Cloudron users (take this forum here as an example, it runs on a Cloudron but only few people have users on that Cloudron). So I guess if the private forum use-case is considered to be useful and valid, then I guess we can add that.

        yusfY jdaviescoatesJ 2 Replies Last reply
        1
        • nebulonN nebulon

          @jdaviescoates said in Discourse:

          @yusf said in Discourse:

          Do you intend on packaging it with LDAP support included, eventually maybe?

          I just came here to ask the exact same question! (assuming, as I am, that this would mean Single Sign On would work? I think SSO is one of the killer features of Cloudron and I'd love it if it were available for even more apps!).

          Is there are possibility of this happening @girish @nebulon or is there some technical reason why in practice it's not really possible and hence why it wasn't done in the first place? πŸ™‚

          Since I think the LDAP plugin for discourse is readily available it looks like, there is no real technical reason, but mostly we haven't really seen the use-case for a forum type app to have SSO to the Cloudron users (take this forum here as an example, it runs on a Cloudron but only few people have users on that Cloudron). So I guess if the private forum use-case is considered to be useful and valid, then I guess we can add that.

          yusfY Offline
          yusfY Offline
          yusf
          wrote on last edited by
          #23

          @nebulon said in Discourse:

          So I guess if the private forum use-case is considered to be useful and valid, then I guess we can add that.

          It’s very useful for me and my projects!

          1 Reply Last reply
          1
          • nebulonN nebulon

            @jdaviescoates said in Discourse:

            @yusf said in Discourse:

            Do you intend on packaging it with LDAP support included, eventually maybe?

            I just came here to ask the exact same question! (assuming, as I am, that this would mean Single Sign On would work? I think SSO is one of the killer features of Cloudron and I'd love it if it were available for even more apps!).

            Is there are possibility of this happening @girish @nebulon or is there some technical reason why in practice it's not really possible and hence why it wasn't done in the first place? πŸ™‚

            Since I think the LDAP plugin for discourse is readily available it looks like, there is no real technical reason, but mostly we haven't really seen the use-case for a forum type app to have SSO to the Cloudron users (take this forum here as an example, it runs on a Cloudron but only few people have users on that Cloudron). So I guess if the private forum use-case is considered to be useful and valid, then I guess we can add that.

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

            @nebulon said in Discourse:

            we haven't really seen the use-case for a forum type app to have SSO to the Cloudron users

            @nebulon said in Discourse:

            So I guess if the private forum use-case is considered to be useful and valid, then I guess we can add that.

            Does that mean that if Cloudron SSO was enabled then people wouldn't also be able to register?

            Or could we have it how Rocket.Chat seems to function atm, i.e. Cloudron users can login with their Cloudron credentials, but other people can register too? That is what I want πŸ™‚

            Thanks!

            I use Cloudron with Gandi & Hetzner

            yusfY 1 Reply Last reply
            1
            • jdaviescoatesJ jdaviescoates

              @nebulon said in Discourse:

              we haven't really seen the use-case for a forum type app to have SSO to the Cloudron users

              @nebulon said in Discourse:

              So I guess if the private forum use-case is considered to be useful and valid, then I guess we can add that.

              Does that mean that if Cloudron SSO was enabled then people wouldn't also be able to register?

              Or could we have it how Rocket.Chat seems to function atm, i.e. Cloudron users can login with their Cloudron credentials, but other people can register too? That is what I want πŸ™‚

              Thanks!

              yusfY Offline
              yusfY Offline
              yusf
              wrote on last edited by
              #25

              @jdaviescoates Discourse can have multiple authentication modes active simultaneously, yes.

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

                Just to say, again, I really want LDAP support in Discourse! (and every app) πŸ˜›

                The use case is that I want to sell managed Cloudron servers and one of the key selling points is Cloudron's awesome LDAP integration.

                Sure, we want people to be able to register on public forums too, but all existing uses on the Cloudron should be able to use their existing credentials.

                (oh, and I'd still really like to be able to able to filter apps in the app store by which ones have LDAP too)

                I use Cloudron with Gandi & Hetzner

                1 Reply Last reply
                2
                • yusfY Offline
                  yusfY Offline
                  yusf
                  wrote on last edited by
                  #27

                  I wholeheartedly agree with @jdaviescoates πŸ˜ƒ

                  1 Reply Last reply
                  1
                  • yusfY Offline
                    yusfY Offline
                    yusf
                    wrote on last edited by yusf
                    #28

                    I'm trying to add LDAP support myself. I've added the ldap addon to the package manifest, built and installed it. I've also installed the discourse-ldap-auth plugin. It sort of works! πŸŽ‰

                    Here are the settings I could figure out myself:

                    2d87620f-5010-4926-95ab-d45dd404be06-bild.png

                    Remaining issues:

                    • For invite-only forums that only want LDAP, that setting has to be turned off. Otherwise LDAP users can't authenticate. The feature can still be achieved by
                      • disabling enable local logins
                      • disablling enable local logins via email
                      • reenable allow new registrations (Brings back the Sign up button, but luckily (!?) it leads to LDAP login too.
                    • Accounts aren't automatically created. (Not possible currently)
                    • I don't know what en_US.login.ldap.name is or how to map it/fix it.
                    • I don't know how to map the suggested username to the Cloudron username upon Discourse account creation. I would also want to lock it. 92ecb980-7f80-4003-a4ff-03b0b6f7cac9-bild.png
                    • I don't know any other LDAP settings, I just ripped them from the Wordpress LDAP integration settings πŸ˜†
                    • LDAP sign-in UI looks off-brand and dodgy, possibly signalling phishing attempt for some users.

                    Any help appreciated!

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

                      Oh, not being able to create accounts automatically is a bummer. What does it mean then? You can login via LDAP but the account has to be created with some other means? (how?)

                      yusfY 1 Reply Last reply
                      0
                      • girishG girish

                        Oh, not being able to create accounts automatically is a bummer. What does it mean then? You can login via LDAP but the account has to be created with some other means? (how?)

                        yusfY Offline
                        yusfY Offline
                        yusf
                        wrote on last edited by yusf
                        #30

                        @girish Yeah, it’s unfortunate. But it’s not confirmed as it was only what the discourse-ldap-auth developer thought, so it should be investigated properly.

                        The only difference is that you need to click the Create New Account button where your credentials come with pre-filled LDAP data. But any increased complexity in such user flows will always generate more support tickets for admins as another step offers another chance to screw up 😩

                        1 Reply Last reply
                        -1
                        • yusfY Offline
                          yusfY Offline
                          yusf
                          wrote on last edited by yusf
                          #31

                          A general serious bug is that I can't upload Discourse backups for restoring:

                          There has been an error while uploading 'backup.tar.gz': There is not enough space on disk to upload this backup.

                          This is even though there's plenty of free space in the Cloudron system itself.

                          Come to think of it, is it wise to have the Discourse feature of builtin automatic backups enabled by default at all?

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

                            @yusf I can reproduce the problem, I have opened https://git.cloudron.io/cloudron/discourse-app/issues/2 . AFAICT, there is no way to disable backups in discourse (atleast cannot find it in the UI)

                            yusfY 1 Reply Last reply
                            1
                            • girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote on last edited by
                              #33

                              Import issue is now fixed in the latest package.

                              1 Reply Last reply
                              2
                              • girishG girish

                                @yusf I can reproduce the problem, I have opened https://git.cloudron.io/cloudron/discourse-app/issues/2 . AFAICT, there is no way to disable backups in discourse (atleast cannot find it in the UI)

                                yusfY Offline
                                yusfY Offline
                                yusf
                                wrote on last edited by yusf
                                #34

                                @girish said in Discourse:

                                there is no way to disable backups in discourse

                                I think I actually saw a setting in the UI πŸ˜ƒ I’ll check it out.

                                1 Reply Last reply
                                1
                                • yusfY yusf

                                  I'm trying to add LDAP support myself. I've added the ldap addon to the package manifest, built and installed it. I've also installed the discourse-ldap-auth plugin. It sort of works! πŸŽ‰

                                  Here are the settings I could figure out myself:

                                  2d87620f-5010-4926-95ab-d45dd404be06-bild.png

                                  Remaining issues:

                                  • For invite-only forums that only want LDAP, that setting has to be turned off. Otherwise LDAP users can't authenticate. The feature can still be achieved by
                                    • disabling enable local logins
                                    • disablling enable local logins via email
                                    • reenable allow new registrations (Brings back the Sign up button, but luckily (!?) it leads to LDAP login too.
                                  • Accounts aren't automatically created. (Not possible currently)
                                  • I don't know what en_US.login.ldap.name is or how to map it/fix it.
                                  • I don't know how to map the suggested username to the Cloudron username upon Discourse account creation. I would also want to lock it. 92ecb980-7f80-4003-a4ff-03b0b6f7cac9-bild.png
                                  • I don't know any other LDAP settings, I just ripped them from the Wordpress LDAP integration settings πŸ˜†
                                  • LDAP sign-in UI looks off-brand and dodgy, possibly signalling phishing attempt for some users.

                                  Any help appreciated!

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

                                  @yusf said in Discourse:

                                  I'm trying to add LDAP support myself.

                                  Did you ever succeed?

                                  I use Cloudron with Gandi & Hetzner

                                  yusfY 1 Reply Last reply
                                  0
                                  • jdaviescoatesJ jdaviescoates

                                    @yusf said in Discourse:

                                    I'm trying to add LDAP support myself.

                                    Did you ever succeed?

                                    yusfY Offline
                                    yusfY Offline
                                    yusf
                                    wrote on last edited by
                                    #36

                                    @jdaviescoates Well, yes and no. It’s working, but not as smoothly as I’d like. I dedicated a new topic to this issue.

                                    L 1 Reply Last reply
                                    1
                                    • yusfY yusf

                                      @jdaviescoates Well, yes and no. It’s working, but not as smoothly as I’d like. I dedicated a new topic to this issue.

                                      L Offline
                                      L Offline
                                      LoudLemur
                                      wrote on last edited by
                                      #37

                                      Discourse is great for forum software.
                                      Flarum is an alternative solution.

                                      https://docs.flarum.org/
                                      https://meta.discourse.org/t/which-is-better-discourse-or-flarum/71726/27

                                      1 Reply Last reply
                                      0
                                      • girishG girish locked this topic on
                                      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