Comments (14)
Turns out the problem was actually Pi Hole. Pie hole was blocking grafana. As soon as I whitelisted in Pi hole everything started working.
from internet-pi.
Hi @wheeler01 ,
a few questions in order to help you:
-
You are stating you made some changes. What changes exactly are you referring to? What do you want to achieve?
-
Has everything been running ok before you made the changes?
-
Could you please share your current
main.yml
? -
Could you please run
docker ps
and share the output? This will establish if your grafana docker is running and on which port it is listening.
Thanks
from internet-pi.
-
The changes I referred to aren't relevant to internet pi. The changes are relevant to homebridge which is also installed on the pi I have a default installation of internet pi except changing configuration variables to match my configuration.
-
After first installing internet pi everything ran fine. I had to reboot the pi due to some software updates. Pi hole is still runnin, homebridge is still running, internet pi appears to be running but the web interface is not available.
-
My main.yml is attached.
main_yml.txt -
Docker ps is attached. docker ps output.txt
Thank you.
from internet-pi.
Hi @wheeler01,
had a very quick look at your docker ps
output and it looks like your Grafana docker container has a problem. Possibly constantly restarting...
Could you do a docker logs container_id
, changing the container_id with the container id of your Grafana docker container?
And also, which Raspberry Pi version are you using? You might need to specify a previous version. I believe they sometimes miss or drop a specific architecture. So that could also be the problem.
Thanks
from internet-pi.
When running docker run grafana/grafana it attempts to start but errors out throwing this:
logger=grafana.update.checker t=2024-05-13T15:01:20.556342358Z level=error msg="Update check failed" error="failed to get stable version from grafana.com: Get "https://grafana.com/api/grafana/versions/stable\": dial tcp: lookup grafana.com: i/o timeout" duration=10.00194632s
When running docker logs it returns a wall of this error:
Error: ✗ Get "https://grafana.com/api/plugins/flant-statusmap-panel/versions": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
from internet-pi.
Looks like a weird grafana upgrade problem.
I would recommend you:
- Stop the internet-monitoring with
docker-compose down
- Remove the grafana container
- Prune the old grafana container
- Start the internet-monitoring with
docker-compose up
, which should download grafana again and set it up from scratch without any upgrade.
I hope that helps...
from internet-pi.
I am not extremely familiar with docker. I do not know how to do steps #2 and #3. Can you offer any advice or assistance?
from internet-pi.
Sure, no problem:
-
Remove the container with
docker rm container_id
, replacing the container_id with the one from the Grafana container -
Prune the container and volumes with
docker system prune --volumes
from internet-pi.
Hi @wheeler01,
thanks for sharing the solution.
Tbh, this didn't even cross my mind. ;)
Glad it's solved! Enjoy!
from internet-pi.
Maybe one last bit: would you mind sharing the Grafana host that was blocked? It just seems so strange...
from internet-pi.
@martinbrose according to this update it looks like it couldn't resolve grafana.com
, ie, dial tcp: lookup grafana.com: i/o timeout
.
As the classic haiku goes:
It's not DNS
There's no way it's DNS
It was DNS
🙂
from internet-pi.
Turns out the problem was actually Pi Hole. Pie hole was blocking grafana. As soon as I whitelisted in Pi hole everything started working.
@wheeler01 What domains did you add to your Pi-Hole whitelist? I seem to be having this same error and I cannot figure out how to fix it.
from internet-pi.
I would also like to know. I am having the same issue.
from internet-pi.
I would also like to know. I am having the same issue.
@aeburnett Just located this through Google, and it resolved (no pun intended) my issue.
#349 (comment)
from internet-pi.
Related Issues (20)
- Angular deprecation affects 'Node Exporter' Grafana dashboard HOT 9
- TypeError: run_command() got an unexpected keyword argument 'ignore_invalid_cwd' HOT 3
- TASK [Ensure internet-monitoring environment is running.] HOT 2
- wrong measurements? HOT 1
- Unable to connect [ip_address]/admin HOT 12
- Grafana public dashboard - Internal server error HOT 2
- Getting error when updating or recomposing grafana HOT 1
- Speedtest container unhealthy HOT 7
- Panel plugin not found: flant-statusmap-panel HOT 11
- The Statusmap plugin has been deprecated and is no longer maintained. HOT 2
- [Ensure internet-monitoring environment is running.] - task fails
- TASK [Ensure internet-monitoring environment is running. HOT 2
- Internet pi Reg. HOT 1
- Internet pi -Reg. HOT 1
- Docker Compose file 'version' attribute is obsolete, apparently HOT 2
- python3-apt missing HOT 5
- Error when running ansible-playbook main.yml HOT 1
- Pi drops IPv4 address after DHCP lease expires HOT 3
- No airgradient dashboard after install even though ansible-playbook says dashboard was copied HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from internet-pi.