If you’ve configured your DNS and have configured the playbook, you can start the installation procedure.
Run this command to install the Matrix services:
ansible-playbook -i inventory/hosts setup.yml --tags=setup-all
The above command doesn’t start any services just yet (another step does this later - below). Feel free to re-run this setup command any time you think something is off with the server configuration.
Notes:
--ask-pass to the above (and all other) Ansible commands.-K (--ask-become-pass) to the above (and all other) Ansible commands.Before starting the services, you may want to do additional things like:
Importing an existing SQLite database (from another Synapse installation) (optional)
Importing an existing Postgres database (from another installation) (optional)
Importing media_store data files from an existing Synapse installation (optional)
When you’re ready to start the Matrix services (and set them up to auto-start in the future), run this command:
ansible-playbook -i inventory/hosts setup.yml --tags=start
Now that services are running, you need to finalize the installation process (required for federation to work!) by Configuring Service Discovery via .well-known.
After you have started the services and finalized the installation process (required for federation to work!) by Configuring Service Discovery via .well-known, you can: