matrix-docker-ansible-deploy
matrix-docker-ansible-deploy copied to clipboard
ma1sd fails to build when architecture is ARM64
ma1sd fails to build when the architecture is set to ARM64. It first throws "detected dubious ownership in repository" when checking the folder, then when #2008 is done (both git config --global --add safe.directory /matrix/docker-src/dimension
& this), it thinks its pulled but then fails on "Ensure ma1sd Docker image is tagged correctly".
To Reproduce
Enable ma1sd module on an ARM64 based server
My vars.yml
file looks like this:
matrix_domain: domain.tld
matrix_homeserver_implementation: synapse
matrix_homeserver_generic_secret_key: 'redacted'
matrix_ssl_lets_encrypt_support_email: '[email protected]'
matrix_postgres_connection_password: 'redacted'
matrix_architecture: arm64
matrix_synapse_admin_enabled: true
matrix_nginx_proxy_base_domain_serving_enabled: true
matrix_ma1sd_enabled: true
matrix_ma1sd_matrixorg_forwarding_enabled: true
Expected behavior A clear and concise description of what you expected to happen. ma1sd should build with no errors
Matrix Server:
- Oracle Cloud Platform, Sao Pablo
- OS: Ubuntu 22.04.1 LTS aarch64 provided by Oracle
- Architecture: arm64
Additional context Add any other context about the problem here.
This issue has already been mentioned with a fix on #1440, I did that, cleaned the docker build folders (find /matrix -maxdepth 2 -name 'docker-src' | xargs rm -rf
), re-run the main script again, and it worked. (not built???? this ansible thing is confusing)
So.. there is no issue in the end?
Perhaps you did not see and do this thing mentioned in the changelog: https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/CHANGELOG.md#compatibility-break-changes-to-docker-src-permissions-necessitating-manual-action
I mean, the changelog "fix" didn't worked and it isn't even mentioned on the supported architectures page. I think it should at least be mentioned there, and if possible add the fix on #1440 either there or on the yaml files for ma1sd.
Yeah. I just ran into this bug on a fresh build of a working, deployed config. Have arm64 m6g.large image on AWS and ma1sd chokes up. I do need ma1sd too, as I do SMS/email 2FA verification for account registrations.
Can reproduce on Ubuntu 22.04 LTS on arm64 with a fresh install. Selfbuilding fails. Manually forcing to pull image works.