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. Announcements
  3. Matrix/Riot

Matrix/Riot

Scheduled Pinned Locked Moved Announcements
43 Posts 12 Posters 6.4k Views 14 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.
  • M Offline
    M Offline
    msbt
    App Dev
    wrote on last edited by
    #19

    worked fine before when I tested it, did you also set

    password_config:
      enabled: true
      localdb_enabled: true
    

    and maybe restarted matrix?

    1 Reply Last reply
    1
    • girishG girish

      @will You need to have an app installed at example.com. You can even set it to redirect to some other existing app i.e go to existing app -> Location -> Add redirection.

      W Offline
      W Offline
      will
      wrote on last edited by
      #20

      @girish added a redirect for matrix, and it works! Is this only needed if an app lives at rimmer.cloud or do I need it regardless?

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

        @will Only requirement is that it should be used by some app on Cloudron. You don't need to redirect it to matrix specifically. example.com can either be any app or it can redirect to any app. (At a technical level, all this means is that the Cloudron's reverse proxy is prepared & ready to answer requests for that domain).

        W 1 Reply Last reply
        0
        • girishG girish

          @will Only requirement is that it should be used by some app on Cloudron. You don't need to redirect it to matrix specifically. example.com can either be any app or it can redirect to any app. (At a technical level, all this means is that the Cloudron's reverse proxy is prepared & ready to answer requests for that domain).

          W Offline
          W Offline
          will
          wrote on last edited by
          #22

          @girish Will this requirement be patched in a future release?

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

            @will there is no way around this requirement. the matrix protocol requires the apex domain to serve up those documents. is your concern that the domain example.com can be used to host a site somewhere else? If so, all you have to do is to move the .well-known setup to that server/new location.

            W 1 Reply Last reply
            0
            • girishG girish

              @will there is no way around this requirement. the matrix protocol requires the apex domain to serve up those documents. is your concern that the domain example.com can be used to host a site somewhere else? If so, all you have to do is to move the .well-known setup to that server/new location.

              W Offline
              W Offline
              will
              wrote on last edited by
              #24

              @girish My concern is having anything at example.com
              It would be cleaner to just have cloudron handle that for me. Small gripe, not a big deal at all.

              girishG 1 Reply Last reply
              1
              • W will

                @girish My concern is having anything at example.com
                It would be cleaner to just have cloudron handle that for me. Small gripe, not a big deal at all.

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #25

                @will said in Matrix/Riot:

                It would be cleaner to just have cloudron handle that for me. Small gripe, not a big deal at all.

                Ah, Cloudron side limitation can definitely be fixed 🙂 I agree that having to ssh and put files manually in a cryptic location is kinda crude. This will be fixed soonish but we just wanted to get the apps out for testing sooner rather than later.

                W 1 Reply Last reply
                3
                • girishG girish

                  @will said in Matrix/Riot:

                  It would be cleaner to just have cloudron handle that for me. Small gripe, not a big deal at all.

                  Ah, Cloudron side limitation can definitely be fixed 🙂 I agree that having to ssh and put files manually in a cryptic location is kinda crude. This will be fixed soonish but we just wanted to get the apps out for testing sooner rather than later.

                  W Offline
                  W Offline
                  will
                  wrote on last edited by
                  #26

                  @girish Dont get me wrong, Im thankful! Its great. I'm just giving a little feedback on possible improvements. Sounds like you are on it already

                  1 Reply Last reply
                  1
                  • M msbt

                    @yusf that is a good question, I moved the app to a different subdomain to test around, but that's probably not it. I'm guessing it is because of new keys and everything, haven't tried to re-use any of the existing ones.

                    Oh yea, atm there is no default channel, you might want to remove the comment on those lines as well to get new users in there automatically 😉

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

                    @msbt said in Matrix/Riot:

                    I'm guessing it is because of new keys and everything, haven't tried to re-use any of the existing ones.

                    Might very well be, yes. I'm going to try and migrate the keys too. The migration is hard to dry run though 😩

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      msbt
                      App Dev
                      wrote on last edited by
                      #28

                      if you want to make sure this works, you could try with a test-instance, after that a clone and then the real thing 😉 good luck either way!

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

                        I'm transitioning my external reverse-proxy-and-well-known solution to the Cloudron solution. Is there any way I can configure Riot to have https://domain.tld as base_url while still having the Synapse server at https://matrix.domain.tld? This way I would be able keep Riot user sessions across migration.

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

                          @yusf That should not be a problem. Riot can be installed on the main domain as well. Just make sure the .well-known is setup on the server.

                          yusfY 1 Reply Last reply
                          0
                          • girishG girish

                            @yusf That should not be a problem. Riot can be installed on the main domain as well. Just make sure the .well-known is setup on the server.

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

                            @girish Sorry, I meant doing so while keeping Riot at a subdomain too. I guess not? 🙂

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

                              @yusf Yeah, I think not

                              yusfY 1 Reply Last reply
                              0
                              • J Offline
                                J Offline
                                jegillikin
                                wrote on last edited by
                                #33

                                FWIW, I just installed all of this and tested it. Works great, instructions are clear. The yaml edits referenced by @msbt were quite helpful on the external-registration side.

                                Look forward to the eventual Jitsi package.

                                1 Reply Last reply
                                2
                                • girishG girish

                                  @yusf Yeah, I think not

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

                                  @girish What if I edited the Cloudron reverse proxy settings directly?

                                  girishG 1 Reply Last reply
                                  0
                                  • yusfY yusf

                                    @girish What if I edited the Cloudron reverse proxy settings directly?

                                    girishG Offline
                                    girishG Offline
                                    girish
                                    Staff
                                    wrote on last edited by
                                    #35

                                    @yusf reverse proxy configs will get overwritten during updates. I think https://cloudron.io/documentation/apps/#well-known-uris should help setup well knowns the way you want them, no?

                                    yusfY 1 Reply Last reply
                                    0
                                    • girishG girish

                                      @yusf reverse proxy configs will get overwritten during updates. I think https://cloudron.io/documentation/apps/#well-known-uris should help setup well knowns the way you want them, no?

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

                                      @girish Well-known is in place for Synapse already, but it seems that well-known configurations aren't enough to enable entering domain.tld as homeserver in Riot sign-in when the server is at matrix.domain.tld.

                                      What seems to be needed is the ability to forward the whole /_matrix path at domain.tld to Synapse.

                                      In nginx terms I belive that would look something like this:

                                      server {
                                        listen         443;
                                        server_name    domain.tld;
                                      
                                       location /_matrix {
                                          proxy_pass https://matrix.domain.tld;
                                       }
                                      }
                                      1 Reply Last reply
                                      0
                                      • girishG girish

                                        OK, I found https://github.com/vector-im/riot-web/issues/4125 which is an open issue for implementing admin functions in Riot. I also found https://github.com/Awesome-Technologies/synapse-admin which can probably be run locally.

                                        A Offline
                                        A Offline
                                        ApplegateR
                                        wrote on last edited by
                                        #37

                                        @girish I really hope this is possible add this in Wishlist for Matrix User and room manageable so spamming prevent and keep my chat server clean

                                        Richard Applegate
                                        Anthem Coffee and Tea
                                        Joe Coffee
                                        IT/Administrator Server/Network

                                        girishG 1 Reply Last reply
                                        0
                                        • A ApplegateR

                                          @girish I really hope this is possible add this in Wishlist for Matrix User and room manageable so spamming prevent and keep my chat server clean

                                          girishG Offline
                                          girishG Offline
                                          girish
                                          Staff
                                          wrote on last edited by
                                          #38

                                          @ApplegateR said in Matrix/Riot:

                                          @girish I really hope this is possible add this in Wishlist for Matrix User and room manageable so spamming prevent and keep my chat server clean

                                          What are you referring to ? Did you maybe reply in the wrong thread?

                                          A 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