sdbruijn
(Steven de Bruijn)
December 26, 2021, 9:14am
1
Hello Everyone.
I started using home assistant 2 weeks ago. configured a few devices, and looking very interesting.
I’ve installed the home assistant OS on a RPI3. Only addons i’ve installed is duckdns and Studio Code Server.
Now i ran into an issue; like every other day, the GUI becomes unreachable. to be more clear; I can ping the local IP address, but cannot reach it in my browser anymore, not via duckdns, not via the local IP.
This happens, in my opinion, completely random. without me changing something. this morning i woke up, and couldn’t reach it anymore, while it was working last night.
Good thing is, i can solve the issue by unplugging the powersupply, and plug it back in. than in a few minutes HA is back online.
I found the logbook under settings, but problem is that everything that is shown there is since the last power up…
Does anyone know how to solve this problem? or how i can look further back in the logbook?
Thanks in advance!
nickrout
(Nick Rout)
December 26, 2021, 9:18am
2
Sounds like a deteriorating SD card (or SSD). Unplugging will not help if that is the case.
sdbruijn
(Steven de Bruijn)
December 26, 2021, 9:19am
3
Thanks for your response. I’ve had this issue like 5 or 6 times already. and everytime i was able to restore it by just power off and power on the rpi again…
nickrout
(Nick Rout)
December 26, 2021, 9:26am
4
If your SD card is dying, then switching off and on will just make it worse.
Do a backup and store it off the SD card.
sdbruijn
(Steven de Bruijn)
December 26, 2021, 10:00am
5
I have a backup on my laptop already.
I’ve used a brandnew class 10 SD card, but anyway, i can try to clone it to another SD card see if that helps.
nickrout
(Nick Rout)
December 26, 2021, 10:05am
6
Pull the sd card out. Put it in your every day computer and fsck the sd sard.
sdbruijn
(Steven de Bruijn)
December 27, 2021, 7:11am
7
I don’t have access to an linux system, so cant do the fsck command. So i tried chkdsk under windows. unfortunately that didn’t work, i got an message that the sd card contained raw data, and becauseof that chkdsk didn’t work.
any other idea’s?
nickrout
(Nick Rout)
December 27, 2021, 8:01am
8
Run a linux live system from a usb stick.
zoogara
(Daryl)
December 27, 2021, 8:07am
9
Double check your power supply too. If you have a good quality 2.4A 5V supply (a Samsung or Apple genuine 12W charger) try that.
If you already have a genuine rPi power supply or at least a good one - then yes it may be your SD card.
sdbruijn
(Steven de Bruijn)
December 27, 2021, 2:47pm
11
I just got a new SD card, so i will try if that solves it. The power supply is a decent one. but if the new SD card also fails, i will swap that as well, i have a spare one laying around here.
thanks for the replies!
sdbruijn
(Steven de Bruijn)
December 29, 2021, 7:45pm
12
unfortunate the new SD card did not solve it… After two days without problems, the gui just disappears. it was working, and i was just looking into some sensor values, and i hit refresh and i becomes unreachable.
Also i noticed something. The raspberry is connected via USB with the power meter of my home. Every second a green light lits up on the usb converter when HA reads the values. when the gui was crashed, the green light stopped blinking, which might indicate that HA is not running anymore…
Anyway, i swapped the power supply to a decent 5.1V 3A, which was running the raspberry pi 4 of my 3d printer without any problems. Will see if that makes anything better for HA, or that my 3d printer starts crashig now
sdbruijn
(Steven de Bruijn)
January 3, 2022, 8:58pm
13
Bad news here… Even another power supply did not solve the problem…
But i found this post on github; exactly descriping my problem, found the same messages in my log.
opened 11:29AM - 13 Nov 21 UTC
bug
### Describe the issue you are experiencing
After a session of updating and add… ing new add-ons the Supervisor integration appears to have failed altogether or has become unusable. I am currently unable to access the Supervisor tab in the main UI, nor access any add-ons although it appears that previous installed, configured and started add-ons are still active in the background.
The response is intermittent in the sense that attempting to access to Supervisor tab will at times either:
-and predominately display a blank screen; or
-infrequently display a "Could not load the Supervisor panel!" banner and 'Troubleshooting' menu; and
-on one occasion displayed the Supervisor panel 'dashboard', 'add-ons' and 'system' tabs but the content is unresponsive.
A small portion of the main Home Assistant log lists the following warning and error reports:
```
2021-11-13 19:14:37 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
2021-11-13 19:15:27 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /core/stats request
2021-11-13 19:15:27 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /core/stats -
2021-11-13 19:15:27 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/stats request
2021-11-13 19:15:27 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /supervisor/stats -
2021-11-13 19:17:36 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /backups/reload request
2021-11-13 19:17:36 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /backups/reload -
2021-11-13 19:19:11 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /addons/a0d7b954_vscode/install - 'AddonManager.install' blocked from execution, no host internet connection
2021-11-13 19:19:36 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /addons/a0d7b954_vscode/install - 'AddonManager.install' blocked from execution, no host internet connection
2021-11-13 19:19:49 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/a0d7b954_appdaemon/stats request
2021-11-13 19:19:49 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/a0d7b954_grocy/stats request
2021-11-13 19:19:49 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/7be23ff5_dropbox_sync/stats request
2021-11-13 19:19:49 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/a0d7b954_grafana/stats request
2021-11-13 19:19:49 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/a0d7b954_ssh/stats request
2021-11-13 19:19:49 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/core_samba/stats request
2021-11-13 19:19:49 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/a0d7b954_esphome/stats request
2021-11-13 19:19:49 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/a0d7b954_influxdb/stats request
2021-11-13 19:19:49 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/a0d7b954_nodered/stats request
2021-11-13 19:19:49 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/a0d7b954_chrony/stats request
2021-11-13 19:19:49 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/a0d7b954_nginxproxymanager/stats request
2021-11-13 19:19:49 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/core_configurator/stats request
2021-11-13 19:19:49 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/a0d7b954_logviewer/stats request
2021-11-13 19:19:49 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/a0d7b954_phpmyadmin/stats request
2021-11-13 19:19:49 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/core_mariadb/stats request
2021-11-13 19:19:49 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/core_mosquitto/stats request
2021-11-13 19:19:49 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
2021-11-13 19:20:17 ERROR (MainThread) [homeassistant.components.hassio.http] Client timeout error on API request supervisor/logs
2021-11-13 19:20:17 ERROR (MainThread) [homeassistant.components.hassio.http] Client timeout error on API request supervisor/logs
2021-11-13 19:20:27 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /core/stats request
2021-11-13 19:20:27 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /core/stats -
2021-11-13 19:20:27 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/stats request
2021-11-13 19:20:27 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /supervisor/stats -
```
A fuller log can be found here: [https://pastebin.com/5vN8PPeq](url)
### What is the used version of the Supervisor?
supervisor-2021.10.8
### What type of installation are you running?
Home Assistant OS
### Which operating system are you running on?
Home Assistant Operating System
### What is the version of your installed operating system?
6.6
### What version of Home Assistant Core is installed?
core-2021.11.3
### Steps to reproduce the issue
1. Its permanent at the moment.
2. Followed the steps in the trouble shooting menu:
Result of `Home Assistant Observer
Supervisor: Connected
Supported: Unsupported
Healthy: Unhealthy`
3. Was forced to pull the power connection out to effect a reboot.
4. No change following reboot.
...
### Anything in the Supervisor logs that might be useful for us?
```txt
Am unable to access the Supervisor log. The error reported is:
Failed to get supervisor logs, 502: Bad Gateway
```
### Additional information
_No response_
Hopefully someone has an solution there!
nickrout
(Nick Rout)
January 4, 2022, 5:13am
14
There is a solution there, did it work?
sdbruijn
(Steven de Bruijn)
January 13, 2022, 8:33pm
15
I’ve swapped the pi3 to an pi4 with 8gb ram. Adding the extra RAM solved the problem for me.
thanks all for helping
nickrout
(Nick Rout)
January 14, 2022, 5:54am
16
Shame you didn’t try the suggested fix.
sdbruijn
(Steven de Bruijn)
January 17, 2022, 7:56pm
17
You mean the core rebuild, supervisor repair? I’ve tried that, without succes.
nickrout
(Nick Rout)
January 18, 2022, 8:35am
18
Thanks for finally reporting back