HASSIO Docker @ Synology - Crash

Boas,

Gostava da vossa ajuda para perceber o que está a causar o crash do meu container homeassistant (hassio) em Docker, este encontra-se na última versão.

Últimas ações alguma até revertidas mas sem qualquer impacto:

  1. update do Hassio
  2. update python package synology
  3. instalação do hacs
  4. Integrar PI-HOLE
  5. Intergrar Shelly for HACS
  File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 61, in load_yaml,
    return yaml.load(conf_file, Loader=SafeLineLoader) or OrderedDict(),
  File "/usr/local/lib/python3.8/site-packages/yaml/__init__.py", line 114, in load,
    return loader.get_single_data(),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 51, in get_single_data,
    return self.construct_document(node),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 55, in construct_document,
    data = self.construct_object(node),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 100, in construct_object,
    data = constructor(self, node),
  File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 192, in _ordered_dict,
    nodes = loader.construct_pairs(node),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 154, in construct_pairs,
    key = self.construct_object(key_node, deep=deep),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 100, in construct_object,
    data = constructor(self, node),
  File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 271, in secret_yaml,
    secrets = _load_secret_yaml(secret_path),
  File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 248, in _load_secret_yaml,
    secrets = load_yaml(secret_path),
  File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 61, in load_yaml,
    return yaml.load(conf_file, Loader=SafeLineLoader) or OrderedDict(),
  File "/usr/local/lib/python3.8/site-packages/yaml/__init__.py", line 114, in load,
    return loader.get_single_data(),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 51, in get_single_data,
    return self.construct_document(node),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 55, in construct_document,
    data = self.construct_object(node),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 100, in construct_object,
    data = constructor(self, node),
  File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 192, in _ordered_dict,
    nodes = loader.construct_pairs(node),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 154, in construct_pairs,
    key = self.construct_object(key_node, deep=deep),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 100, in construct_object,
    data = constructor(self, node),
  File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 271, in secret_yaml,
    secrets = _load_secret_yaml(secret_path),
  File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 248, in _load_secret_yaml,
    secrets = load_yaml(secret_path),
  File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 61, in load_yaml,
    return yaml.load(conf_file, Loader=SafeLineLoader) or OrderedDict(),
  File "/usr/local/lib/python3.8/site-packages/yaml/__init__.py", line 114, in load,
    return loader.get_single_data(),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 51, in get_single_data,
    return self.construct_document(node),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 55, in construct_document,
    data = self.construct_object(node),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 100, in construct_object,
    data = constructor(self, node),
  File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 192, in _ordered_dict,
    nodes = loader.construct_pairs(node),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 154, in construct_pairs,
    key = self.construct_object(key_node, deep=deep),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 100, in construct_object,
    data = constructor(self, node),
  File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 271, in secret_yaml,
    secrets = _load_secret_yaml(secret_path),
  File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 248, in _load_secret_yaml,
    secrets = load_yaml(secret_path),
  File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 61, in load_yaml,
    return yaml.load(conf_file, Loader=SafeLineLoader) or OrderedDict(),
  File "/usr/local/lib/python3.8/site-packages/yaml/__init__.py", line 114, in load,
    return loader.get_single_data(),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 51, in get_single_data,
    return self.construct_document(node),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 55, in construct_document,
    data = self.construct_object(node),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 100, in construct_object,
    data = constructor(self, node),
  File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 192, in _ordered_dict,
    nodes = loader.construct_pairs(node),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 154, in construct_pairs,
    key = self.construct_object(key_node, deep=deep),
  File "/usr/local/lib/python3.8/site-packages/yaml/constructor.py", line 100, in construct_object,
    data = constructor(self, node),
  File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 271, in secret_yaml,
    secrets = _load_secret_yaml(secret_path),
  File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 248, in _load_secret_yaml,
    secrets = load_yaml(secret_path),
  File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 61, in load_yaml,
    return yaml.load(conf_file, Loader=SafeLineLoader) or OrderedDict(),
  File "/usr/local/lib/python3.8/site-packages/yaml/__init__.py", line 112, in load,
    loader = Loader(stream),
  File "/usr/local/lib/python3.8/site-packages/yaml/loader.py", line 34, in __init__,
    Reader.__init__(self, stream),
  File "/usr/local/lib/python3.8/site-packages/yaml/reader.py", line 85, in __init__,
    self.determine_encoding(),
  File "/usr/local/lib/python3.8/site-packages/yaml/reader.py", line 135, in determine_encoding,
    self.update(1),
  File "/usr/local/lib/python3.8/site-packages/yaml/reader.py", line 153, in update,
    self.update_raw(),
  File "/usr/local/lib/python3.8/site-packages/yaml/reader.py", line 178, in update_raw,
    data = self.stream.read(size),
RecursionError: maximum recursion depth exceeded,
[cont-finish.d] executing container finish scripts...,
[cont-finish.d] done.,
[s6-finish] waiting for services.,
[s6-finish] sending all processes the TERM signal.,
[s6-finish] sending all processes the KILL signal and exiting.,

Posso colocar o resto dos log, mas parece-me que o erro final está neste RecursionError.

Vossa ajuda é muito bem vinda :slight_smile:

Obrigado.

identifiquei a causa do crash do containner, era a integração do Shelly for HACS, mas pelo que vejo escrito deveria ser algo mto simples, a não ser que seja devido a ter os shellies como entities já configurados pelo mqtt.


Copyright © 2017-2021. Todos os direitos reservados
CPHA.pt - info@cpha.pt


FAQ | Termos de Serviço/Regras | Política de Privacidade