-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Influxdb does not work properly after reboot #18094
Comments
This is not a Homeassistant bug, try changing the boot order. |
That may help, but it's still a bug. What if the network is simply down at the time the device boots? For example, after a power outage, the Raspberry Pi boots faster than the router (which is the case for me), or simply the internet connection is down, or the Influxdb server is temporarily down, then Home Assistant should retry connecting once it comes up. It should not require a Hass restart. For other kinds of errors, such as an authentication error, it is reasonable to give up, as that is unlikely to be fixed automatically. But a connection error often does get fixed. |
On the "should retry" note. I was trying out InfluxDB on 0.84.6 yesterday. When I restarted the InfluxDB service, Home Assistant logged a failure of the connection, and then never retried the connection. Until I restarted Home Assistant 20 minutes later, no new data arrived in InfluxDB. |
Is this still an issue you are experiencing? Can you please try upgrading to the latest version of Home Assistant (0.90) and report back if this is still a problem? Thanks! |
I have updated today to 0.90.1 and can confirm this is still an issue. Once every 20 reboots InfluxDB works here. any help with this is greatly appreciated. |
looks like this is being worked on in #22567 |
Doesn't seem to be resolved by #22567, as i'm running 0.93.1, and it has the same issue
Both in master and dev it looks the same. It seems the PR was reverted? |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
This still occurs for me on the latest version 0.97.2 |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Home Assistant release with the issue:
0.81.2
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Raspberry Pi
Component/platform:
Influxdb
Description of problem:
I am using Home Assistant from Raspberry Pi. When I boot the machine, Hass starts up, but I get a warning on the FE that the Influxdb component failed to initialize. After restarting Hass, it works.
My theory is that it can be because Hass starts before the network is set up, and if Influxdb cannot be initialized at first try, then it gives up instead of retrying later.
The text was updated successfully, but these errors were encountered: