Версия пакета: matrix-synapse-1.19.0-alt1 # systemctl start matrix-synapse # systemctl status matrix-synapse ● matrix-synapse.service - Synapse Matrix homeserver Loaded: loaded (/lib/systemd/system/matrix-synapse.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2020-09-18 13:29:16 UTC; 406ms ago Process: 5698 ExecStart=/usr/bin/python3 -m synapse.app.homeserver --config-path=/etc/synapse/homeserver.yaml (code=exited, status=1/FAILURE) Main PID: 5698 (code=exited, status=1/FAILURE) CPU: 756ms сен 18 13:29:15 server-91-x86-64-min-20200818.localdomain systemd[1]: Started Synapse Matrix homeserver. сен 18 13:29:16 server-91-x86-64-min-20200818.localdomain python3[5698]: ERROR:root:Needed canonicaljson>=1.2.0, got canonicaljson==1.1.4 сен 18 13:29:16 server-91-x86-64-min-20200818.localdomain python3[5698]: ERROR:root:Needed optional txredisapi>=1.4.7, got txredisapi==1.2 сен 18 13:29:16 server-91-x86-64-min-20200818.localdomain python3[5698]: Missing Requirements: 'canonicaljson>=1.2.0', 'txredisapi>=1.4.7' сен 18 13:29:16 server-91-x86-64-min-20200818.localdomain python3[5698]: To install run: сен 18 13:29:16 server-91-x86-64-min-20200818.localdomain python3[5698]: pip install --upgrade --force 'canonicaljson>=1.2.0' 'txredisapi>=1.4.7' сен 18 13:29:16 server-91-x86-64-min-20200818.localdomain systemd[1]: matrix-synapse.service: Main process exited, code=exited, status=1/FAILURE сен 18 13:29:16 server-91-x86-64-min-20200818.localdomain systemd[1]: matrix-synapse.service: Failed with result 'exit-code'. # rpm -qa | grep canonicaljson python3-module-canonicaljson-1.1.4-alt1.noarch # rpm -qa | grep txredisapi python3-module-txredisapi-1.2-alt2.noarch
Понял, обновлю зависимости.
matrix-synapse-1.19.3-alt1 -> sisyphus: Fri Sep 18 2020 Vitaly Lipatov <lav@altlinux.ru> 1.19.3-alt1 - new version 1.19.3 (with rpmrb script) - update requirements (ALT bug 38962)
Версия: matrix-synapse-1.104.0-alt1 Стенд, обновлённый до Sisyphus: ALT Server x86-64 Шаги те же https://bugzilla.altlinux.org/show_bug.cgi?id=38962#c0, поведение несколько изменилось. Вывод: # systemctl status matrix-synapse × matrix-synapse.service - Synapse Matrix homeserver Loaded: loaded (/usr/lib/systemd/system/matrix-synapse.service; enabled; preset: disabled) Active: failed (Result: exit-code) since Mon 2024-06-17 15:57:48 MSK; 1s ago Duration: 3.963s Process: 26264 ExecStart=/usr/bin/python3 -m synapse.app.homeserver --config-path=/etc/synapse/homeserver.yaml (code=exited, status=1/FAILURE) Main PID: 26264 (code=exited, status=1/FAILURE) CPU: 2.467s июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain python3[26264]: with open( июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain python3[26264]: ^^^^^ июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain python3[26264]: File "/usr/lib64/python3/site-packages/synapse/config/key.py", line 274, in <lambda> июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain python3[26264]: signing_key_path, "w", opener=lambda p, f: os.open(p, f, mode=0o640) июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain python3[26264]: ^^^^^^^^^^^^^^^^^^^^^^^^^ июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain python3[26264]: PermissionError: [Errno 13] Permission denied: '/etc/synapse/my.matrix.alt.signing.key' июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain python3[26264]: Generating signing key file /etc/synapse/my.matrix.alt.signing.key июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain systemd[1]: matrix-synapse.service: Main process exited, code=exited, status=1/FAILURE июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain systemd[1]: matrix-synapse.service: Failed with result 'exit-code'. июн 17 15:57:48 server-10-2-x86-64-office-20240613.localdomain systemd[1]: matrix-synapse.service: Consumed 2.467s CPU time.