Closed RoiArthurB closed 1 year ago
postmoogle doesn't require any ssl certs to run, but playbook is configured to automatically add ssl certs into postmoogle when possible.
Just add the following to you vars.yml to override the playbook's defaults:
matrix_bot_postmoogle_tls_cert: ''
matrix_bot_postmoogle_tls_key: ''
Hi @etkecc
I just added your fix to my vars.yml, but it didn't fix it... :/
# @postmoogle:DOMAIN
matrix_bot_postmoogle_enabled: true
#matrix_bot_postmoogle_container_image_self_build: true
matrix_bot_postmoogle_password: XXX
matrix_bot_postmoogle_admins:
- '@YYY:{{ matrix_domain }}'
# https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2819#issuecomment-1680086276
matrix_bot_postmoogle_tls_cert: ''
matrix_bot_postmoogle_tls_key: ''
matrix_bot_postmoogle_environment_variables_extension: |
POSTMOOGLE_TLS_REQUIRED=false
Aug 16 19:07:19 DietPi systemd[1]: matrix-bot-postmoogle.service: Scheduled restart job, restart counter is at 6.
Aug 16 19:07:19 DietPi systemd[1]: Stopped matrix-bot-postmoogle.service - Matrix Postmoogle bot.
Aug 16 19:07:19 DietPi systemd[1]: Starting matrix-bot-postmoogle.service - Matrix Postmoogle bot...
Aug 16 19:07:19 DietPi systemd[1]: Started matrix-bot-postmoogle.service - Matrix Postmoogle bot.
Aug 16 19:07:20 DietPi matrix-bot-postmoogle[3307961]: docker: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /matrix/traefik-certs-dumper/dumped-certificates.
Aug 16 19:07:20 DietPi matrix-bot-postmoogle[3307961]: See 'docker run --help'.
Aug 16 19:07:20 DietPi systemd[1]: matrix-bot-postmoogle.service: Main process exited, code=exited, status=125/n/a
Aug 16 19:07:20 DietPi systemd[1]: matrix-bot-postmoogle.service: Failed with result 'exit-code'.
Well, that's another thing. You need to disable that mount - check group vars and postoogle role defaults to find the var name. The idea is the same - pass the empty value (iirc, it's an array, not string)
Thanks for your help @etkecc !
I succeeded to have it running with these settings ! :hugs:
matrix_bot_postmoogle_enabled: true
matrix_bot_postmoogle_password: XXX
matrix_bot_postmoogle_admins:
- '@YYY:{{ matrix_domain }}'
# https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2819#issuecomment-1680086276
matrix_bot_postmoogle_tls_cert: ''
matrix_bot_postmoogle_tls_key: ''
matrix_bot_postmoogle_ssl_path: ''
#matrix_bot_postmoogle_environment_variables_extension: |
# POSTMOOGLE_TLS_REQUIRED=false
Describe the bug I'm currently fronting my rapberry pi install with a Caddy instance hosted on a VPS. The problem I have is that Postmoogle requires grabbing the SSL certificate, which isn't accessible from my rasp...
All the fronting process does follow this repo's practice recommandation ( https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/ccebbc07ca2ab931adde9e8fb12306949d0b6d2d/examples/caddy2/README.md )
To Reproduce My
vars.yml
file looks like this:Expected behavior Install Postmoogle without TLS if HTTPS is disable
Also, the installation was working all fine up to the starting check step. It might be great to highlight this potential problem in the documentation and/or in the ansible execution
Matrix Server:
Ansible: If your problem appears to be with Ansible, tell us:
ansible --version
)Additional context
Might be somehow related to #2613