So after many fun nights, I have hass.io running under docker on a Ubuntu 16.04.3 LTS vm under ESXi, even got zwave and node-red running and it is fantastic and super fast!! Buuuuut I have a few issues that probably trace back to my docker inexperience. I am a little better now than when I set it up, but I think I have some cleanup to do… hass.io and all addons updated to latest version.
I know it is a lot, any pointers is greatly appreciated though!
So my concerns/problems…
-
HA is not stable. It will become unresponsive every 3-4 days and I need to do a docker restart on the HA container. Supervisor does not restart it. I can’t figure out why this happens - mostly see the below error in the log.
-
I did not create a specific volume when I initially made the HA container. Not sure if this is a problem, but would like to somehow fix as well…
-
I have this error recurring in the log - not sure if related to instability?
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py”, line 224, in async_update_ha_state
yield from self.async_device_update()
File “/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py”, line 353, in async_device_update
yield from self.hass.async_add_job(self.update)
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/bitcoin.py”, line 120, in update
self.data.update()
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/bitcoin.py”, line 184, in update
self.stats = statistics.get()
File “/usr/local/lib/python3.6/site-packages/blockchain/statistics.py”, line 20, in get
response = util.call_api(resource)
File “/usr/local/lib/python3.6/site-packages/blockchain/util.py”, line 26, in call_api
response = urlopen(base_url + resource, payload, timeout=TIMEOUT).read()
File “/usr/local/lib/python3.6/urllib/request.py”, line 223, in urlopen
return opener.open(url, data, timeout)
File “/usr/local/lib/python3.6/urllib/request.py”, line 526, in open
response = self._open(req, data)
File “/usr/local/lib/python3.6/urllib/request.py”, line 544, in _open
‘_open’, req)
File “/usr/local/lib/python3.6/urllib/request.py”, line 504, in _call_chain
result = func(*args)
File “/usr/local/lib/python3.6/urllib/request.py”, line 1361, in https_open
context=self._context, check_hostname=self._check_hostname)
File “/usr/local/lib/python3.6/urllib/request.py”, line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Try again>
2018-09-06 01:00:09 WARNING (SyncWorker_2) [homeassistant.components.binary_sensor.uptimerobot] Failed to get new state
- I did not setup any specific users to run HA, so I am sudo’ing a lot… The VM is for HA exclusively, so not super worried about other apps etc, but still… Cant really use smb for instance because a lot of files have root req to edit.
Screenshot from Portainer:
hassio container:
Be gentle and thanks in advance for any guidance!