matrix-docker-ansible-deploy
matrix-docker-ansible-deploy copied to clipboard
404s after attempting to uninstall and reinstall
First off, thanks for the awesome project!
Describe the bug Issue: All routes 404.
I've been successfully running matrix for a while now. However, I've had some issues with coturn (out of scope of this issue) and so I tried to uninstall according to the documentation and reinstall everything, just as a sanity check.
Running /matrix/bin/remove-all completed successfully without any errors.
I then tried to re-install everything by re-running just roles and then just setup-all -K, with the same config. However, if I try to go to element.my-domain.tld, or sign in, or hit any endpoint, traefik returns a 404.
This is on commit f84a53d8 (latest as of time of writing) of matrix-docker-ansible-deploy
To Reproduce
My vars.yml file looks like this:
---
matrix_domain: matrix.vegan.dev
matrix_homeserver_implementation: synapse
matrix_homeserver_generic_secret_key: ''
matrix_playbook_reverse_proxy_type: playbook-managed-traefik
#devture_traefik_config_certificatesResolvers_acme_email: ''
devture_postgres_connection_password: ''
matrix_coturn_turn_external_ip_address: '165.22.143.109'
matrix_playbook_reverse_proxy_type: playbook-managed-traefik
matrix_playbook_ssl_enabled: true
devture_traefik_config_entrypoint_web_secure_enabled: false
devture_traefik_container_web_host_bind_port: '10.10.10.2:9228'
devture_traefik_config_log_level: DEBUG
devture_traefik_config_entrypoint_web_forwardedHeaders_trustedIPs: ['165.22.143.109']
matrix_playbook_public_matrix_federation_api_traefik_entrypoint_host_bind_port: '10.10.10.2:8449'
matrix_playbook_public_matrix_federation_api_traefik_entrypoint_config_custom:
forwardedHeaders:
trustedIPs: ['165.22.143.109']
Simply going to element.my-domain.tld can reproduce the issue
Expected behavior
Traefik to route requests
Matrix Server:
- OS: Ubuntu 23.10
- Architecture x86_64
Client:
- Device: Web
- OS: macOs
- Browser (Chrome, Safari)
Additional context Add any other context about the problem here.
Here is my traefik.yml from the server:
accessLog: {}
api:
dashboard: false
certificatesResolvers: null
entryPoints:
matrix-federation:
address: :8448
forwardedHeaders:
trustedIPs:
- 165.22.143.109
matrix-internal-matrix-client-api:
address: :8008
web:
address: :8080
forwardedHeaders:
trustedIPs:
- 165.22.143.109
global:
checkNewVersion: false
sendAnonymousUsage: false
log:
level: DEBUG
providers:
docker:
endpoint: tcp://matrix-container-socket-proxy:2375
exposedByDefault: false
network: traefik
file:
filename: /config/provider.yml
Here is my providers.yml, which seems very suspicious:
http:
middlewares: null
routers: null
Here is the relevant output from journalctl -u matrix-traefik.service:
<...snip>
Jun 15 12:58:23 server matrix-traefik[15906]: time="2024-06-15T19:58:23Z" level=debug msg="Skipping unchanged configuration." providerName=docker
Jun 15 12:58:23 server matrix-traefik[15906]: time="2024-06-15T19:58:23Z" level=debug msg="Filtering disabled container" providerName=docker container=matrix-coturn-e5a190d741da7f5d3f6417724085c7d2b2bad36a6463bbdb22e97ca70dc0>
Jun 15 12:58:23 server matrix-traefik[15906]: time="2024-06-15T19:58:23Z" level=debug msg="Filtering disabled container" providerName=docker container=matrix-exim-relay-d2404cc7367af20a5ef21838f806d9120bce1504656453c82439fe3d>
Jun 15 12:58:23 server matrix-traefik[15906]: time="2024-06-15T19:58:23Z" level=debug msg="Filtering disabled container" providerName=docker container=matrix-postgres-752013ab4d189d830d9a7b58f2b56c4f9dfa9fd287e2f19936a98493d6>
Jun 15 12:58:23 server matrix-traefik[15906]: time="2024-06-15T19:58:23Z" level=debug msg="Filtering disabled container" container=matrix-traefik-a1a94ac8ddaa4b323c6703e8685c7f80386e578cfbab7bf89254e02889bc9223 providerName=d>
Jun 15 12:58:23 server matrix-traefik[15906]: time="2024-06-15T19:58:23Z" level=debug msg="Filtering disabled container" providerName=docker container=matrix-container-socket-proxy-2ab062f1aea854acfdf2917e9fc6b35607abb7127234>
Jun 15 12:58:25 server matrix-traefik[15906]: time="2024-06-15T19:58:25Z" level=debug msg="Configuration received: {\"http\":{\"routers\":{\"matrix-client-element\":{\"entryPoints\":[\"web\"],\"middlewares\":[\"matrix-client->
Jun 15 12:58:25 server matrix-traefik[15906]: time="2024-06-15T19:58:25Z" level=debug msg="Skipping unchanged configuration." providerName=docker
Jun 15 12:58:31 server matrix-traefik[15906]: 10.10.10.1 - - [15/Jun/2024:19:58:31 +0000] "GET / HTTP/1.1" 404 19 "-" "-" 2 "-" "-" 0ms
Jun 15 12:58:41 server matrix-traefik[15906]: 10.10.10.1 - - [15/Jun/2024:19:58:41 +0000] "PUT /_matrix/federation/v1/send/1718135013797 HTTP/1.1" 404 19 "-" "-" 3 "-" "-" 0ms
I found the filtering disabled container interesting, but I'm not sure what it means.