Hi,
I wanted to experiment with Matrix Synapse. For this purpose, I started with a fresh and up-to-date DietPi OS installation. The installation via dietpi-software was able to start, but the installation process aborted midway. An error was displayed, and the installation routine could not be completed successfully.
Is this a known issue, or has anyone experienced something similar?
Wanted to install Matrix-Synapse via “dietpi-software”
Expected behaviour:
Install Matrix-synase server
Actual behaviour:
Install-routine ended with this error-code (see below)
Extra details:
none
Additional logs:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/local/lib/python3.13/dist-packages/synapse/app/homeserver.py", line 32, in <module>
from synapse import events
File "/usr/local/lib/python3.13/dist-packages/synapse/events/__init__.py", line 46, in <module>
from synapse.util.caches import intern_dict
File "/usr/local/lib/python3.13/dist-packages/synapse/util/caches/__init__.py", line 34, in <module>
from synapse.metrics import SERVER_NAME_LABEL
File "/usr/local/lib/python3.13/dist-packages/synapse/metrics/__init__.py", line 265, in <module>
class InFlightGauge(Generic[MetricsEntry], Collector):
...<132 lines>...
yield gauge
File "/usr/lib/python3.13/typing.py", line 2071, in __new__
return super().__new__(mcls, name, bases, namespace, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen abc>", line 106, in __new__
TypeError: Cannot create a consistent method resolution order (MRO) for bases Generic, Collector