spantaleev / matrix-docker-ansible-deploy

🐳 Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker
GNU Affero General Public License v3.0
4.76k stars 1.03k forks source link

Setup/Upgrade fails with grafana enabled #2288

Closed lemmy04 closed 1 year ago

lemmy04 commented 1 year ago

Describe the bug I'm running the play (git checkout as of a couple minutes ago) with --tags=setup-all and it fails to pull grafana:

TASK [custom/matrix-grafana : Ensure matrix-grafana image is pulled] ***** FAILED - RETRYING: [matrix.eregion.de]: Ensure matrix-grafana image is pulled (10 retries left). FAILED - RETRYING: [matrix.eregion.de]: Ensure matrix-grafana image is pulled (9 retries left).

To Reproduce My vars.yml file looks like this: (only grafana parts)

lemmy@kumiko:~/Work/matrix.eregion.de/matrix-docker-ansible-deploy/inventory/host_vars> grep -i grafa matrix.eregion.de/*
matrix_grafana_enabled: true
matrix_grafana_anonymous_access: false
matrix_grafana_default_admin_user: "xxx"
matrix_grafana_default_admin_password: "xxx"

I'm running the play as usual: ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,ensure-matrix-users-created,start

Expected behavior Last time I re-ran the play it still worked... now it doesn't.

Matrix Server:

Workaround: disable grafana in vars.yml, that way I at least have my matrix server up and running ;)

spantaleev commented 1 year ago

I can't reproduce this. Maybe Docker Hub was down for you? Maybe you've gotten rate-limited by Docker Hub due to pulling too many things in a short amount of time? Maybe you're having network troubles?

lemmy04 commented 1 year ago

It must have been a network glitch or maybe i had been downrated - tried it now, and this time it worked. funny tho, all other images pulled just fine...