spantaleev / matrix-docker-ansible-deploy

🐳 Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker
GNU Affero General Public License v3.0
4.93k stars 1.05k forks source link

Unable to start service matrix-user-verification-service.service #2847

Open ragnarblackmane opened 1 year ago

ragnarblackmane commented 1 year ago

Describe the bug During installation of matrix-user-verification-service I have the following issue:

2839

then, after removing the following entries from setup_jitsi_auth_uvs_install.yml and running ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,start:

become: true become_user: "{{ jitsi_uid }}"

I have the following issue:

TASK [galaxy/com.devture.ansible.role.systemd_service_manager : Ensure systemd services are started] **** changed: [matrix.[REDACTEDDOMAIN]] => (item={'name': 'matrix-postgres.service', 'priority': 500, 'groups': ['matrix', 'postgres']}) failed: [matrix.[REDACTEDDOMAIN]] (item={'name': 'matrix-user-verification-service.service', 'priority': 800, 'groups': ['matrix', 'matrix-user-verification-service']}) => changed=false ansible_loop_var: item item: groups:

Checking through journalctl, the service starts and then stops after some seconds. If I try to open a jitsi meet through Element, it does not authenticate.

To Reproduce My vars.yml file looks like this:

matrix_domain: [REDACTED] matrix_homeserver_implementation: synapse matrix_homeserver_generic_secret_key: '[REDACTED]' matrix_playbook_reverse_proxy_type: playbook-managed-traefik devture_traefik_config_certificatesResolvers_acme_email: '[REDACTED]' devture_postgres_connection_password: '[REDACTED]' matrix_nginx_proxy_base_domain_serving_enabled: true matrix_synapse_federation_enabled: false jitsi_enabled: true jitsi_enable_auth: true jitsi_auth_type: matrix matrix_user_verification_service_enabled: true matrix_user_verification_service_uvs_access_token: "[REDACTED]" matrix_user_verification_service_uvs_disable_ip_blacklist: true jitsi_jvb_container_extra_arguments:

Trying to enable Matrix OpenID auth for jitsi following: https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/configuring-playbook-jitsi.md

Expected behavior Installation without errors and Matrix OpenID working.

Matrix Server:

Ansible: If your problem appears to be with Ansible, tell us:

crapo9000 commented 1 year ago

@ragnarblackmane Edititing the UVS service file as I described here https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2375#issuecomment-1655758296 should fix your problem. Just replace the user part with the user that is starting your services, perform a systemctl daemon-reload and you should be able to run UVS.

ragnarblackmane commented 1 year ago

@ragnarblackmane Edititing the UVS service file as I described here #2375 (comment) should fix your problem. Just replace the user part with the user that is starting your services, perform a systemctl daemon-reload and you should be able to run UVS.

Thanks! I'll try on the next instance I'll install. For now I don't need matrix authentication in jitsi anymore.