!vxTmkuJzhGPsMdkAOc:transformierende-gesellschaft.org

NixOS Matrix Subsystem

130 Members
Coordination and discussion about the matrix subsystem in NixOS - https://nixos.wiki/wiki/Matrix63 Servers

Load older messages


SenderMessageTime
14 Jun 2022
@dandellion:dodsorf.asDandellion * yeah sigint15:03:12
@fantasycookie17:artemislena.eu@fantasycookie17:artemislena.eu

https://github.com/jupyterhub/jupyterlab-hub/issues/44

It… could be a memory issue?

15:08:44
@fantasycookie17:artemislena.eu@fantasycookie17:artemislena.euBut our machine has 4GB…15:08:54
@fantasycookie17:artemislena.eu@fantasycookie17:artemislena.euMaybe… if we add a swapfile…15:09:08
@fantasycookie17:artemislena.eu@fantasycookie17:artemislena.euThat… seems to have fixed it…16:36:13
@ralith:ralith.comRalith4G isn't much these days19:43:27
@ralith:ralith.comRalithespecially when there's web crap involved19:44:02
16 Jun 2022
@fantasycookie17:artemislena.eu@fantasycookie17:artemislena.euIt's an ARM machine… and it's more than enough for what it usually runs (Caddy + WireGuard + BorgBackup twice a day)…04:44:47
@linus:schreibt.jetzt@linus:schreibt.jetztBuilds often do need more memory though08:34:50
* @linus:schreibt.jetzt@linus:schreibt.jetzt has flashbacks to ARMv7 system that couldn't compile chromium because it didn't have enough address space 08:35:21
@linus:schreibt.jetzt@linus:schreibt.jetzt(Or was it Firefox?)08:35:45
17 Jun 2022
@fadenb:utzutzutz.netfadenb
error: The option `services.matrix-synapse.settings.listeners.[definition 1-entry 1].bind_address' does not exist. Definition values:
       - In `/etc/nixos/configuration.nix': "127.0.0.1"
(use '--show-trace' to show detailed location information)

Did I misinterpret the latest release config that all top-level config things should be moved to the settings. section?

11:41:49
@fadenb:utzutzutz.netfadenbAh 🤦‍♂️, I should have read the next section 😆11:42:22
@hexa:lossy.networkhexatl;dr: bind_addresses16:12:40
@hexa:lossy.networkhexa

The listeners.*.bind_address option was renamed to bind_addresses in order to match the upstream homeserver.yaml option name. It is now also a list of strings instead of a string.

16:13:50
@hexa:lossy.networkhexawow, I made that it it's own sentence 😄16:14:03
@fadenb:utzutzutz.netfadenb

I ran into another issue though.
I naively just added a settings = { indented my old config lines and closed the curly braces.
This was valid enough to build but had multiple issuss:

database_args was accepted but did not work as expected. This lead to my database name below that being ignored.
Fix was easy, make it database.args and it is ok.
Another thing which broke was my old extraConfig which ended up as a single line in the new config.

I feel this was not sufficiently documented. For such a major change I'd hope for more safeguards or a much more detailed release notes entry that actually covers all those cases.

19:20:39
@dandellion:dodsorf.asDandellion

need to be moved into services.matrix-synapse.settings

might have kind of implied you could just copy it in. but how settings (RFC42) works in the rest of nixos should make it somewhat a pattern so people hopefully don't actually verbatimely copy things into the settings

I don't think there's a nice way to sanity check freeform settings in general (since you want to be able to specify their contents freely), but maybe we could have explicitly checked for things like database_args for a while and thrown

20:00:18
@dandellion:dodsorf.asDandellion I personally think saying it generates a homeserver.yaml file and follows RFC42 ought to be enough, at least combined with settings being like that in other modules 20:03:39
21 Jun 2022
@fadenb:utzutzutz.netfadenbAnyone here using synapse_auto_compressor with psql socket auth and can share with me how to specify how to connect to postgres?21:15:31
@fadenb:utzutzutz.netfadenb I always get a 'invalid configuration host missing' error but I obviously do not want to connect via the network.
Replacing host with a path to the socket does not work either
21:16:37
@andreas.schraegle:helsinki-systems.de@andreas.schraegle:helsinki-systems.deI just use it over localhost iirc21:35:15
@andreas.schraegle:helsinki-systems.de@andreas.schraegle:helsinki-systems.de * I just use it over localhost21:35:41
@fadenb:utzutzutz.netfadenb Ah, seems that one must use ?host=/var/run/postgresql and no other format mentioned in the manual :) 21:36:12
22 Jun 2022
@ralith:ralith.comRalithwhoever wrote the matrix-synapse release notes, thanks for the hour I just had to spend recovering20:44:11
@ralith:ralith.comRalith "This means that options that are part of your homeserver.yaml configuration, and that were specified at the top-level of the module (services.matrix-synapse) now need to be moved into services.matrix-synapse.settings" is not accurate 20:44:33
@ralith:ralith.comRalith in particular database_type and database_args are ignored, and synapes silently defaults back to using sqlite, which not only breaks everything, but also nukes every active user session! 20:45:45
@ralith:ralith.comRalithcould've lost e2e keys permanently if my backups weren't good20:46:05
@hexa:lossy.networkhexafeel free to imporve the docs.20:46:44
@hexa:lossy.networkhexa * feel free to improve the docs.20:47:53

Show newer messages


Back to Room ListRoom Version: 4