[Pkg-matrix-maintainers] Bug#1025662: matrix-synapse: synapse_register_new_matrix_user fails on recent versions
Russell Coker
russell at coker.com.au
Wed Dec 7 06:34:15 GMT 2022
Package: matrix-synapse
Version: 1.72.0-1
Severity: normal
Tags: upstream
/usr/bin/synapse_register_new_matrix_user -u $1 -p $2 -a -k $PASS
I run the above command to create a new users, it's in a script that has been
working since April on one server and since 2020 on another. Now it gives
the following error:
Traceback (most recent call last):
File "/usr/bin/synapse_register_new_matrix_user", line 8, in <module>
sys.exit(main())
File "/usr/lib/python3/dist-packages/synapse/_scripts/register_new_matrix_user.py", line 247, in main
elif config:
UnboundLocalError: local variable 'config' referenced before assignment
-- System Information:
Debian Release: 11.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-19-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Enforcing - Policy name: default
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 libc6 2.36-5
ii libgcc-s1 10.2.1-6
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.2.0-1~bpo11+1
ii python3-bleach 3.2.1-2.1
ii python3-canonicaljson 1.6.2-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.3.0-2~bpo11+3
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-pydantic 1.10.2-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 4.3.0-2
ii python3-unpaddedbase64 2.1.0-2
ii python3-yaml 5.3.1-5
Versions of packages matrix-synapse recommends:
pn matrix-synapse-ldap3 <none>
pn python3-pympler <none>
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:
* matrix-synapse/report-stats: true
* matrix-synapse/server-name: coker.com.au
More information about the Pkg-matrix-maintainers
mailing list