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. matrix.org (communication)

matrix.org (communication)

Scheduled Pinned Locked Moved Solved App Wishlist
149 Posts 20 Posters 90.7k Views 22 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.
  • doodlemania2D Offline
    doodlemania2D Offline
    doodlemania2
    App Dev
    wrote on last edited by
    #2

    Initial attempt has been started:
    https://git.cloudron.io/msbt/matrix-riot-app
    Have deployed locally (not app store) - works great. Just need to package an additional app to do the front end (Riot).

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

      Just made another update, a few things weren't working properly. Everything should run a bit smoother now, but it's still a work in progress (I want it to be a dedicated identity server as well).

      Not sure if it's necessary to pack the client itself, but if you want, it was already included in the version that I forked my app from (https://git.cloudron.io/joey/matrix-riot-app), maybe you could just grab the riot part and make a new app out of it.

      Cheers, M

      yusfY 1 Reply Last reply
      1
      • M msbt

        Just made another update, a few things weren't working properly. Everything should run a bit smoother now, but it's still a work in progress (I want it to be a dedicated identity server as well).

        Not sure if it's necessary to pack the client itself, but if you want, it was already included in the version that I forked my app from (https://git.cloudron.io/joey/matrix-riot-app), maybe you could just grab the riot part and make a new app out of it.

        Cheers, M

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

        @msbt Your version works great so far. Do you plan to add the Riot client as well? I’m happy with just the server part but I believe I read somewhere that Cloudron Web Store apps are required a proper front-end to be published.

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

          hey @yusf, glad to hear that, although I should be updating more often, there has been quite a few updates since I packed it. They say it's not good security-wise to put the client in the same place as the server, that's why I actually removed it from the initial setup that I forked. But I just updated the riot-app itself, you can check it out here: https://git.cloudron.io/msbt/riot-app

          It will try to use $APP_DOMAIN as a host, which is exactly what you're not supposed to do (and won't work with the cloudron setup), so you need to edit the config file after the installation.

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

            Sorry for eons time until replying. You’re right, I’ve heard about that vulnerability myself now that I think on it.

            Have you considered adding mxisd? The project seem to add complete LDAP support without too much hassle which would make the package an ideal Cloudron app. https://github.com/kamax-matrix/mxisd/blob/master/docs/stores/ldap.md

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

              I think I did check it out at some point, but the package as it is now already supports ldap login. I also wanted to add an identity server, but ran out of time to test it back when I built it.

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

                already supports ldap login

                Oh, that's great! I'm trying to install the latest app version with cloudron build and cloudron install but now I get:

                ERROR No image found, please run `cloudron build` first or specify a `dockerImage` in the CloudronManifest [ /usr/local/lib/node_modules/cloudron/src/helper.js:68:29 ]
                1 Reply Last reply
                0
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #9

                  Looks like cloudron build was not run. Can you also make sure you are using the latest cloudron CLI? cloudron --version will say 1.7.0.

                  yusfY 1 Reply Last reply
                  0
                  • girishG girish

                    Looks like cloudron build was not run. Can you also make sure you are using the latest cloudron CLI? cloudron --version will say 1.7.0.

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

                    @girish But I did run build successfully:

                    Build succeeded
                    Success
                    

                    Version is 1.7.0, yes.

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

                      Can you try deleting ~/.cloudron.json and try again? There was a format change about 2-3 months ago and maybe the json file is in the old format/corrupt.

                      yusfY 1 Reply Last reply
                      0
                      • girishG girish

                        Can you try deleting ~/.cloudron.json and try again? There was a format change about 2-3 months ago and maybe the json file is in the old format/corrupt.

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

                        That solved my problem, thank you.

                        1 Reply Last reply
                        0
                        • yusfY Offline
                          yusfY Offline
                          yusf
                          wrote on last edited by
                          #13
                          This post is deleted!
                          1 Reply Last reply
                          0
                          • yusfY Offline
                            yusfY Offline
                            yusf
                            wrote on last edited by
                            #14

                            @msbt Care to update the Riot package?

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

                              hey @yusf, sure thing, will check it out tomorrow. I haven't used it in a while because I changed to the electron desktop client, but I'll see if it's an easy update and let you know.

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

                                ok this was a quick fix, had a few minutes to do it, here you go:
                                https://git.cloudron.io/msbt/riot-app
                                please compare your config to the example one, not that you miss anything, but I think it's good to go like that.

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

                                  Thanks! There are some bugs with the package however. Users have to login twice to get inside.

                                  Also, the Security & Privacy section won't open at all. 🤔

                                  I've carefully compared my riot_config.json with the new one and adjusted accordingly (almost no diff).

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

                                    which version of matrix are you using?

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

                                      @yusf I can't confirm that. I deployed it, replaced all occurences of the riot domain to the matrix/synapse one and it works right out of the box (using username to login). Are you on the latest matrix build? Might push another update in a bit as they released 0.99.2rc1 earlier today, this means the 0.99.2 should be out soon.

                                      yusfY 1 Reply Last reply
                                      0
                                      • M msbt

                                        @yusf I can't confirm that. I deployed it, replaced all occurences of the riot domain to the matrix/synapse one and it works right out of the box (using username to login). Are you on the latest matrix build? Might push another update in a bit as they released 0.99.2rc1 earlier today, this means the 0.99.2 should be out soon.

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

                                        @msbt Dang, I forgot to push an update of matrix, sorry. After I did, things started working more proper.

                                        Security & Privacy section of room settings still won't open but I’ve pinned that issue down to a specific room, the premade ”discuss” room, so let’s put that blame on Riot.

                                        Thank you for your help and advice. Is matrix/riot coming to the app store some day?

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

                                          that I don't know, it would require a lot more testing since I've just forked and updated someone else's repo for my own needs. 0.99.2 is out, maybe I'll do a rebuild when 1.0 is ready and add all features that are required/available.

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