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. Matrix (Synapse/Element)
  3. matrix / element user management

matrix / element user management

Scheduled Pinned Locked Moved Solved Matrix (Synapse/Element)
usermanagement
5 Posts 3 Posters 2.8k Views 5 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.
  • terrygogoT Offline
    terrygogoT Offline
    terrygogo
    wrote on last edited by girish
    #1

    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
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @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
      0
      • S Offline
        S Offline
        stantropics
        wrote on last edited by stantropics
        #3

        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?

        girishG 1 Reply Last reply
        0
        • S 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?

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

          @stantropics did you figure this one out?

          S 1 Reply Last reply
          1
          • girishG girish

            @stantropics did you figure this one out?

            S Offline
            S Offline
            stantropics
            wrote on last edited by
            #5

            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
            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