geerlingguy / internet-pi

Raspberry Pi config for all things Internet.
MIT License
4.29k stars 449 forks source link

TASK [Ensure internet-monitoring environment is running.] - FAILED #585

Closed criiiiiiii closed 2 weeks ago

criiiiiiii commented 6 months ago

I get though the entire setup process until I run ansible-playbook main.yml at which point I error out on the last task. TASK [Ensure internet-monitoring environment is running.]

fatal: [127.0.0.1]: FAILED! => {"actions": [{"id": "grafana", "status": "Pulling", "what": "service"}, {"id": "nodeexp", "status": "Pulling", "what": "service"}, {"id": "speedtest", "status": "Pulling", "what": "service"}, {"id": "prometheus", "status": "Pulling", "what": "service"}, {"id": "ping", "status": "Pulling", "what": "service"}], "changed": false, "cmd": "/usr/bin/docker compose --ansi never --progress plain --project-directory /home/admin/internet-monitoring/ up --detach --no-color --quiet-pull --no-build --", "containers": [], "images": [], "msg": "Error when processing speedtest: Error\nError when processing nodeexp: Error\nError when processing grafana: Error\nError when processing prometheus: Error\nError when processing ping: Error response from daemon: Get "https://registry-1.docker.io/v2/\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)", "rc": 18, "stderr": " grafana Pulling \n nodeexp Pulling \n speedtest Pulling \n prometheus Pulling \n ping Pulling \n speedtest Error \n nodeexp Error \n grafana Error \n prometheus Error \n ping Error \nError response from daemon: Get "https://registry-1.docker.io/v2/\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)\n", "stderr_lines": [" grafana Pulling ", " nodeexp Pulling ", " speedtest Pulling ", " prometheus Pulling ", " ping Pulling ", " speedtest Error ", " nodeexp Error ", " grafana Error ", " prometheus Error ", " ping Error ", "Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"], "stdout": "", "stdout_lines": []}

PLAY RECAP ***** 127.0.0.1 : ok=10 changed=1 unreachable=0 failed=1 skipped=8 rescued=0 ignored=0

martinbrose commented 6 months ago

Hi @criiiiiiii,

have you had a look at related closed issues: https://github.com/geerlingguy/internet-pi/issues?q=is%3Aissue+is%3Aclosed+Ensure+internet-monitoring+environment+is+running?

It would be helpful if you could post details about your setup, for example, which version of Raspberry Pi or Ubuntu are you using.

You could also go into the internet-monitoring folder (in the install location) and run a docker-compose up. That might give you more error details.

AdamKacenjar commented 6 months ago

Martin,

Thanks for reaching out and your help. I did a better review of closed issues, at your suggestion and was inspired to try adding my user to the Docker group. This worked and solved the problem! I'll update the discussion thread for others to find.

Thanks again!

Best,

Adam

On Sun, Mar 10, 2024 at 4:47 PM Martin Brose @.***> wrote:

Hi @criiiiiiii https://github.com/criiiiiiii,

have you had a look at related closed issues: https://github.com/geerlingguy/internet-pi/issues?q=is%3Aissue+is%3Aclosed+Ensure+internet-monitoring+environment+is+running ?

It would be helpful if you could post details about your setup, for example, which version of Raspberry Pi or Ubuntu are you using.

You could also go into the internet-monitoring folder (in the install location) and run a docker-compose up. That might give you more error details.

— Reply to this email directly, view it on GitHub https://github.com/geerlingguy/internet-pi/issues/585#issuecomment-1987357132, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGZ4EBF64GDH37JJ3FSFLRDYXTBD3AVCNFSM6AAAAABELXTLKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGM2TOMJTGI . You are receiving this because you commented.Message ID: @.***>

github-actions[bot] commented 2 months ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

github-actions[bot] commented 2 weeks ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.