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


Skip to content

Matrix (Synapse/Element)

96 Topics 1.1k Posts
  • 0 Votes
    8 Posts
    352 Views
    timconsidineT

    @scooke good idea, thanks

  • Trying to configure element with custom background

    Moved Solved
    9
    0 Votes
    9 Posts
    1k Views
    D

    @girish said in Trying to configure element with custom background:

    {
    "default_server_config": {
    "m.homeserver": {
    "base_url": "https://matrix.cloudron.work",
    "server_name": "cloudron.work"
    },
    "m.identity_server": {
    "base_url": "https://vector.im"
    }
    },
    "disable_custom_urls": true,
    "disable_guests": true,
    "disable_login_language_selector": false,
    "disable_3pid_login": true,
    "brand": "Riot",
    "integrations_ui_url": "https://scalar.vector.im/",
    "integrations_rest_url": "https://scalar.vector.im/api",
    "integrations_widgets_urls": [
    "https://scalar.vector.im/_matrix/integrations/v1",
    "https://scalar.vector.im/api",
    "https://scalar-staging.vector.im/_matrix/integrations/v1",
    "https://scalar-staging.vector.im/api",
    "https://scalar-staging.riot.im/scalar/api"
    ],
    "bug_report_endpoint_url": "https://riot.im/bugreports/submit",
    "defaultCountryCode": "DE",
    "showLabsSettings": false,
    "features": {
    "feature_pinning": "labs",
    "feature_custom_status": "labs",
    "feature_custom_tags": "labs",
    "feature_state_counters": "labs"
    },
    "default_federate": true,
    "default_theme": "light",
    "roomDirectory": {
    "servers": [
    "matrix.org"
    ]
    },
    "branding": {
    "welcomeBackgroundUrl": "https://chat.swirlon.app/custom/background.png",
    "authHeaderLogoUrl": "https://chat.swirlon.app/custom/header.png"
    },
    "piwik": false,
    "enable_presence_by_hs_url": {
    "https://matrix.org": false,
    "https://matrix-client.matrix.org": false
    },
    "settingDefaults": {
    "breadcrumbs": true
    },
    "jitsi": {
    "preferredDomain": "jitsi.riot.im"
    }
    }

    Oh my gosh thank you so much!!

  • matrix / element user management

    Moved Solved
    5
    0 Votes
    5 Posts
    2k Views
    S

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

    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

    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.

    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.

  • Can't upgrade Matrix server

    Solved
    4
    0 Votes
    4 Posts
    217 Views
    ei8fdbE

    @girish said in Can't upgrade Matrix server:

    If you go to Settings -> Check for updates, and then come back to matrix and try to upgrade, does it work?

    Derp, that's worked. 🤦 Thanks.

    App Title and Version Matrix Synapse 1.33.1 App ID f4bb6a47-bbf6-4a35-b25a-01bee8462969 Package Version org.matrix.synapse@1.23.1 Last Updated Yesterday
  • Unable to set up keys

    Moved Solved
    2
    0 Votes
    2 Posts
    278 Views
    subvenS

    Have you tried pressing try again? Wouldnt it be better to just create Cloudron accounts for your users? You can limit their access using groups on Cloudron level.

  • Suddenly Matrix federation doesn't work anymore :(

    Solved
    17
    0 Votes
    17 Posts
    3k Views
    nebulonN

    @atrilahiji so the apps can be installed on any domain really but for the user/channel handles to work in federation, the base domain (in your example domain.com) needs to provide information where to find the backend servers. That information is stored in a well known location.

    We've just added those cases in the domain configuration directly, to avoid users having to edit text files in specific URL paths, which can be error prone.

  • Customizing Element Homepage

    8
    0 Votes
    8 Posts
    453 Views
    ianhyzyI

    @martin you can open the HTML file in the file browser app or via SSH and edit it. At least for me, it appears to persist across updates.

  • Calls in Matrix/Element

    18
    0 Votes
    18 Posts
    4k Views
    M

    @atrilahiji @ericdrgn I started working on this yesterday and have similar questions.

    In my case I just opened 3478 TCP & UDP on inbound traffic (on a VPC in AWS) and two users on the Cloudron could then make video calls - on Nextcloud Talk and Kopano Meet.

    Monitoring the STUN/TURN logs going via the Services page, I could see a few 401s thrown before connection, but I'm not sure how to read what is happenining at this stage.

    Do I need to open up 5349, as well, as indicated in the post above?

  • Enable extra ports in Matrix app

    4
    0 Votes
    4 Posts
    303 Views
    yusfY

    Yes, they’re all separate servers. But they each need their own port into the synapse server.

    My suggestion is to leave some extra ports open instead of trying to assemble an app with all/most/some of the appservices.

    This way we can integrate appservices today rather than dreaming about 20 maintained ones sometime in the future, if ever. (Wouldn’t blame anyone for not trying to maintain 20 wildly different appservices since they’re all very fluid pieces of software)

  • Google suspended Element in Play Store

    21
    1 Votes
    21 Posts
    838 Views
    marcusquinnM

    @yusf said in Google suspended Element in Play Store:

    Calls and texts are literally pushed though.

    For the 10% of important people still using them. 90% of notifications to me are unnecessary, no matter how much I try to whack them with settings.

  • Help making federation work

    Solved
    34
    0 Votes
    34 Posts
    2k Views
    ericdrgnE

    @girish Of course, makes sense now. Should be fairly easy for everyone moving forward.

  • Ability to manage autojoin rooms

    Solved
    5
    0 Votes
    5 Posts
    419 Views
    subvenS

    @msbt hmm you are right and I was wrong! 😓 I'll test if it works and report back 🙂

    EDIT: Okay it works but only for new accounts (at first login with LDAP or local accounts).
    The part in my homeserver.yaml looks like this:

    auto_join_rooms: - '#discuss:yourdomain.com' - '#feedback:yourdomain.com' - '#help:yourdomain.com' - '#info:yourdomain.com'
  • 0 Votes
    3 Posts
    586 Views
    B

    @nebulon said in Question regarding setting up sydent as an identity server:

    .
    Ok, yes I haven't installed it via cloudron.
    Thank you for the reply!

  • Changes in 1.25.0

    Solved
    12
    0 Votes
    12 Posts
    570 Views
    yusfY

    @yusf said in Changes in 1.25.0:

    @girish They sre apparently changing the default to allowing custom usernames. This is terrible for me but it might also be undesired behavior within the general Cloudron experience.

    localpart_template: "{{ user.preferred_username }}"

    The above setting activated is responsible for retaining the previous behavior, iirc.

    It seems that I've cried wolf since when setting up a new test user, no prompt was given to med when signing it in to the LDAP-enabled Matrix server with Element. Good!

  • Help setting up matrix

    Solved
    11
    0 Votes
    11 Posts
    1k Views
    humptydumptyH

    @sebgg give this a read - i had the same problem and installing the element app and then deleting it might have fixed the ssl issue that might have caused the federation to fail.

    https://forum.cloudron.io/topic/3974/help-making-federation-work/4?_=1610652549494

    BTW, make sure to install matrix first, then element.

  • Matrix - cannot connect to integration manager

    Moved
    10
    0 Votes
    10 Posts
    4k Views
    girishG

    IIRC, the fix to this was to get federation working properly. https://docs.cloudron.io/apps/synapse/#step-3-federation

  • 0 Votes
    3 Posts
    2k Views
    girishG

    This is something you have to configure in the homeserver config file. 3pid (third party ids) in matrix can be email and MSISDN (phone numbers).

    From what I can tell, you have to first setup a msisdn delegate and also set disable_msisdn_registration to false i guess.

    I haven't found any docs on how what this msisdn delegate is though.

  • Element custom background

    Solved
    10
    0 Votes
    10 Posts
    970 Views
    ClipperC

    @girish Awesome thank you it works like a charm. Marking as solved.

  • Matrix.org Rooms from my Server?

    Moved Solved
    37
    1 Votes
    37 Posts
    4k Views
    rmdesR

    @msbt I have upped the memory to 2GB and since, this error : Oct 08 15:22:37 /app/pkg/start.sh: line 82: 101 Killed gosu cloudron:cloudron python3 -m synapse.app.homeserver --config-path /app/data/configs/homeserver.yaml

    is completely gone.

    But I'm still stuck at the same : even joining little rooms does not work, or works "randomly" ?

  • Customize /_matrix/static/ page

    Solved
    4
    1 Votes
    4 Posts
    587 Views
    girishG

    @yusf Fixed in the latest version.