I returned from holiday to find my hassio was not running and would not respond
Decided to reflash with 0.66.1 and got the splash screen so left it for an hour or more.
However hassio.local:8123 then reported site cannot be reached, so I have ssh into resinOS and extracted the log below with docker logs resin_supervisor
starting version 3.2.4
18-04-03 12:55:35 INFO (MainThread) [__main__] Initialize Hassio setup
18-04-03 12:55:35 INFO (MainThread) [__main__] Setup HassIO
18-04-03 12:55:35 INFO (SyncWorker_0) [hassio.docker.supervisor] Attach to supervisor homeassistant/armhf-hassio-supervisor with version 0.99
18-04-03 12:55:35 INFO (MainThread) [hassio.misc.host_control] Send 'info' to HostControl.
18-04-03 12:55:38 INFO (MainThread) [hassio.misc.host_control] Receive from HostControl: { "type": "resinos", "version": "1.3", "last_version": "1.3", "hostname": "hassio", "features": ["shutdown", "reboot", "update", "hostname"], "os": "GNU/Linux" }.
18-04-03 12:55:38 INFO (SyncWorker_1) [hassio.docker.interface] Attach to image homeassistant/raspberrypi3-homeassistant with version 0.66.1
18-04-03 12:55:38 INFO (MainThread) [hassio.addons.git] Load addon /data/addons/git/a0d7b954 repository
18-04-03 12:55:38 INFO (MainThread) [hassio.addons.git] Load addon /data/addons/core repository
18-04-03 12:55:38 INFO (MainThread) [hassio.addons] Load addons: 32 all - 32 new - 0 remove
18-04-03 12:55:38 INFO (MainThread) [hassio.updater] Fetch update data from https://raw.githubusercontent.com/home-assistant/hassio/master/version.json
18-04-03 12:55:39 INFO (MainThread) [hassio.snapshots] Found 0 snapshot files
18-04-03 12:55:39 INFO (MainThread) [hassio.addons] Startup initialize run 0 addons
18-04-03 12:55:39 INFO (MainThread) [__main__] Run HassIO
18-04-03 12:55:39 INFO (MainThread) [hassio.misc.dns] Start DNS port forwarding for host add-ons
18-04-03 12:55:39 INFO (MainThread) [hassio.core] Ignore Hass.io auto updates on dev channel
18-04-03 12:55:39 INFO (MainThread) [hassio.core] Start API on 172.30.32.2
18-04-03 12:55:39 INFO (MainThread) [hassio.core] Hass.io reboot detected
18-04-03 12:55:39 INFO (MainThread) [hassio.tasks] All core tasks are scheduled
18-04-03 12:55:39 INFO (MainThread) [hassio.core] Hass.io is up and running
18-04-03 12:55:54 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-04-03 12:55:54 INFO (SyncWorker_3) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-04-03 12:56:09 INFO (SyncWorker_3) [hassio.docker.homeassistant] Start homeassistant homeassistant/raspberrypi3-homeassistant with version 0.66.1
18-04-03 13:06:10 WARNING (MainThread) [hassio.homeassistant] Don't wait anymore of Home-Assistant startup!
18-04-03 13:06:24 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-04-03 13:06:24 INFO (SyncWorker_3) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-04-03 13:06:33 INFO (SyncWorker_3) [hassio.docker.homeassistant] Start homeassistant homeassistant/raspberrypi3-homeassistant with version 0.66.1
Which seems to suggest that there is an issue starting homeassistant.
I can see there is the end of what looks like an error, but how to get the start of the message to find the cause ?
root@hassio:/# docker logs homeassistant
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.6/site-packages/homeassistant/__main__.py", line 371, in <module>
sys.exit(main())
File "/usr/lib/python3.6/site-packages/homeassistant/__main__.py", line 346, in main
args = get_arguments()
File "/usr/lib/python3.6/site-packages/homeassistant/__main__.py", line 84, in get_arguments
import homeassistant.config as config_util
File "/usr/lib/python3.6/site-packages/homeassistant/config.py", line 25, in <module>
from homeassistant.util.yaml import load_yaml, SECRET_YAML
File "/usr/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 11, in <module>
import keyring
File "/usr/lib/python3.6/site-packages/keyring/__init__.py", line 3, in <module>
from .core import (set_keyring, get_keyring, set_password, get_password,
File "/usr/lib/python3.6/site-packages/keyring/core.py", line 13, in <module>
from . import backend
File "/usr/lib/python3.6/site-packages/keyring/backend.py", line 12, in <module>
import pkg_resources
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3017, in <module>
@_call_aside
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3003, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3030, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 650, in _build_master
ws = cls()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 643, in __init__
self.add_entry(entry)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 699, in add_entry
for dist in find_distributions(entry, True):
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2023, in find_on_path
path_item, entry, metadata, precedence=DEVELOP_DIST
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2432, in from_location
py_version=py_version, platform=platform, **kw
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2772, in _reload_version
md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2397, in _version_from_file
line = next(iter(version_lines), '')
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2565, in _get_metadata
for line in self.get_metadata_lines(name):
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1471, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1468, in get_metadata
return value.decode('utf-8') if six.PY3 else value
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe3 in position 3: invalid continuation byte
Any help much appreciated !
Kev