Closed nykula closed 2 days ago
I recovered Synapse by completely removing Akkoma, removing leftover permissions from failed Synapse backup restoration, and restoring the Synapse backup again.
However, the issue with corruption of secrets with &
during backup/restore remains.
Closing as it should be fixed now with last release.
Describe the bug
I tried upgrading from 1.77 to 1.79, the upgrade failed, automatic restoration of the pre-upgrade backup also failed, and I no longer see Synapse in the list of applications.
Moreover, form_secret in apps/synapse/backup/etc/matrix-synapse/homeserver.yaml from the pre-upgrade backup seems corrupted, with
__FORM_SECRET__
appearing in place of every&
in the secret. I think this command from the log was responsible for this:Context
user@example.org
mail,@user:example.org
chats and@user@example.org
social identifiers.Steps to reproduce
I went to the updates page in the YunoHost web UI, let it update applications including Synapse, and got an error.
Logs
I tried the automatic YunoPaste, but I see multiple leaks of macaroon_secret_key and form_secret and registration_shared_secret in the log so I won't publicly post the original paste.yunohost.org link, only a copy where I manually replace my values with
<REDACTED>
: https://paste.yunohost.org/raw/ivayobipux