-
-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Software | Matrix Synapse Server #4526
Conversation
+ DietPi-Software | PostgreSQL: Disable TCP/IP listener by default and instead assure that UNIX domain socket is enabled at expected location + DietPi-Software | Synapse: Start server in systemd unit via python3 call directly and omit synctl, which saves ~70 MiB memory and allows to pass custom command line parameters easily. Use this to load additional override configs from homeserver.yaml.d directory. + DietPi-Software | Synapse: Connect to PostgreSQL via UNIX domain socket, which provides ~30% faster queries. + DietPi-Software | Synapse: Apply database access details via override config, which is much safer than editing YAML with repeating and multi-line config blocks. + DietPi-Software | Synapse: Log to journal (journalctl -u synapse) by default and reduce log level to WARNING + DietPi-Software | Synapse: Switch to Type=notify, so that "systemctl start synapse" finishes only after the service is ready to listen. Else register_new_matrix_user can fail when the server was not yet ready. Taken from upstream: https://github.com/matrix-org/synapse/blob/develop/debian/matrix-synapse.service + DietPi-Software | Synapse: Implement quick reload with systemd unit, taken from upstream: https://github.com/matrix-org/synapse/blob/develop/debian/matrix-synapse.service
Btw, what was the reason for switching away from the official APT repository? |
It only has |
Ah okay, makes totally sense then. And Buster backports is not available on 32-bit RPi images. |
Mystery solved why on ARMv6/7 additional (image codec) libraries are required:
|
Ready from my end. Tested on all distro versions, ARMv6/7/8 and x86_64 and:
|
Merging now to avoid conflicts with youtube-dl. |
This caused some issues for me on non-DietPi services which used PostgreSQL until I found this PR. |
You are on 7.4 Beta? |
Yes, this has not yet been released and it won't affect manually installed instances of PostgreSQL (e.g. |
Status: Ready
Reference: #4525
Commit list/description: