| 19 Mar 2023 |
motiejus | also, somewhat related question about mautrix-facebook.nix: I am looking how to pass hs_token and as_token via registrationData, however, I am not clear how to not add the secrets to the nix store. These tokens are in separate files (like in my question below); any ideas how to pass them to the service? | 19:59:06 |
| 21 Mar 2023 |
motiejus | In reply to @motiejus:jakstys.lt
hi folks. I am setting up Synapse on my brand new NixOS server (still consider myself new to NixOS, but have been maintaining my synapse for ~2 years). I have a couple of secrets -- registration_shared_secret, turn_shared_secret, macaroon_secret_key, which I am supposed to pass over extraConfigFiles\. Here is how I envision the process exactly:
- The secrets are written on ramfs reachable as root alone.
ExecStartPre reads all secret files and pre-populates the yamls somewhere in /run/synapse via dirty printfs.
extraConfigFiles then point to the places wherever the one-step-above generates them.
Am I doing this right? Any other hints/ideas?
I did exactly this , and it seems to work (except for a tidbit with signing_key_path, which I suggest a fix in https://github.com/NixOS/nixpkgs/pull/222336 ) | 11:23:28 |
motiejus | In reply to @motiejus:jakstys.lt
hi folks. I am setting up Synapse on my brand new NixOS server (still consider myself new to NixOS, but have been maintaining my synapse for ~2 years). I have a couple of secrets -- registration_shared_secret, turn_shared_secret, macaroon_secret_key, which I am supposed to pass over extraConfigFiles\. Here is how I envision the process exactly:
- The secrets are written on ramfs reachable as root alone.
ExecStartPre reads all secret files and pre-populates the yamls somewhere in /run/synapse via dirty printfs.
extraConfigFiles then point to the places wherever the one-step-above generates them.
Am I doing this right? Any other hints/ideas?
* I did exactly this , and it seems to work (except for a tidbit with signing_key_path, which I suggest a fix in https://github.com/NixOS/nixpkgs/pull/222336 | 11:23:30 |
| 24 Mar 2023 |
hexa | how is everyone else dealing with element and the read marker issues | 02:40:58 |
hexa | threading is now enabled by default, no opt-out, but "mark as read" doesn't clear the read marker for some rooms | 02:41:19 |
hexa | when starting element, lots of already read stuff reappears as read | 02:41:39 |
hexa | it takes the joy out of matrix for me big time | 02:41:46 |
Sandro 🐧 | I sometimes send "spam" messages | 13:51:58 |
@n0emis:noemis.me | Yep, same. Somehow I don’t have this issue on iOS or with syncv3 enabled, although that brings a whole new set if bugs | 15:00:39 |
@n0emis:noemis.me | * Yep, same. Somehow I don’t have this issue on iOS or with syncv3 enabled, although that brings a whole new set of bugs | 15:00:39 |
| 25 Mar 2023 |
| @julian:foad.me.uk changed their profile picture. | 21:09:20 |
| 28 Mar 2023 |
hexa | https://github.com/NixOS/nixpkgs/pull/222336 | 12:11:23 |
hexa | https://matrix.org/blog/2023/03/28/security-releases-matrix-js-sdk-24-0-0-and-matrix-react-sdk-3-69-0/ | 22:59:07 |
hexa | pkgs/servers/monitoring/matrix-alertmanager/yarn.lock
2044:matrix-js-sdk@^12.5.0:
| 23:23:55 |
| * Dandellion wonders if his federation is broken | 23:01:00 |
hexa | pkgs/applications/networking/instant-messengers/matrix-recorder/node-packages.nix
574: "matrix-js-sdk-0.7.13" = {
| 23:24:06 |
hexa | and of cours element, cinny and schildichat | 23:24:25 |
| 29 Mar 2023 |
Dandellion | my federation, was, in fact broken | 04:48:33 |
| 30 Mar 2023 |
hexa | https://github.com/SchildiChat/schildichat-desktop/releases/tag/v1.11.26-sc.1 | 23:09:47 |
hexa | schildichat is still behind, someone please? | 23:09:52 |
| 31 Mar 2023 |
hexa | https://github.com/vector-im/element-web/releases/tag/v1.11.27 | 11:45:14 |
@fantasycookie17:artemislena.eu | root@rp64-ssd:~matrix-synapse/ > RUST_LOG=synapse_auto_compressor=debug,synapse_compress_state=debug su matrix-synapse -c 'synapse_auto_compressor -p "postgresql://matrix-synapse:$(cat postgres_password)@localhost/synapse" -c 500 -n 100'
[2023-03-31T15:38:52Z INFO synapse_auto_compressor] synapse_auto_compressor started
[2023-03-31T15:38:53Z INFO synapse_auto_compressor::manager] Running compressor on room ![REDACTED_ID]:[REDACTED_SERVER] with chunk size 500
[2023-03-31T15:38:54Z DEBUG synapse_compress_state::database] Got initial state from database. Checking for any missing state groups...
[2023-03-31T15:38:54Z ERROR panic] thread 'main' panicked at 'Missing [REDACTED 6-DIGIT INTEGER]': src/lib.rs:665
Have… been using https://github.com/matrix-org/rust-synapse-compress-state successfully for a while now… but… got this today… don't… know why… or… since when has been happening…
| 15:43:14 |
hexa | ehh | 15:49:14 |
hexa | the thing has problemx | 15:49:19 |
hexa | you can delete that state_compressor* tables from your synapse db | 15:50:09 |
hexa | then it will work again | 15:50:13 |
hexa | are you by chance also rolling with retention enabled? | 15:50:26 |
hexa | * the thing has problems | 15:50:44 |
hexa | apparently the state_compressor table data gets out of sync/corrupted | 15:51:41 |
hexa | potential fix here https://github.com/matrix-org/rust-synapse-compress-state/issues/78#issuecomment-1409932869 | 15:51:44 |