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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved matrix.org (communication)

    App Wishlist
    20
    149
    15910
    Loading More Posts
    • 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.
    • technotame
      technotame last edited by

      I have the same issue as @murgero, I can now see federated rooms, but I get an error when trying to join them.

      murgero 1 Reply Last reply Reply Quote 1
      • murgero
        murgero App Dev @technotame last edited by

        @technotame what's weirder for me is that a few rooms work.

        --
        https://urgero.org
        ~ Professional Nerd. Freelance Programmer. ~
        Matrix: @murgero:urgero.org

        1 Reply Last reply Reply Quote 0
        • M
          msbt App Dev last edited by

          I've tried several channels in both directions and it was looking good. Make sure to clear your caches and maybe give the servers more ressources regarding ram, bigger channels are very hungry.

          murgero 1 Reply Last reply Reply Quote 1
          • murgero
            murgero App Dev @msbt last edited by

            @msbt yea, my container has 4GB ram. Cache was cleared and new app installed (to avoid configuration issues)

            --
            https://urgero.org
            ~ Professional Nerd. Freelance Programmer. ~
            Matrix: @murgero:urgero.org

            1 Reply Last reply Reply Quote 0
            • M
              msbt App Dev last edited by

              @murgero what's the errormessage in that case? For me it said that it can't preview the room, but joining is no problem afterwards.

              murgero 1 Reply Last reply Reply Quote 0
              • murgero
                murgero App Dev @msbt last edited by

                @msbt some are "This room cannot be previewed, you must join to continue" where others are "This room is unavailable at this time"blah blah with similar output in the error logs as I mentioned above.

                --
                https://urgero.org
                ~ Professional Nerd. Freelance Programmer. ~
                Matrix: @murgero:urgero.org

                1 Reply Last reply Reply Quote 0
                • M
                  msbt App Dev last edited by

                  That's odd, I'm able to join any (existing) channel on the matrix network and some others as well, but those are only official networks. Maybe you guys could pm me on the chat I can try by myself. Either way, 1.1.0 got released and is already updated, maybe you could try with the new image again.

                  murgero 1 Reply Last reply Reply Quote 1
                  • murgero
                    murgero App Dev @msbt last edited by

                    @msbt What is your Matrix id?

                    --
                    https://urgero.org
                    ~ Professional Nerd. Freelance Programmer. ~
                    Matrix: @murgero:urgero.org

                    1 Reply Last reply Reply Quote 0
                    • M
                      msbt App Dev last edited by

                      you can find me at @matthias:matrix.bits.at - let me know if that doesn't work πŸ˜‰

                      murgero 1 Reply Last reply Reply Quote 0
                      • murgero
                        murgero App Dev last edited by

                        Hmmm it didn't work for me. I'll update with logs later when I'm home.

                        --
                        https://urgero.org
                        ~ Professional Nerd. Freelance Programmer. ~
                        Matrix: @murgero:urgero.org

                        1 Reply Last reply Reply Quote 0
                        • murgero
                          murgero App Dev @msbt last edited by

                          @msbt try me: @murgero:matrix.urgero.org

                          --
                          https://urgero.org
                          ~ Professional Nerd. Freelance Programmer. ~
                          Matrix: @murgero:urgero.org

                          1 Reply Last reply Reply Quote 0
                          • M
                            msbt App Dev last edited by

                            @technotame do you still have problems? If so, please use the federation tester to see if the target server maybe has some issues.

                            Also, pushed another update for riot to v1.2.4.

                            1 Reply Last reply Reply Quote 0
                            • technotame
                              technotame last edited by

                              I believe it is mostly working. The link you provided gave all green checks. I think the main issue was the small amount of RAM Matrix and/or Riot was given by default. I bumped them both up to 2 gigs or so and that seemed to be the main fix.

                              1 Reply Last reply Reply Quote 0
                              • yusf
                                yusf last edited by

                                @msbt Performed the upgrade. Everything seem to work as good as the old version. Need to manually edit Synapse and TURN config files to be able to report back on things like group video chat but 1on1 voice and video calls works regardless for me (at least between users on the same server)

                                Many thanks for your effort. You’re effectively enabling Matrix adoption for several communities.

                                1 Reply Last reply Reply Quote 1
                                • M
                                  msbt App Dev last edited by msbt

                                  thanks @yusf, glad to hear that! maybe you can share the info if something is not working out of the box for group video chat so I can adjust the code πŸ˜‰

                                  yes @technotame, bigger channels require a lot of ram, like the #matrix:matrix.org one with several 1000s of users, <2GB probably won't do it, maybe if you're very patient, but the more the better πŸ˜„

                                  1 Reply Last reply Reply Quote 1
                                  • yusf
                                    yusf last edited by

                                    I’ll be sure to do that. Thanks again.

                                    1 Reply Last reply Reply Quote 0
                                    • yusf
                                      yusf last edited by

                                      Hi @msbt! Sadly I haven't had the time to configure and test the TURN-server.

                                      The server has been online and stable for months btw. I'm looking to expand it with app services, webhooks for instance. However, I'm unsure on how to proceed since the Cloudron app is only configured for specific ports only and so on, limiting installing app services in Cloudron user space. Would you be interested in adding a bunch of useful default but opt-in app services?

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        msbt App Dev last edited by

                                        hey @yusf, happy to see other people using the package πŸ˜‰

                                        I would be happy to add more features/packages, in this case it really needs to be added in the app itself and can't be run as a regular integration. I've been thinking about including other addons as well (this seems to be an extensive setup where we could pick things that are nice2have). Let me know what might be interesting for you and I see what I can do about it.

                                        Although it might be a good idea if either @girish or @nebulon also take a look at those and maybe give some pointers, I don't want to spend time on something which they can either do way more quickly and/or don't want in an app at all πŸ˜‰

                                        1 Reply Last reply Reply Quote 0
                                        • yusf
                                          yusf last edited by

                                          I've been looking at matrix-appservice-webhooks a bit and the way it works makes it a good candidate for inclusion.

                                          It works like so:

                                          1. a webhooks bot is created
                                          2. you invite this bot to a room
                                          3. you create a new webhook with the !webbook command
                                          4. the bot sends you a pm with the credentials for this specific new webhook
                                          5. profit

                                          This means that this integrations grants an unlimited amount of webhooks, so it's not a one-time thing.

                                          Would you be willing to look into it?

                                          benborges 1 Reply Last reply Reply Quote 1
                                          • M
                                            msbt App Dev last edited by

                                            sure thing, but I probably need you to do the testing and everything, since I don't have a use-case ready to play around with πŸ˜‰ give me a few days to free up some space and I'll look into it!

                                            murgero K 2 Replies Last reply Reply Quote 2
                                            • yusf
                                              yusf last edited by

                                              Thank you! While at it, check out mautrix-facebook as well, as this seems to work in a similar, multi-user fashion.

                                              1 Reply Last reply Reply Quote 0
                                              • murgero
                                                murgero App Dev @msbt last edited by

                                                @msbt I can test too!

                                                --
                                                https://urgero.org
                                                ~ Professional Nerd. Freelance Programmer. ~
                                                Matrix: @murgero:urgero.org

                                                1 Reply Last reply Reply Quote 2
                                                • K
                                                  kasini @msbt last edited by

                                                  @msbt I can help test if needed. I use webhooks to filter by keyword and aggregate news articles, forum threads, etc.

                                                  The matrix server and riot app work great so far! Just needed a bump in memory limit when exploring the channel list from matrix.org

                                                  Recently moved from mattermost -> rocketchat and now excitedly waiting for matrix to go live in the Cloudron app store. Please let me know if there's anything I can do to help!

                                                  1 Reply Last reply Reply Quote 1
                                                  • yusf
                                                    yusf last edited by

                                                    On the topic of App Store inclusion: how relevant is the attack vector of running Matrix and Riot on the same (sub)domain nowadays? I know that the Matrix folks used to recommended against that setup and perhaps they still do.

                                                    Is that threat still as relevant with the Cloudron/Docker setup? After all, Cloudron apps are supposed to work out of the box.

                                                    1 Reply Last reply Reply Quote 0
                                                    • M
                                                      msbt App Dev last edited by

                                                      @kasini during the little time I had to try things out I didn't really get anywhere. I was having a talk with @girish a while ago and they're planning to add matrix to the app store at some point. Maybe they can have another look at it since they actually know what they're doing πŸ˜‰

                                                      And yes, it requires a lot of RAM if you want to join bigger channels, but if you keep to yourself, you should be good to go with less.

                                                      @yusf good question, if noone else does it, I'll jump on the matrix network and ask if that's still a thing to worry about

                                                      1 Reply Last reply Reply Quote 0
                                                      • yusf
                                                        yusf last edited by yusf

                                                        In addition to looking up security concerns of bundling Riot with Matrix, putting it in the app store also calls for a solution to a reverse proxy solution often used in federated software.

                                                        What I mean is a way of forwarding certain ports from domain.tld to matrixserver.domain.tld so that user handles follows convention by ommitting the technical placement of the server itself. (Hosting the server on domain.tld sucks for obvious reasons πŸ˜„)

                                                        This solution would also enable more federated software with similar needs to come aboard the Cloudron ecosystem.

                                                        1 Reply Last reply Reply Quote 0
                                                        • O
                                                          october last edited by

                                                          Is this app officially provided by Cloudron yet? What's the status? I see the gitlab repo but I don't know what that means.

                                                          Btw I would also love to see some bridges included as options. Bridging FB Messenger, whatsapp, telegram etc is essential if one is to use it for personal communication purposes.

                                                          murgero 1 Reply Last reply Reply Quote 0
                                                          • murgero
                                                            murgero App Dev @october last edited by

                                                            @october As of now you have to build and install using the Cloudron CLI:

                                                            1. install Cloudron CLI
                                                            2. Install docker (or use cloudron build service)
                                                            3. git clone repo
                                                            4. cd repo
                                                            5. docker build -t dockerhubusername/projectname . (Period is important at the end!)
                                                            6. docker push dockerhubusername/projectname
                                                            7. cloudron login
                                                            8. cloudron install --image dockerhubusername/projectname

                                                            That's the general way to install apps not in the cloudron app store. - If using the build service provided by cloudron, replace 5 & 6 with cloudron build

                                                            --
                                                            https://urgero.org
                                                            ~ Professional Nerd. Freelance Programmer. ~
                                                            Matrix: @murgero:urgero.org

                                                            1 Reply Last reply Reply Quote 1
                                                            • yusf
                                                              yusf last edited by yusf

                                                              maubot would be a nice inclusion in the package as well. It's a bot framework, with a GUI.

                                                              Not necessary to have inside this package at all. Only Application Services are!

                                                              1 Reply Last reply Reply Quote 0
                                                              • yusf
                                                                yusf last edited by

                                                                Hey @msbt, the Synapse package is falling behind on releases. (1.6.0 and 1.6.1) πŸ™‚

                                                                1 Reply Last reply Reply Quote 0
                                                                • M
                                                                  msbt App Dev last edited by

                                                                  my bad, I did update my local repos but forgot to push, here you go

                                                                  I skipped the 1.6.0 commit since it was a bit weird, wasn't showing the latest version after updating, maybe that's why I didn't push πŸ˜‰

                                                                  riot is also at the latest version here

                                                                  1 Reply Last reply Reply Quote 1
                                                                  • yusf
                                                                    yusf last edited by yusf

                                                                    I looked into the possibility of a new try to host Riot and Synapse on the same (sub)domain. Here’s the reply:

                                                                    yusf:
                                                                    Or is there, if it’s decided to host both on same (sub)domain, any method to reduce XSS attack probability?

                                                                    Riot dude:
                                                                    Basically the attack surface is such that any code which gets executed with access to that subdomain in a browser will have access to that user's matrix access token. So if you run things like synapse or other things on same subdomain and they end up serving malicious code then bad things can happen.

                                                                    It's a very narrow surface, csp can make it even more narrow.

                                                                    How then to use the CSP setting??

                                                                    1 Reply Last reply Reply Quote 0
                                                                    • yusf
                                                                      yusf last edited by

                                                                      Another useful tool to possibly embed in this app package is matrix-corporal, though as an opt-in by default (enabled but void of policy) https://github.com/devture/matrix-corporal

                                                                      1 Reply Last reply Reply Quote 0
                                                                      • M
                                                                        msbt App Dev last edited by

                                                                        just pushed an update for v1.8.0, apparently there were some changes in the config at some point, so when you're using log_file, you might need to remove that in order to be able to start the latest version.

                                                                        In case it doesn't, jump on a terminal, check if it's actually running (ps -ax) and if not, manually launch with gosu www-data python3 -m synapse.app.homeserver --config-path homeserver.yaml from /app/data/synapse and check the errormessage.

                                                                        1 Reply Last reply Reply Quote 1
                                                                        • yusf
                                                                          yusf last edited by

                                                                          @msbt said in matrix.org (communication):

                                                                          when you're using log_file

                                                                          What do you mean by this?

                                                                          M 1 Reply Last reply Reply Quote 0
                                                                          • girish
                                                                            girish Staff last edited by

                                                                            @msbt Can you put in a LICENSE file into the repo (preferably MIT like the other app packages), so I can get this pushed to unstable?

                                                                            murgero 1 Reply Last reply Reply Quote 2
                                                                            • murgero
                                                                              murgero App Dev @girish last edited by

                                                                              @girish Having it in unstable would be awesome.

                                                                              --
                                                                              https://urgero.org
                                                                              ~ Professional Nerd. Freelance Programmer. ~
                                                                              Matrix: @murgero:urgero.org

                                                                              1 Reply Last reply Reply Quote 1
                                                                              • M
                                                                                msbt App Dev @yusf last edited by

                                                                                @yusf in earlier versions the homeserver.yaml contained a config item

                                                                                # File to write logging to. Ignored if log_config is specified.
                                                                                log_file: "/run/synapse/homeserver.log"
                                                                                

                                                                                This got removed by moving it into the log_config itself which is set in log_config: "/app/data/synapse/..." - apparently the config for my main matrix server had that still in there because it's rather old and always migrated including this setting. Matrix wouldn't start after the latest update if you had this still enabled so I had to #comment it out be able to start afterwards.

                                                                                @girish sure thing, I'll look into it later today

                                                                                1 Reply Last reply Reply Quote 2
                                                                                • M
                                                                                  msbt App Dev last edited by

                                                                                  @girish there you go: riot and matrix, I hope this is alright πŸ˜„

                                                                                  1 Reply Last reply Reply Quote 2
                                                                                  • W
                                                                                    will last edited by

                                                                                    I'm pinging for this one as well! NextGen tech on Cloudron would be great!

                                                                                    1 Reply Last reply Reply Quote 1
                                                                                    • W
                                                                                      why42 last edited by why42

                                                                                      Hi there,
                                                                                      thanks for all your work to build an app for cloudron.
                                                                                      I am interested in Matrix/Synapse , too. I would like to as to put in the unstable apps section.

                                                                                      1 Reply Last reply Reply Quote 1
                                                                                      • girish
                                                                                        girish Staff last edited by

                                                                                        @msbt Thanks for updating the license.

                                                                                        OK, this was stupid. I didn't see that you had a riot app, so I ended up making the front end of my own πŸ˜• https://git.cloudron.io/cloudron/riot-web-app . It's pretty much the same as yours except I don't use nginx (I will probably put your nginx code into mine).

                                                                                        I have pushed Riot Web to unstable now.

                                                                                        I will push out your matrix in the next few days. Thanks!

                                                                                        W ultraviolet yusf 3 Replies Last reply Reply Quote 4
                                                                                        • W
                                                                                          will @girish last edited by

                                                                                          @girish What are the setup instructions?

                                                                                          1 Reply Last reply Reply Quote 0
                                                                                          • ultraviolet
                                                                                            ultraviolet App Dev @girish last edited by

                                                                                            @girish hi when do you think it will be published to the app store?

                                                                                            1 Reply Last reply Reply Quote 3
                                                                                            • yusf
                                                                                              yusf @girish last edited by

                                                                                              @girish Will the package be compatible with previous app versions by @msbt? If so, should I upgrade to the latest msbt app version manually before upgrading to this package?

                                                                                              1 Reply Last reply Reply Quote 0
                                                                                              • W
                                                                                                will last edited by

                                                                                                Super stoked on this, Riot/Matrix & Mastadon in such a short time span? Youn guys are crushing it!

                                                                                                1 Reply Last reply Reply Quote 1
                                                                                                • girish
                                                                                                  girish Staff last edited by

                                                                                                  @will The goal for this year is to get many more app packages out πŸ™‚

                                                                                                  1 Reply Last reply Reply Quote 4
                                                                                                  • T
                                                                                                    timka last edited by

                                                                                                    I'm totaly looking forward to matrix.
                                                                                                    Any news? ^^

                                                                                                    1 Reply Last reply Reply Quote 3
                                                                                                    • yusf
                                                                                                      yusf last edited by

                                                                                                      Riot is a few versions behind (current stable is v1.5.10). Is there any movement on bringing the Matrix app to the App Store?

                                                                                                      1 Reply Last reply Reply Quote 2
                                                                                                      • W
                                                                                                        why42 last edited by

                                                                                                        I am really looking forward to the Matrix app and an updated Riot version.

                                                                                                        1 Reply Last reply Reply Quote 3
                                                                                                        • yusf
                                                                                                          yusf last edited by

                                                                                                          Glancing turnserver.conf TURN doesn't seem to have been integrated yet so that should probably be done before App Store release.

                                                                                                          1 Reply Last reply Reply Quote 2
                                                                                                          • C
                                                                                                            caglar last edited by

                                                                                                            I am waiting for the Matrix App, is there any good news about it? or can we use it now?

                                                                                                            1 Reply Last reply Reply Quote 2
                                                                                                            • yusf
                                                                                                              yusf last edited by yusf

                                                                                                              New critical Synapse update released, 1.12.0. Ping @msbt πŸ””

                                                                                                              1 Reply Last reply Reply Quote 2
                                                                                                              • M
                                                                                                                msbt App Dev last edited by

                                                                                                                Updated the repo (also changed manifestformat to v2), tested fresh install and updated my existing installations (but without extensive tests, like email and such) and it seems to work.

                                                                                                                1 Reply Last reply Reply Quote 2
                                                                                                                • yusf
                                                                                                                  yusf last edited by

                                                                                                                  Thank you! Are you still maintaining the Riot app? It's a few releases behind as well. 😊

                                                                                                                  1 Reply Last reply Reply Quote 0
                                                                                                                  • M
                                                                                                                    msbt App Dev last edited by

                                                                                                                    I am for myself, but I figured people were going to use the official repo @girish created some time ago. Pushed another update for my old riot here.

                                                                                                                    yusf 1 Reply Last reply Reply Quote 0
                                                                                                                    • yusf
                                                                                                                      yusf @msbt last edited by yusf

                                                                                                                      @msbt I understand. I meant the official one. It's annoying having to build manually. So πŸ”” to @girish!

                                                                                                                      1 Reply Last reply Reply Quote 1
                                                                                                                      • girish
                                                                                                                        girish Staff last edited by

                                                                                                                        We just integrated coturn into master branch yesterday. So, we are waiting for testing it a bit to get matrix published. Otherwise, the first complaint is going to be that voice doesn't work...

                                                                                                                        M N 2 Replies Last reply Reply Quote 6
                                                                                                                        • M
                                                                                                                          msbt App Dev @girish last edited by

                                                                                                                          @girish said in matrix.org (communication):

                                                                                                                          We just integrated coturn into master branch yesterday. So, we are waiting for testing it a bit to get matrix published. Otherwise, the first complaint is going to be that voice doesn't work...

                                                                                                                          nice!

                                                                                                                          1 Reply Last reply Reply Quote 3
                                                                                                                          • N
                                                                                                                            NCKNE @girish last edited by

                                                                                                                            @girish Awesome! You guys really know how to set priorities and I love the direction cloudron development is going in! Great job guys!

                                                                                                                            1 Reply Last reply Reply Quote 4
                                                                                                                            • First post
                                                                                                                              Last post
                                                                                                                            Powered by NodeBB