[Pkg-matrix-maintainers] Bug#1017509: matrix-synapse: Service won't started after upgrade

joffrey575 joffrey575 at freewind.fr
Wed Aug 17 10:18:43 BST 2022


Package: matrix-synapse
Version: 1.63.0-1~bpo11+1
Severity: important

Dear Maintainer,

I have upgrade matrix-synapse in 1.63.0-1~bpo11+1 version from the old n-1.

After this, the service won't started.

I give it to you journalctl logs as follow.

After discuss in synapse channel on website https://app.element.io, they said it's a problem can came from python3-matrix-common.

python3[2633161]: Traceback (most recent call last):
python3[2633161]: File "/usr/lib/python3.9/runpy.py", line 188, in _run_module_as_main
python3[2633161]: mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
python3[2633161]: File "/usr/lib/python3.9/runpy.py", line 111, in _get_module_details
python3[2633161]: __import__(pkg_name)
python3[2633161]: File "/usr/lib/python3/dist-packages/synapse/__init__.py", line 71, in <module>
python3[2633161]: import synapse.util
python3[2633161]: File "/usr/lib/python3/dist-packages/synapse/util/__init__.py", line 195, in <module>
python3[2633161]: SYNAPSE_VERSION = get_distribution_version_string("matrix-synapse", __file__)
python3[2633161]: TypeError: get_distribution_version_string() takes 1 positional argument but 2 were given

Thanks a lot

-- System Information:
Debian Release: 11.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (100, 'bullseye-fasttrack'), (100, 'bullseye-backports-staging')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-16-amd64 (SMP w/8 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages matrix-synapse depends on:
ii  adduser                     3.118
ii  debconf [debconf-2.0]       1.5.77
ii  init-system-helpers         1.60
ii  libjs-jquery                3.5.1+dfsg+~3.5.5-7
ii  libpython3-stdlib           3.9.2-3
ii  lsb-base                    11.1.0
ii  python3                     3.9.2-3
ii  python3-attr                20.3.0-1
ii  python3-bcrypt              3.1.7-4
ii  python3-bleach              3.2.1-2.1
ii  python3-canonicaljson       1.6.2-1~bpo11+1
ii  python3-cryptography        3.3.2-1
ii  python3-distutils           3.9.2-1
ii  python3-frozendict          1.2-3~bpo11+1
ii  python3-ijson               3.1.4-1
ii  python3-importlib-metadata  1.6.0-2
ii  python3-jinja2              3.0.3-1~bpo11+1
ii  python3-jsonschema          3.2.0-3
ii  python3-lxml                4.6.3+dfsg-0.1+deb11u1
ii  python3-matrix-common       1.2.1-1~bpo11+1
ii  python3-msgpack             1.0.0-6+b1
ii  python3-netaddr             0.7.19-5
ii  python3-openssl             20.0.1-1
ii  python3-packaging           20.9-2
ii  python3-phonenumbers        8.12.1-1
ii  python3-pil                 8.1.2+dfsg-0.3+deb11u1
ii  python3-prometheus-client   0.9.0-1
ii  python3-psycopg2            2.8.6-2
ii  python3-pyasn1              0.4.8-1
ii  python3-pyasn1-modules      0.2.1-1
ii  python3-pymacaroons         0.13.0-4
ii  python3-service-identity    18.1.0-6
ii  python3-signedjson          1.1.1-2
ii  python3-sortedcontainers    2.1.0-2
ii  python3-systemd             234-3+b4
ii  python3-treq                18.6.0-0.2
ii  python3-twisted             20.3.0-7+deb11u1
ii  python3-typing-extensions   3.10.0.2-1~bpo11+1
ii  python3-unpaddedbase64      2.1.0-2~bpo11+1
ii  python3-yaml                5.3.1-5

Versions of packages matrix-synapse recommends:
ii  matrix-synapse-ldap3  0.1.4+git20201015+a3c7a9f-1
ii  python3-pympler       0.9+dfsg1-2

Versions of packages matrix-synapse suggests:
pn  python3-authlib  <none>
ii  python3-jwt      1.7.1-2

-- Configuration Files:
/etc/matrix-synapse/homeserver.yaml changed [not included]

-- debconf information excluded



More information about the Pkg-matrix-maintainers mailing list