From bac0f7546a16b9cb54490ddf8738a222d862d305 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Wed, 11 Dec 2024 09:32:12 +0200 Subject: [PATCH] Fix Hookshot encryption-resetting Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3868 Related to https://github.com/matrix-org/matrix-hookshot/issues/730 --- .../matrix-bridge-hookshot/tasks/reset_encryption.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/custom/matrix-bridge-hookshot/tasks/reset_encryption.yml b/roles/custom/matrix-bridge-hookshot/tasks/reset_encryption.yml index 5d3b7506d..11a131ff6 100644 --- a/roles/custom/matrix-bridge-hookshot/tasks/reset_encryption.yml +++ b/roles/custom/matrix-bridge-hookshot/tasks/reset_encryption.yml @@ -1,5 +1,7 @@ --- +# `yarn start:resetcrypto` fails, as described here: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3868 +# Also related to: https://github.com/matrix-org/matrix-hookshot/issues/730 - name: Resetting Hookshot's crypto store ansible.builtin.command: cmd: | @@ -8,7 +10,7 @@ --name={{ matrix_hookshot_identifier }}-reset-crypto --user={{ matrix_user_uid }}:{{ matrix_user_gid }} --cap-drop=ALL - --mount type=bind,src={{ matrix_hookshot_base_path }}/config.yml,dst=/config.yml + --mount type=bind,src={{ matrix_hookshot_base_path }},dst=/data {{ matrix_hookshot_docker_image }} - yarn start:resetcrypto + node --require source-map-support/register /usr/bin/matrix-hookshot/App/ResetCryptoStore.js changed_when: true