!qJjlVpSRJEWzyTmhoh:perthchat.org

PC-Admin's Synapse Setup Guide

250 Members
Support room for: https://github.com/PC-Admin/PC-Admin-s-Synapse-Setup-Guide - Roadmap: 1) Update existing guide for 1.0. <done> 2) Debian 10 version. <done> 3) Dendrite guide. 4) Ansible script equivalent.86 Servers

Load older messages


SenderMessageTime
13 Dec 2023
@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
@wh1:matrix.orgwh1

you create it, synapse creates the tables and all the data

How do I get synapse to create the tables and all the data?

07:10:57
@PC-Admin:matrix.org@PC-Admin:matrix.org I think it does that after first being turned on 09:23:53
@wh1:matrix.orgwh1yes10:17:44
@wh1:matrix.orgwh1Can synapse inside a docker container connect to an external remote postgresql database?18:01:06
18 Dec 2023
@PC-Admin:matrix.org@PC-Admin:matrix.org changed their profile picture.03:56:35
@wh1:matrix.orgwh1untimeError: Cannot create PostgresEngine -- psycopg2 module is not installed10:03:36
19 Dec 2023
@wh1:matrix.orgwh1synapse has two types of database manipulation code, one is sqlite and the other is PostgreSQL, right? If you change the python code that operates the database, do you need to change both?08:57:18
@wh1:matrix.orgwh1How do you import data from an old version of sqlite into a new synapse PostgreSQL database?17:22:58
20 Dec 2023
@PC-Admin:matrix.org@PC-Admin:matrix.org
In reply to @wh1:matrix.org
How do you import data from an old version of sqlite into a new synapse PostgreSQL database?
There's a migration script that converts sqlite to postgres
12:10:44
21 Dec 2023
@nel:jabawok.netnel changed their profile picture.11:12:27
26 Dec 2023
@jan.christian:gruenhage.xyzjcgruenhage changed their display name from jcgruenhage to JC [2425@37c3].12:13:29

Show newer messages


Back to Room ListRoom Version: 1