Usunąłem całkiem tą linię i wszystko wróciło do normy HA mam 2024.4.3. Dziękuję kolego za poświęcony czas i pomoc stawiam
Ten wątek jest na INNY temat, to nie jest o HA core. edit - wydzielone na osobny wątek
I nie dotyczy debianowej instalacji.
Nie wiadomo co zrobiłeś, ani co masz zrobić, ale z pewnością nie aktualizowałeś HAOS, bo piszesz, że masz Debiana… a to się wyklucza.
Jeżeli NodeRed wstał to nie ma potrzeby mieszać w
butloadera
Należy sprawdzić czy działają usługi HA.
sudo docker ps -a
Konsola wewnątrz kontenera HA
docker exec -it homeassistant bash
Zrobiłem aktualizacje HA core a nie HAos
po wpisaniu sudo docker ps -a to mam to
root@debian:/home/andrzej# sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c723d0dda0lo zigbee2mqtt/zigbee2mqtt-amd64:1.36.1-1 "/sbin/tini -- /dock…" 13 hours ago Up 13 hours 0.0.0.0:8485->8485/tcp, :::8485->8485/tcp addon_45df7312_zigbee2mqtt
4c3966c618fr ghcr.io/hassio-addons/node-red/amd64:17.0.11 "/init" 13 hours ago Up 13 hours (healthy) addon_a0d7b954_nodered
d58186dae265 ghcr.io/sabeechen/hassio-google-drive-backup-amd64:0.112.1 "python3 -m backup" 13 hours ago Up 13 hours 0.0.0.0:1627->1627/tcp, :::1627->1627/tcp, 8099/tcp addon_cebe7a76_hassio_google_drive_backup
e6ecfba92d55 homeassistant/amd64-addon-configurator:5.8.0 "/init" 13 hours ago Up 13 hours (healthy) addon_core_configurator
ffa7a1937eok ghcr.io/home-assistant/qemux86-64-homeassistant:2024.4.2 "/init" 13 hours ago Exited (1) 13 hours ago homeassistant
a03371b9b5tr ghcr.io/hassio-addons/zerotier/amd64:0.18.0 "/init" 13 hours ago Up 13 hours addon_a0d7b954_zerotier
c86d16de3c1p homeassistant/amd64-addon-samba:12.3.1 "/init" 13 hours ago Up 13 hours (healthy) addon_core_samba
47af39251078 ghcr.io/hassio-addons/ssh/amd64:17.2.0 "/init" 13 hours ago Up 13 hours addon_a0d7b954_ssh
a6288ab487y8 homeassistant/amd64-addon-vlc:0.3.0 "/init" 13 hours ago Up 13 hours addon_core_vlc
8af0041981ye ghcr.io/hassio-addons/glances/amd64:0.21.1 "/run.sh" 13 hours ago Up 13 hours addon_a0d7b954_glances
98ff85cbf9ww ghcr.io/esphome/esphome-hassio:2024.3.2 "/init" 13 hours ago Up 13 hours addon_5c53de3b_esphome
9a0a19509et5 ghcr.io/hassio-addons/adguard/amd64:5.0.6 "/init" 13 hours ago Up 13 hours (healthy) addon_a0d7b954_adguard
fef76b3224hg homeassistant/amd64-addon-mosquitto:6.4.0 "/init" 13 hours ago Up 13 hours 0.0.0.0:1883-1884->1883-1884/tcp, :::1883-1884->1883-1884/tcp, 0.0.0.0:8883-8884->8883-8884/tcp, :::8883-8884->8883-8884/tcp addon_core_mosquitto
284c91d187rt homeassistant/amd64-addon-mariadb:2.6.1 "/init" 13 hours ago Up 13 hours addon_core_mariadb
b0fd1f0fabgf ghcr.io/home-assistant/amd64-hassio-multicast:2024.03.0 "/init" 13 hours ago Up 13 hours hassio_multicast
9ee553af2722 ghcr.io/home-assistant/amd64-hassio-audio:2023.12.0 "/init" 13 hours ago Up 13 hours hassio_audio
14e8bd01d438 ghcr.io/home-assistant/amd64-hassio-dns:2024.04.0 "/init" 13 hours ago Up 13 hours hassio_dns
5c10f0343e97 ghcr.io/home-assistant/amd64-hassio-cli:2024.04.0 "/init" 13 hours ago Up 13 hours hassio_cli
c75684aed684 ghcr.io/home-assistant/amd64-hassio-supervisor:latest "/init" 5 days ago Up 13 hours hassio_supervisor
207c26516785 ghcr.io/home-assistant/amd64-hassio-observer:2023.06.0 "/usr/bin/observer" 2 months ago Up 13 hours 0.0.0.0:4357->80/tcp, :::4357->80/tcp hassio_observer
a po wpisaniu docker exec -it homeassistant bash
root@debian:/home/andrzej# docker exec -it homeassistant bash
Error response from daemon: container ffa7a1937e0fa8bc89c7557fcbc83d636be3298954d16c41843456c56f118d84 is not running
Sorki trzeba dodać sudo
przed poleceniem sudo docker exec -it homeassistant bash
Nie działa ci qemux86-64-homeassistant:2024.4.2 "/init" 13 hours ago Exited (1) 13 hours ago
Zestaw poleceń, przed każdym trzeba podać sudo
sudo ha core info
Sprawdź sudo ha core start
czy uruchomi qemux86-64-homeassistant:2024.4.2
ha core check
ha core info
ha core logs
ha core options
ha core rebuild
ha core restart
ha core start
ha core stats
ha core stop
ha core update
Po wpisaniu sudo docker exec -it homeassistant bash dalej jest błąd ani jak wpisuje sudo ani jak wpisuje su
root@debian:/home/andrzej# sudo docker exec -it homeassistant bash
Error response from daemon: container ffa7a1937e0fa8bc89c7557fcbc83d636be3298954d16c41843456c56f118d84 is not running
root@debian:/home/andrzej# su docker exec -it homeassistant bash
su: błędna opcja -- 'i'
'su --help' wyświetli więcej informacji.
root@debian:/home/andrzej#
sudo ha core info
root@debian:/home/andrzej# sudo ha core info
arch: amd64
audio_input: null
audio_output: null
backups_exclude_database: false
boot: true
image: ghcr.io/home-assistant/qemux86-64-homeassistant
ip_address: 175.45.48.4
machine: qemux86-64
port: 8123
ssl: false
update_available: true
version: 2024.4.2
version_latest: 2024.4.3
watchdog: true
root@debian:/home/andrzej
sudo ha core start
root@debian:/home/andrzej# sudo ha core start
Processing... Done.
Error: Unknown error, see supervisor
root@debian:/home/andrzej#
i polecania
root@debian:/home/andrzej# sudo ha core check
Processing... Done.
Error: Testing configuration at /config
Fatal error while loading config: [Errno 21] Is a directory: '/config/command_line.yaml'
Failed config
General Errors:
- [Errno 21] Is a directory: '/config/command_line.yaml'
Successful config (partial)
root@debian:/home/andrzej# sudo ha core inf
arch: amd64
audio_input: null
audio_output: null
backups_exclude_database: false
boot: true
image: ghcr.io/home-assistant/qemux86-64-homeassistant
ip_address: 172.54.75.15
machine: qemux86-64
port: 8123
ssl: false
update_available: true
version: 2024.4.2
version_latest: 2024.4.3
watchdog: true
root@debian:/home/andrzej# sudo ha core info
arch: amd64
audio_input: null
audio_output: null
backups_exclude_database: false
boot: true
image: ghcr.io/home-assistant/qemux86-64-homeassistant
ip_address: 172.54.75.15
machine: qemux86-64
port: 8123
ssl: false
update_available: true
version: 2024.4.2
version_latest: 2024.4.3
watchdog: true
root@debian:/home/andrzej# sudo ha core logs
[07:04:00] INFO: Home Assistant Core finish process exit code 1
[07:04:00] INFO: Home Assistant Core service shutdown
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun home-assistant (no readiness notification)
s6-rc: info: service legacy-services successfully started
2024-04-14 11:03:50.496 ERROR (MainThread) [root] Uncaught exception
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/__main__.py", line 222, in <module>
sys.exit(main())
^^^^^^
File "/usr/src/homeassistant/homeassistant/__main__.py", line 210, in main
exit_code = runner.run(runtime_conf)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 685, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/runner.py", line 155, in setup_and_run_hass
hass = await bootstrap.async_setup_hass(runtime_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 270, in async_setup_hass
config_dict = await conf_util.async_hass_config_yaml(hass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config.py", line 487, in async_hass_config_yaml
config = await hass.loop.run_in_executor(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config.py", line 542, in load_yaml_config_file
conf_dict = load_yaml_dict(config_path, secrets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 246, in load_yaml_dict
loaded_yaml = load_yaml(fname, secrets)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 232, in load_yaml
return parse_yaml(conf_file, secrets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 261, in parse_yaml
return _parse_yaml(FastSafeLoader, content, secrets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 288, in _parse_yaml
return yaml.load(content, Loader=lambda stream: loader(stream, secrets)) # type: ignore[arg-type]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/yaml/__init__.py", line 81, in load
return loader.get_single_data()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/yaml/constructor.py", line 51, in get_single_data
return self.construct_document(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/yaml/constructor.py", line 55, in construct_document
data = self.construct_object(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/yaml/constructor.py", line 100, in construct_object
data = constructor(self, node)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 428, in _handle_mapping_tag
nodes = loader.construct_pairs(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/yaml/constructor.py", line 155, in construct_pairs
value = self.construct_object(value_node, deep=deep)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/yaml/constructor.py", line 100, in construct_object
data = constructor(self, node)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 338, in _include_yaml
loaded_yaml = load_yaml(fname, loader.secrets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 231, in load_yaml
with open(fname, encoding="utf-8") as conf_file:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IsADirectoryError: [Errno 21] Is a directory: '/config/command_line.yaml'
[09:03:50] INFO: Home Assistant Core finish process exit code 1
[09:03:50] INFO: Home Assistant Core service shutdown
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
root@debian:/home/andrzej# sudo ha core options
Command completed successfully.
root@debian:/home/andrzej# sudo ha core rebuild
Processing... Done.
Error: Unknown error, see supervisor
root@debian:/home/andrzej# sudo ha core restart
Processing... Done.
Error: Unknown error, see supervisor
root@debian:/home/andrzej# sudo ha core start
Processing... Done.
Error: Unknown error, see supervisor
root@debian:/home/andrzej# sudo ha core stats
Error: Container homeassistant is not running
root@debian:/home/andrzej# sudo ha core stat
Error: Container homeassistant is not running
root@debian:/home/andrzej# sudo ha core stop
Processing... Done.
Command completed successfully.
root@debian:/home/andrzej# sudo ha core update
Processing... Done.
Error: Unknown error, see supervisor
root@debian:/home/andrzej#
Z logów :
Błędy wyglądają na błędy konfiguracyjne, teraz pytanie czy same je zrobiłeś czy to błędna konfiguracja w Kontenerze qemux86-64-homeassistant:2024.4.2
Spróbuj za komentować command_line:
w pliku configuration.yaml
Zrobiłem Aktualizację core
do najnowszej wersji. Nie polecam najgorszemu wrogowi
Node red nie startuje, problemy z autoryzacją w MQTT (Odrzucanie połączeń od klientów), Supervisor
sam siebie banuje z autoryzacją Z2M gubi ścieżkę do ConBeeII lub widzi ją jako błędną (Nie startuje), po wyciągnięciu i włożeniu ConBeeII Z2M ponownie startuje lecz przy następnym restarcie Z2M znów gubi ścieżkę lub widzi ją jako błędną. Obcięty dolny pasek dashboardu HA.