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.
  • 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
            • girishG girish

              @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 Offline
              A Offline
              ApplegateR
              wrote on last edited by
              #39

              @girish have a admin access from web. So that way I can manage user or room.

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

              M humptydumptyH 2 Replies Last reply
              0
              • A ApplegateR

                @girish have a admin access from web. So that way I can manage user or room.

                M Offline
                M Offline
                msbt
                App Dev
                wrote on last edited by
                #40

                @ApplegateR you can just grab the synapse admin package from here and put it inside a Surfer/LAMP app, it's just static files. You can login with your admin user and manage users and channels.

                1 Reply Last reply
                3
                • A ApplegateR

                  @girish have a admin access from web. So that way I can manage user or room.

                  humptydumptyH Offline
                  humptydumptyH Offline
                  humptydumpty
                  wrote on last edited by humptydumpty
                  #41

                  @ApplegateR I just tried what @msbt mentioned and it works great. One error I ran into was that after uploading the files to a root surfer app and trying to log in, it spit out a "session expired" error. It turned out the account I was using wasn't an admin. To make a user an admin, refer to the doc here.

                  Basically, in Cloudron --> app settings page --> web terminal, and enter this code.

                  PGPASSWORD=${CLOUDRON_POSTGRESQL_PASSWORD} psql -h ${CLOUDRON_POSTGRESQL_HOST} -p ${CLOUDRON_POSTGRESQL_PORT} -U ${CLOUDRON_POSTGRESQL_USERNAME} -d ${CLOUDRON_POSTGRESQL_DATABASE} -c "UPDATE users SET admin=1 WHERE name='@user:example.com'"
                  
                  

                  The only part you need to edit is the one at the end to match your desired Matrix user:

                  @user:example.com
                  

                  Then, you can log in and manage the Matrix server.

                  A 1 Reply Last reply
                  3
                  • humptydumptyH humptydumpty

                    @ApplegateR I just tried what @msbt mentioned and it works great. One error I ran into was that after uploading the files to a root surfer app and trying to log in, it spit out a "session expired" error. It turned out the account I was using wasn't an admin. To make a user an admin, refer to the doc here.

                    Basically, in Cloudron --> app settings page --> web terminal, and enter this code.

                    PGPASSWORD=${CLOUDRON_POSTGRESQL_PASSWORD} psql -h ${CLOUDRON_POSTGRESQL_HOST} -p ${CLOUDRON_POSTGRESQL_PORT} -U ${CLOUDRON_POSTGRESQL_USERNAME} -d ${CLOUDRON_POSTGRESQL_DATABASE} -c "UPDATE users SET admin=1 WHERE name='@user:example.com'"
                    
                    

                    The only part you need to edit is the one at the end to match your desired Matrix user:

                    @user:example.com
                    

                    Then, you can log in and manage the Matrix server.

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

                    @humptydumpty and @msbt thank you guy for Huge help and why this wasn't on docs if anyone really interesting to have one for matrix management

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

                    A 1 Reply Last reply
                    1
                    • A ApplegateR

                      @humptydumpty and @msbt thank you guy for Huge help and why this wasn't on docs if anyone really interesting to have one for matrix management

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

                      @ApplegateR confirm it is work and thank you and I will just use surfer it better than nothing! much appericate of creator done this

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

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