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 / element user management

    Matrix (Synapse/Element)
    usermanagement
    3
    5
    563
    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.
    • terrygogo
      terrygogo last edited by girish

      Hi,
      A few question please.
      Just installed matrix and element.

      Where do I manage users in matrix/element? When I installed it I picked 'manage via app not cloudron.
      Where is the dashboard / backend?

      Also how do I stop 'open public registrations'?

      Also is there matrix / element forum?

      Many thanks

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

        @terrygogo Element is a frontend and Synapse is the backend. Element will follow whatever authentication mechanism you setup in Synapse.

        On Cloudron, when you install synapse, there are 2 ways to set it up:

        • Allow users from Cloudron - With this, external registration is disabled. Just add users to Cloudron and then can login to Element.

        • Let the app manage users - With this ,external registration is enabled by default. If you want to disable it later, you have to comment out enable_registration in the config - https://github.com/matrix-org/synapse/blob/develop/docs/sample_config.yaml#L1046

        1 Reply Last reply Reply Quote 0
        • S
          stantropics last edited by stantropics

          I am using the matrix app with cloudron user mangement. However, I would like to add some rather technical users (bots) that I do not want to add as "real" cloudron users.

          I did this in synapse with:

          /bin/matrix-synapse-register-user <path to homeserver.yaml> http://localhost:8008
          

          The user seems to be added correctly, but cannot login using e.g. riot. Does anybody know if it is not possible to add users manually?

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

            @stantropics did you figure this one out?

            S 1 Reply Last reply Reply Quote 0
            • S
              stantropics @girish last edited by

              Hi @girish, thanks for getting back to this. I have indeed figured out how to make this work.

              1. Add a user as described before or use the synapse API:

              @stantropics said in matrix / element user management:

              /bin/matrix-synapse-register-user <path to homeserver.yaml> http://localhost:8008
              
              1. If you are having problems setting a password I figured out it is not a good idea to manipulate the database, instead use the synapse API.

              2. Until this point manually created users cannot login, you need to chage the config in homeserver.yaml as follows:

              password_config:
                enabled: true
                localdb_enabled: true
              

              localdb_enabled is false by default. Change it to true and manually added users can login.

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