Files
.config
.github
bin
collections
docs
examples
group_vars
roles
custom
matrix-alertmanager-receiver
matrix-appservice-double-puppet
matrix-appservice-draupnir-for-all
matrix-base
matrix-bot-buscarron
matrix-bot-chatgpt
matrix-bot-draupnir
matrix-bot-go-neb
matrix-bot-honoroit
matrix-bot-matrix-registration-bot
matrix-bot-matrix-reminder-bot
matrix-bot-maubot
matrix-bot-mjolnir
matrix-bot-postmoogle
matrix-bridge-appservice-discord
matrix-bridge-appservice-irc
matrix-bridge-appservice-kakaotalk
matrix-bridge-appservice-slack
matrix-bridge-appservice-webhooks
matrix-bridge-beeper-linkedin
matrix-bridge-go-skype-bridge
matrix-bridge-heisenbridge
matrix-bridge-hookshot
matrix-bridge-mautrix-discord
matrix-bridge-mautrix-facebook
matrix-bridge-mautrix-gmessages
matrix-bridge-mautrix-googlechat
matrix-bridge-mautrix-hangouts
matrix-bridge-mautrix-instagram
matrix-bridge-mautrix-meta-instagram
matrix-bridge-mautrix-meta-messenger
matrix-bridge-mautrix-signal
matrix-bridge-mautrix-slack
matrix-bridge-mautrix-telegram
matrix-bridge-mautrix-twitter
matrix-bridge-mautrix-whatsapp
matrix-bridge-mautrix-wsproxy
matrix-bridge-mx-puppet-discord
matrix-bridge-mx-puppet-groupme
matrix-bridge-mx-puppet-instagram
matrix-bridge-mx-puppet-slack
matrix-bridge-mx-puppet-steam
matrix-bridge-mx-puppet-twitter
matrix-bridge-sms
matrix-bridge-wechat
matrix-cactus-comments
matrix-cactus-comments-client
matrix-client-cinny
matrix-client-element
matrix-client-hydrogen
matrix-client-schildichat
matrix-common-after
matrix-conduit
matrix-corporal
matrix-coturn
matrix-dendrite
matrix-dimension
matrix-dynamic-dns
matrix-email2matrix
matrix-ldap-registration-proxy
matrix-ma1sd
matrix-media-repo
matrix-pantalaimon
matrix-prometheus-nginxlog-exporter
matrix-prometheus-services-connect
matrix-rageshake
matrix-registration
matrix-sliding-sync
matrix-static-files
matrix-sygnal
matrix-synapse
matrix-synapse-admin
matrix-synapse-auto-compressor
matrix-synapse-reverse-proxy-companion
matrix-synapse-usage-exporter
matrix-user-creator
defaults
tasks
util
main.yml
setup.yml
vars
matrix-user-verification-service
matrix_playbook_migration
.editorconfig
.envrc
.gitattributes
.gitignore
.yamllint
CHANGELOG.md
LICENSE
Makefile
README.md
YEAR-IN-REVIEW.md
ansible.cfg
flake.lock
flake.nix
jitsi_jvb.yml
justfile
requirements.yml
setup.yml
Slavi Pantaleev 74bb812739 Revert "Make use of the new --exists-ok flag for register_new_matrix_user"
This reverts commit 752de4406e.

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3393

When running the playbook against an existing server, it invokes `register_new_matrix_user`
as part of the `matrix-user-creator` role, which runs before the
`systemd_service_manager`. At that time, `matrix-user-creator` detects
that Synapse is up (from before), but it's the old version. Services have not yet been
restarted, so it's actually the older Synapse version that is up, not
the new one. The old version does not support the `--exists-ok` flag yet.

Basically, this `--exists-ok` patch landed too early and has affected existing playbook
users that have an older version of Synapse in operation.

It will be safer to bring back this patch some time in the future.
However, users upgrading from Synapse <= v1.109.0 even long into the
future will bump into the same issue. As such, it would be better to
either add special handling or to delay bringing back this patch enough
so as to ensure everyone using the playbook is on Synapse >= 1.110.0.
2024-07-04 13:56:47 +03:00
..