-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot finish setup-all after recent commit (completely moved to Traefik reverse-proxy) #3095
Comments
Your error message seems to be cut off, but I imagine it says that If so, it should be fixed in 0b76573 |
Addon services (bridges, bots) are explicitly being connected to Traefik, because of Traefik's new role as an intermediary service through which addon services connect to the homeserver. This is described here. The same section in the changelog entry also tells you that you can disable this behavior via About Synapse failing to start, it'd be interesting to see what |
I already defined See error here:
Nope, |
…ther-traefik-container" setups Related to #3095
Your problem seems to lie with It assumed you're using the integrated Traefik webserver, which is wrong.. It should take a look at the reverse-proxy type variable. It's supposedly fixed in b1e08db. If you're still experiencing trouble with it (despite that fix), you may try redefining it to point to your Traefik container's systemd service (e.g. ``matrix_addons_homeserver_systemd_services_list: [my-traefik.service] |
This is my
Setup failed, in addition to
Output from
|
Commit b1e08db seems to fix the |
It's odd to see Synapse not being connected to neither the Postgres network ( It seems like you haven't disabled either of these services, so Synapse should be connected to both by default. Maybe there's something wrong here: matrix-docker-ansible-deploy/group_vars/matrix_servers Lines 3890 to 3903 in b1e08db
It may be helpful if you could add |
Can you give examples on how to add debug statements and where? Do I add it in the roles, or |
You're probably right, unless more details on how to debug the variables, I don't think I will spend more time running setup over and over again... I'm okay with adding 1 extra line to my |
Not sure if it's related, but additional network/my "other Traefik" network wasn't added to Here's my current
This is the resulting
|
Someone had reported this in our Matrix room, so I've tried to fix this via da1f570 but it looks like it wasn't of much help. Perhaps 17859ec is a new and better fix. Let me know! |
Latest commit mentioned above seems to be working for My
|
Glad to hear it helped! It'd be great to figure out why you still need to explicitly add |
If you can tell me where to add the code to print out these variables, maybe we can find out why it's not adding the network:
|
|
Looks like everything is correct there:
So this statement |
Closing this issue since it's not happening to anyone else. Just need to add 1 line to |
…ther-traefik-container" setups Related to spantaleev#3095
Describe the bug
Following instructions from CHANGELOG.md, some add-ons services cannot be started, even though
matrix_playbook_reverse_proxy_type: 'other-traefik-container'
have been set, those add-ons kept looking for matrix-traefik.service and failed to start. In addition, there's an error/unknown variable in group_vars/matrix_servers: matrix_well_known_ident, this will cause the setup/upgrade to fail since it's not defined anywhere:I also encountered issues at the end when services being started,
matrix-synapse.service
failed to start because it cannot resolvematrix-postgres
to thematrix-postgres
container. From my vars.yml below, if I uncomment the following lines,just setup-all
will complete without any errors:Also added this line so add-on services won't look for
matrix-traefik.service
(my guess is this was not the right way to do it, please correct me if I'm wrong, maybe change thematrix_addons_homeserver_systemd_services_list
variable fromgroup_vars/matrix_servers
?)To Reproduce
My
vars.yml
file looks like this:Expected behavior
just setup-all
completes without error and services continue to work without any issues.Matrix Server:
Ansible:
If your problem appears to be with Ansible, tell us:
Additional context
I was already running Traefik on my own (not managed by playbook) and instructions on completely removing nginx reverse-proxy and migrating everything to Traefik did not work, requires extra steps to get it working, not sure if it's the right way to do it, but it's working for now and Matrix Federation Tester showed all green.
The text was updated successfully, but these errors were encountered: