!qJjlVpSRJEWzyTmhoh:perthchat.org

PC-Admin's Synapse Setup Guide

226 Members
Support room for: https://github.com/PC-Admin/PC-Admins-Synapse-Setup-Guide - WARNING: The author of this guide has moved onto the Ansible approach, i would strongly recommend using: https://github.com/spantaleev/matrix-docker-ansible-deploy - For general questions about Synapse try #synapse:matrix.org75 Servers

Load older messages


SenderMessageTime
13 Dec 2023
@wh1:matrix.orgwh1Shouldn't these be changed? "events": { "m.room.name": 50, "m.room.power_levels": 50, "m.room.history_visibility": 100, "m.room.canonical_alias": 50, "m.room.avatar": 50, "m.room.tombstone": 100, "m.room.server_acl": 100, "m.room.encryption": 100, "m.room.topic": 50, "im.vector.modular.widgets": 50 }, "events_default": 0, "state_default": 50, "ban": 50, "kick": 50, "redact": 5017:34:28
@aaron:raim.istAaron wh1: however you want to set those is up to you. I just pulled that from some old command I ran in the past. But you do need to send the whole power level event, not just the things you are changing. 17:35:32
@aaron:raim.istAaronBe careful to include yourself in the event otherwise you will demote yourself and won't be able to control the room anymore.17:36:36
@wh1:matrix.orgwh1return this17:48:56
@wh1:matrix.orgwh1<html> <head><title>404 - No Such Resource</title></head> <body> <h1>No Such Resource</h1> <p>Sorry. No luck finding that resource.</p> </body> </html> 17:49:00
@aaron:raim.istAaron wh1: make sure you are using the correct (sub)domain and port 17:49:37
@wh1:matrix.orgwh1Is one of the following me? "users": { "@a:example.com": 100, "@b:example.com": 100 },17:51:35
@aaron:raim.istAaron wh1: doesn't matter 17:51:57
@wh1:matrix.orgwh1

wh1: make sure you are using the correct (sub)domain and port

yes

17:53:31
@wh1:matrix.orgwh1Does one of the following two users have to be myself? "users": { "@a:example.com": 100, "@b:example.com": 100 },18:03:55
@wh1:matrix.orgwh1My server is synapse1.4.1, is it different?18:11:40
@wh1:matrix.orgwh1Can you run your tests at your place?18:15:08
@aaron:raim.istAaron
In reply to @wh1:matrix.org
Does one of the following two users have to be myself?

"users": {
"@a:example.com": 100,
"@b:example.com": 100
},
that's just an example but everyone you want to be a room admin or moderator needs to be listed there including yourself. that list can be just one user or it can be 50 users.
20:08:15
@aaron:raim.istAaron
In reply to @wh1:matrix.org
My server is synapse1.4.1, is it different?
that's pretty old but no it hasn't changed
20:08:27
@aaron:raim.istAaron
In reply to @wh1:matrix.org
Does one of the following two users have to be myself?

"users": {
"@a:example.com": 100,
"@b:example.com": 100
},
* That's just an example. Everyone you want to be a room admin or moderator needs to be listed there including yourself. That list can be any number of users, from just one user, 50 users, or more.
20:10:12
14 Dec 2023
@wh1:matrix.orgwh1Can users be deleted without admin api?15:04:19
@wh1:matrix.orgwh1Can I delete chat rooms without admin api?15:26:37
@PC-Admin:matrix.org@PC-Admin:matrix.org Users can deactivate themselves which is essentially deletion. Rooms can be tombstoned by room admins (PL100) but they will persist. 16:31:06
@creme:envs.net@creme:envs.net
In reply to @PC-Admin:matrix.org
Users can deactivate themselves which is essentially deletion. Rooms can be tombstoned by room admins (PL100) but they will persist.
or you kick all users out of the room and close it.
16:32:50
@wh1:matrix.orgwh1I have the synapse1.98 source code, how can I run the synapse source code from the command line?18:04:56
@wh1:matrix.orgwh1How do I start and run the synapse service on synapse source code?18:28:32
@creme:envs.net@creme:envs.net
In reply to @wh1:matrix.org
How do I start and run the synapse service on synapse source code?
https://matrix-org.github.io/synapse/latest/setup/installation.html#installing-as-a-python-module-from-pypi
18:28:45
@wh1:matrix.orgwh1No, I mean run it on source code18:45:53
15 Dec 2023
@neilj:matrix.orgNeil changed their display name from neil to neil_away.13:34:27
@wh1:matrix.orgwh1How does Synapse generate a postgres database?16:18:39
@wh1:matrix.orgwh1Is the database of the lower synapse exactly the same as the higher synapse? No change?16:42:29
@neilj:matrix.orgNeil changed their display name from neil_away to neil.20:06:07
@wh1:matrix.orgwh1I have deployed a synapse server in docker where I want to connect to a remote Postgres database server, is my database configuration correct below? database: name: psycopg2 args: user: synapse_user password: "123456" dbname: synapse host: '86.94.20.42' PORT: 5432 cp_min: 5 cp_max:21:45:40
16 Dec 2023
@aaron:raim.istAaron
In reply to @wh1:matrix.org
How does Synapse generate a postgres database?
you create it, synapse creates the tables and all the data
03:40:01
@aaron:raim.istAaron
In reply to @wh1:matrix.org
Is the database of the lower synapse exactly the same as the higher synapse? No change?
If you are asking is the database compatible across all versions of synapse, no. The database has changed over time. Once you upgrade Synapse past certain versions then you won't be able to easily downgrade.
03:40:54

Show newer messages


Back to Room ListRoom Version: 1