Actions
tickets #178735
closedmatrix-synapse.service not starting (hiredis, txredisapi)
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
IRC and Matrix
Target version:
-
Start date:
2025-03-12
Due date:
% Done:
0%
Estimated time:
Description
Mar 12 08:56:15 matrix systemd[1]: Starting Synapse Matrix homeserver...
Mar 12 08:56:19 matrix matrix-synapse[511463]: ERROR:root:Synapse 1.125.0 needs hiredis for redis, but it is not installed
Mar 12 08:56:19 matrix matrix-synapse[511463]: ERROR:root:Synapse 1.125.0 needs txredisapi for redis, but it is not installed
Mar 12 08:56:19 matrix matrix-synapse[511463]: Traceback (most recent call last):
Mar 12 08:56:19 matrix matrix-synapse[511463]: File "<frozen runpy>", line 198, in _run_module_as_main
Mar 12 08:56:19 matrix matrix-synapse[511463]: File "<frozen runpy>", line 88, in _run_code
Mar 12 08:56:19 matrix matrix-synapse[511463]: File "/usr/lib64/python3.13/site-packages/synapse/app/homeserver.py", line 419, in <module>
Mar 12 08:56:19 matrix matrix-synapse[511463]: main()
Mar 12 08:56:19 matrix matrix-synapse[511463]: ~~~~^^
Mar 12 08:56:19 matrix matrix-synapse[511463]: File "/usr/lib64/python3.13/site-packages/synapse/app/homeserver.py", line 409, in main
Mar 12 08:56:19 matrix matrix-synapse[511463]: hs = setup(sys.argv[1:])
Mar 12 08:56:19 matrix matrix-synapse[511463]: File "/usr/lib64/python3.13/site-packages/synapse/app/homeserver.py", line 318, in setup
Mar 12 08:56:19 matrix matrix-synapse[511463]: config = HomeServerConfig.load_or_generate_config(
Mar 12 08:56:19 matrix matrix-synapse[511463]: "Synapse Homeserver", config_options
Mar 12 08:56:19 matrix matrix-synapse[511463]: )
Mar 12 08:56:19 matrix matrix-synapse[511463]: File "/usr/lib64/python3.13/site-packages/synapse/config/_base.py", line 823, in load_or_generate_config
Mar 12 08:56:19 matrix matrix-synapse[511463]: obj.parse_config_dict(
Mar 12 08:56:19 matrix matrix-synapse[511463]: ~~~~~~~~~~~~~~~~~~~~~^
Mar 12 08:56:19 matrix matrix-synapse[511463]: config_dict, config_dir_path=config_dir_path, data_dir_path=data_dir_path
Mar 12 08:56:19 matrix matrix-synapse[511463]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 12 08:56:19 matrix matrix-synapse[511463]: )
Mar 12 08:56:19 matrix matrix-synapse[511463]: ^
Mar 12 08:56:19 matrix matrix-synapse[511463]: File "/usr/lib64/python3.13/site-packages/synapse/config/_base.py", line 844, in parse_config_dict
Mar 12 08:56:19 matrix matrix-synapse[511463]: self.invoke_all(
Mar 12 08:56:19 matrix matrix-synapse[511463]: ~~~~~~~~~~~~~~~^
Mar 12 08:56:19 matrix matrix-synapse[511463]: "read_config",
Mar 12 08:56:19 matrix matrix-synapse[511463]: ^^^^^^^^^^^^^^
Mar 12 08:56:19 matrix matrix-synapse[511463]: ...<2 lines>...
Mar 12 08:56:19 matrix matrix-synapse[511463]: data_dir_path=data_dir_path,
Mar 12 08:56:19 matrix matrix-synapse[511463]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 12 08:56:19 matrix matrix-synapse[511463]: )
Mar 12 08:56:19 matrix matrix-synapse[511463]: ^
Mar 12 08:56:19 matrix matrix-synapse[511463]: File "/usr/lib64/python3.13/site-packages/synapse/config/_base.py", line 443, in invoke_all
Mar 12 08:56:19 matrix matrix-synapse[511463]: res[config_class.section] = getattr(config, func_name)(*args, **kwargs)
Mar 12 08:56:19 matrix matrix-synapse[511463]: ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
Mar 12 08:56:19 matrix matrix-synapse[511463]: File "/usr/lib64/python3.13/site-packages/synapse/config/redis.py", line 44, in read_config
Mar 12 08:56:19 matrix matrix-synapse[511463]: check_requirements("redis")
Mar 12 08:56:19 matrix matrix-synapse[511463]: ~~~~~~~~~~~~~~~~~~^^^^^^^^^
Mar 12 08:56:19 matrix matrix-synapse[511463]: File "/usr/lib64/python3.13/site-packages/synapse/util/check_dependencies.py", line 216, in check_requirements
Mar 12 08:56:19 matrix matrix-synapse[511463]: raise DependencyException(deps_unfulfilled)
Mar 12 08:56:19 matrix matrix-synapse[511463]: synapse.util.check_dependencies.DependencyException: ['hiredis', 'txredisapi']
Mar 12 08:56:19 matrix systemd[1]: matrix-synapse.service: Main process exited, code=exited, status=1/FAILURE
Mar 12 08:56:19 matrix systemd[1]: matrix-synapse.service: Failed with result 'exit-code'.
Mar 12 08:56:19 matrix systemd[1]: Failed to start Synapse Matrix homeserver.
Mar 12 08:56:19 matrix systemd[1]: matrix-synapse.service: Consumed 2.984s CPU time.
Actions