Comments on How to Install and Create a Chat server using Matrix Synapse and Element on Ubuntu 22.04
Matrix is an open standard for decentralized and end-to-end encrypted communication. It is a collection of servers and services that communicate with each other using a standardized API that synchronizes in real time. In this tutorial, you will learn how to install and create a chat server using Synapse, a home server implementation of Matrix.
2 Comment(s)
Comments
Don't work
register_new_matrix_user -c /etc/matrix-synapse/conf.d/registration_shared_secret.yaml http://localhost:8008
New user localpart [root]:Password:Confirm password:Make admin [no]: yesSending registration request...ERROR! Received 400 Bad RequestShared secret registration is not enabled
Restart Synapse to apply the configuration.$ sudo systemctl restart matrix-synapse
This server is configured to use 'matrix.org' as its trusted key server via the 'trusted_key_servers' config option. 'matrix.org' is a good choice for a key server since it is long-lived, stable and trusted. However, some admins may wish to use another server for this purpose. To suppress this warning and continue using 'matrix.org', admins should set 'suppress_key_server_warning' to 'true' in homeserver.yaml. -------------------------------------------------------------------------------- ********************************************************************************** Error during initialisation: Traceback (most recent call last): File "/opt/venvs/matrix-synapse/lib/python3.10/site-packages/synapse/app/homeserv> hs.setup() File "/opt/venvs/matrix-synapse/lib/python3.10/site-packages/synapse/server.py", > self.datastores = Databases(self.DATASTORE_CLASS, self) File "/opt/venvs/matrix-synapse/lib/python3.10/site-packages/synapse/storage/data> with make_conn(database_config, engine, "startup") as db_conn: File "/opt/venvs/matrix-synapse/lib/python3.10/site-packages/synapse/storage/data> native_db_conn = engine.module.connect(**db_params) File "/opt/venvs/matrix-synapse/lib/python3.10/site-packages/psycopg2/__init__.py> conn = _connect(dsn, connection_factory=connection_factory, **kwasync) psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 54> There may be more information in the logs.