Aktualizacja Home Assistant Core 2021.12.10, błąd

Cześć
Po uruchomieniu dodatku “Check Home Assistant configuration” dostaje log jak poniżej, pierwszy raz wyrzuca mi błędy, wcześniejsze aktualizacje szły bez problemu, ktoś podpowie o co chodzi?

Check Home Assistant configuration
  Downloading https://wheels.home-assistant.io/alpine-3.14/amd64/PyYAML-6.0-cp39-none-any.whl (45 kB)
Collecting httpx==0.21.0
  Downloading httpx-0.21.0-py3-none-any.whl (83 kB)
Collecting async-timeout==4.0.0
  Downloading async_timeout-4.0.0-py3-none-any.whl (6.1 kB)
Collecting aiohttp==3.8.1
  Downloading https://wheels.home-assistant.io/alpine-3.14/amd64/aiohttp-3.8.1-cp39-none-any.whl (568 kB)
Collecting ciso8601==2.2.0
  Downloading https://wheels.home-assistant.io/alpine-3.14/amd64/ciso8601-2.2.0-cp39-none-any.whl (13 kB)
Collecting certifi>=2021.5.30
  Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting ifaddr==0.1.7
  Downloading ifaddr-0.1.7-py2.py3-none-any.whl (10 kB)
Collecting atomicwrites==1.4.0
  Downloading atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB)
Collecting MarkupSafe>=2.0
  Downloading https://wheels.home-assistant.io/alpine-3.14/amd64/MarkupSafe-2.0.1-cp39-none-any.whl (15 kB)
Collecting text-unidecode>=1.3
  Downloading text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
Collecting pytz
  Downloading pytz-2021.3-py2.py3-none-any.whl (503 kB)
Collecting six>=1.4.1
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Requirement already satisfied: cffi>=1.1 in /usr/local/lib/python3.9/site-packages (from bcrypt==3.1.7->homeassistant) (1.14.6)
Collecting multidict>=4.0
  Downloading https://wheels.home-assistant.io/alpine-3.14/amd64/multidict-5.2.0-cp39-none-any.whl (47 kB)
Collecting idna>=2.0
  Downloading idna-3.3-py3-none-any.whl (61 kB)
Collecting urllib3<1.27,>=1.21.1
  Downloading urllib3-1.26.8-py2.py3-none-any.whl (138 kB)
Collecting charset-normalizer~=2.0.0; python_version >= "3"
  Downloading charset_normalizer-2.0.10-py3-none-any.whl (39 kB)
Collecting httpcore<0.15.0,>=0.14.0
  Downloading httpcore-0.14.5-py3-none-any.whl (67 kB)
Collecting rfc3986[idna2008]<2,>=1.3
  Downloading rfc3986-1.5.0-py2.py3-none-any.whl (31 kB)
Collecting sniffio
  Downloading sniffio-1.2.0-py3-none-any.whl (10 kB)
Collecting typing-extensions>=3.6.5
  Downloading typing_extensions-4.0.1-py3-none-any.whl (22 kB)
Collecting frozenlist>=1.1.1
  Downloading frozenlist-1.3.0.tar.gz (65 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'done'
Collecting aiosignal>=1.1.2
  Downloading aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Requirement already satisfied: pycparser in /usr/local/lib/python3.9/site-packages (from cffi>=1.1->bcrypt==3.1.7->homeassistant) (2.20)
Collecting h11<0.13,>=0.11
  Downloading h11-0.12.0-py3-none-any.whl (54 kB)
Collecting anyio==3.*
  Downloading anyio-3.5.0-py3-none-any.whl (79 kB)
Building wheels for collected packages: frozenlist
  Building wheel for frozenlist (PEP 517): started
  Building wheel for frozenlist (PEP 517): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /usr/local/bin/python /usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmp99av4egn
       cwd: /tmp/pip-install-6i0t3g62/frozenlist
  Complete output (29 lines): 
  * Accellerated build * 
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.9
  creating build/lib.linux-x86_64-3.9/frozenlist
  copying frozenlist/__init__.py -> build/lib.linux-x86_64-3.9/frozenlist
  running egg_info
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files matching '*.pyd' found anywhere in distribution
  warning: no previously-included files matching '*.so' found anywhere in distribution
  warning: no previously-included files matching '*.lib' found anywhere in distribution
  warning: no previously-included files matching '*.dll' found anywhere in distribution
  warning: no previously-included files matching '*.a' found anywhere in distribution
  warning: no previously-included files matching '*.obj' found anywhere in distribution
  warning: no previously-included files found matching 'frozenlist/*.html'
  no previously-included directories found matching 'docs/_build'
  writing manifest file 'frozenlist.egg-info/SOURCES.txt'
  copying frozenlist/__init__.pyi -> build/lib.linux-x86_64-3.9/frozenlist
  copying frozenlist/_frozenlist.pyx -> build/lib.linux-x86_64-3.9/frozenlist
  copying frozenlist/py.typed -> build/lib.linux-x86_64-3.9/frozenlist
  running build_ext
  creating build/temp.linux-x86_64-3.9
  creating build/temp.linux-x86_64-3.9/frozenlist
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.9 -c frozenlist/_frozenlist.c -o build/temp.linux-x86_64-3.9/frozenlist/_frozenlist.o
  error: command 'gcc' failed: No such file or directory
  ----------------------------------------
  ERROR: Failed building wheel for frozenlist
Failed to build frozenlist
ERROR: Could not build wheels for frozenlist which use PEP 517 and cannot be installed directly
[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.

Moją końcówka loga dla jednej z instalacji, istotnie wygląda źle

  Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB)
Collecting atomicwrites==1.4.0
  Downloading atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB)
Collecting PyJWT==2.1.0
  Downloading PyJWT-2.1.0-py3-none-any.whl (16 kB)
Collecting certifi>=2021.5.30
  Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting httpx==0.21.0
  Downloading httpx-0.21.0-py3-none-any.whl (83 kB)
Collecting pyyaml==6.0
  Downloading https://wheels.home-assistant.io/alpine-3.14/amd64/PyYAML-6.0-cp39-none-any.whl (45 kB)
Collecting bcrypt==3.1.7
  Downloading https://wheels.home-assistant.io/alpine-3.14/amd64/bcrypt-3.1.7-cp39-none-any.whl (32 kB)
Collecting ciso8601==2.2.0
  Downloading https://wheels.home-assistant.io/alpine-3.14/amd64/ciso8601-2.2.0-cp39-none-any.whl (13 kB)
Collecting pytz
  Downloading pytz-2021.3-py2.py3-none-any.whl (503 kB)
Collecting charset-normalizer~=2.0.0; python_version >= "3"
  Downloading charset_normalizer-2.0.10-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5; python_version >= "3"
  Downloading idna-3.3-py3-none-any.whl (61 kB)
Collecting urllib3<1.27,>=1.21.1
  Downloading urllib3-1.26.8-py2.py3-none-any.whl (138 kB)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.9/site-packages (from cryptography==35.0.0->homeassistant) (1.14.6)
Collecting multidict>=4.0
  Downloading https://wheels.home-assistant.io/alpine-3.14/amd64/multidict-5.2.0-cp39-none-any.whl (47 kB)
Collecting text-unidecode>=1.3
  Downloading text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
Collecting frozenlist>=1.1.1
  Downloading frozenlist-1.3.0.tar.gz (65 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'done'
Collecting aiosignal>=1.1.2
  Downloading aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Collecting typing-extensions>=3.6.5
  Downloading typing_extensions-4.0.1-py3-none-any.whl (22 kB)
Collecting MarkupSafe>=2.0
  Downloading https://wheels.home-assistant.io/alpine-3.14/amd64/MarkupSafe-2.0.1-cp39-none-any.whl (15 kB)
Collecting httpcore<0.15.0,>=0.14.0
  Downloading httpcore-0.14.5-py3-none-any.whl (67 kB)
Collecting rfc3986[idna2008]<2,>=1.3
  Downloading rfc3986-1.5.0-py2.py3-none-any.whl (31 kB)
Collecting sniffio
  Downloading sniffio-1.2.0-py3-none-any.whl (10 kB)
Collecting six>=1.4.1
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Requirement already satisfied: pycparser in /usr/local/lib/python3.9/site-packages (from cffi>=1.12->cryptography==35.0.0->homeassistant) (2.20)
Collecting h11<0.13,>=0.11
  Downloading h11-0.12.0-py3-none-any.whl (54 kB)
Collecting anyio==3.*
  Downloading anyio-3.5.0-py3-none-any.whl (79 kB)
Building wheels for collected packages: frozenlist
  Building wheel for frozenlist (PEP 517): started
  Building wheel for frozenlist (PEP 517): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /usr/local/bin/python /usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpui09hakx
       cwd: /tmp/pip-install-mb7kl0p3/frozenlist
  Complete output (29 lines):
  **********************
  * Accellerated build *
  **********************
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.9
  creating build/lib.linux-x86_64-3.9/frozenlist
  copying frozenlist/__init__.py -> build/lib.linux-x86_64-3.9/frozenlist
  running egg_info
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files matching '*.pyd' found anywhere in distribution
  warning: no previously-included files matching '*.so' found anywhere in distribution
  warning: no previously-included files matching '*.lib' found anywhere in distribution
  warning: no previously-included files matching '*.dll' found anywhere in distribution
  warning: no previously-included files matching '*.a' found anywhere in distribution
  warning: no previously-included files matching '*.obj' found anywhere in distribution
  warning: no previously-included files found matching 'frozenlist/*.html'
  no previously-included directories found matching 'docs/_build'
  writing manifest file 'frozenlist.egg-info/SOURCES.txt'
  copying frozenlist/__init__.pyi -> build/lib.linux-x86_64-3.9/frozenlist
  copying frozenlist/_frozenlist.pyx -> build/lib.linux-x86_64-3.9/frozenlist
  copying frozenlist/py.typed -> build/lib.linux-x86_64-3.9/frozenlist
  running build_ext
  creating build/temp.linux-x86_64-3.9
  creating build/temp.linux-x86_64-3.9/frozenlist
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.9 -c frozenlist/_frozenlist.c -o build/temp.linux-x86_64-3.9/frozenlist/_frozenlist.o
  error: command 'gcc' failed: No such file or directory
  ----------------------------------------
  ERROR: Failed building wheel for frozenlist
Failed to build frozenlist
ERROR: Could not build wheels for frozenlist which use PEP 517 and cannot be installed directly
[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.

z drugiej


Building wheels for collected packages: frozenlist
  Building wheel for frozenlist (PEP 517): started
  Building wheel for frozenlist (PEP 517): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /usr/local/bin/python /usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmp435q9hvc
       cwd: /tmp/pip-install-u_zmybd1/frozenlist
  Complete output (29 lines):
  **********************
  * Accellerated build *
  **********************
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.9
  creating build/lib.linux-x86_64-3.9/frozenlist
  copying frozenlist/__init__.py -> build/lib.linux-x86_64-3.9/frozenlist
  running egg_info
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files matching '*.pyd' found anywhere in distribution
  warning: no previously-included files matching '*.so' found anywhere in distribution
  warning: no previously-included files matching '*.lib' found anywhere in distribution
  warning: no previously-included files matching '*.dll' found anywhere in distribution
  warning: no previously-included files matching '*.a' found anywhere in distribution
  warning: no previously-included files matching '*.obj' found anywhere in distribution
  warning: no previously-included files found matching 'frozenlist/*.html'
  no previously-included directories found matching 'docs/_build'
  writing manifest file 'frozenlist.egg-info/SOURCES.txt'
  copying frozenlist/__init__.pyi -> build/lib.linux-x86_64-3.9/frozenlist
  copying frozenlist/_frozenlist.pyx -> build/lib.linux-x86_64-3.9/frozenlist
  copying frozenlist/py.typed -> build/lib.linux-x86_64-3.9/frozenlist
  running build_ext
  creating build/temp.linux-x86_64-3.9
  creating build/temp.linux-x86_64-3.9/frozenlist
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.9 -c frozenlist/_frozenlist.c -o build/temp.linux-x86_64-3.9/frozenlist/_frozenlist.o
  error: command 'gcc' failed: No such file or directory
  ----------------------------------------
  ERROR: Failed building wheel for frozenlist
Failed to build frozenlist
ERROR: Could not build wheels for frozenlist which use PEP 517 and cannot be installed directly
[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.

kolejna


Requirement already satisfied: pycparser in /usr/local/lib/python3.9/site-packages (from cffi>=1.12->cryptography==35.0.0->homeassistant) (2.20)
Building wheels for collected packages: frozenlist
  Building wheel for frozenlist (PEP 517): started
  Building wheel for frozenlist (PEP 517): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /usr/local/bin/python /usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpl1myer6y
       cwd: /tmp/pip-install-ks4kpt6p/frozenlist
  Complete output (29 lines):
  **********************
  * Accellerated build *
  **********************
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.9
  creating build/lib.linux-x86_64-3.9/frozenlist
  copying frozenlist/__init__.py -> build/lib.linux-x86_64-3.9/frozenlist
  running egg_info
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files matching '*.pyd' found anywhere in distribution
  warning: no previously-included files matching '*.so' found anywhere in distribution
  warning: no previously-included files matching '*.lib' found anywhere in distribution
  warning: no previously-included files matching '*.dll' found anywhere in distribution
  warning: no previously-included files matching '*.a' found anywhere in distribution
  warning: no previously-included files matching '*.obj' found anywhere in distribution
  warning: no previously-included files found matching 'frozenlist/*.html'
  no previously-included directories found matching 'docs/_build'
  writing manifest file 'frozenlist.egg-info/SOURCES.txt'
  copying frozenlist/__init__.pyi -> build/lib.linux-x86_64-3.9/frozenlist
  copying frozenlist/_frozenlist.pyx -> build/lib.linux-x86_64-3.9/frozenlist
  copying frozenlist/py.typed -> build/lib.linux-x86_64-3.9/frozenlist
  running build_ext
  creating build/temp.linux-x86_64-3.9
  creating build/temp.linux-x86_64-3.9/frozenlist
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.9 -c frozenlist/_frozenlist.c -o build/temp.linux-x86_64-3.9/frozenlist/_frozenlist.o
  error: command 'gcc' failed: No such file or directory
  ----------------------------------------
  ERROR: Failed building wheel for frozenlist
Failed to build frozenlist
ERROR: Could not build wheels for frozenlist which use PEP 517 and cannot be installed directly
[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.

cdn. gdy obadam inne instalacje (na testowych nie mam stracha, a produkcyjnych póki co nie będę ruszał), bywało już że addon “Check Home Assistant configuration” dawał fałszywe alarmy.

Edit - testy zakończone niepowodzeniem dotyczyły platfoirmy x86-64 (amd64), w przypadku RPi4 pełen sukces

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[19:40:53] INFO: Don't worry, this temporary installation is not overwriting your current one.
[19:40:53] INFO: Installing Home Assistant: stable...
[19:40:53] INFO: Please be patient, this might take a few minutes...
[19:44:54] INFO: Installed Home Assistant 2021.12.10
[19:44:54] INFO: Making a copy of your configuration for checking...
[19:44:55] INFO: Checking your configuration against this version...
[19:53:12] INFO: Configuration check finished - no error found! :)
[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.

Moja instalacja jest na “Oracle VM VirtualBox” na Windows (dopiero zaczynam), co z tym mogę zrobić, żeby aktualizować?

U mnie HA stoi na proxmox`ie. Check config przeszedł bez problemu. Po aktualizacji wszystko jest OK. Nie zauważyłem nic niepokojącego.

Zrobić sobie backupy (takie byś dał radę przywrócić sobie instalację gdyby coś poszło źle) i zaktualizować.

Albo poczekać, aż zostanie ustalone źródło błędów, usunąć problem i dopiero potem zaktualizować.

Zrobiłem aktualizację na testówce VirtualBox na Windows i wygląda OK.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[20:43:38] INFO: Don't worry, this temporary installation is not overwriting your current one.
[20:43:38] INFO: Installing Home Assistant: stable...
[20:43:38] INFO: Please be patient, this might take a few minutes...
[20:44:19] INFO: Installed Home Assistant 2021.12.10
[20:44:19] INFO: Making a copy of your configuration for checking...
[20:44:19] INFO: Checking your configuration against this version...
[20:48:08] INFO: Configuration check finished - no error found! :)
[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.

Puściłem test kolejny raz i tym razem wynik OK

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[21:12:01] INFO: Don't worry, this temporary installation is not overwriting your current one.
[21:12:01] INFO: Installing Home Assistant: stable...
[21:12:01] INFO: Please be patient, this might take a few minutes...
[21:13:36] INFO: Installed Home Assistant 2021.12.10
[21:13:36] INFO: Making a copy of your configuration for checking...
[21:13:39] INFO: Checking your configuration against this version...
[21:17:37] INFO: Configuration check finished - no error found! :)
[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.

Mam 6.1.30 r148432 (Qt 5.6.2)

Dzięki mam starszą, muszę chyba zaktualizować.

Jeśli chodzi o instalację lokalną, do której mamy bezpośredni dostęp to ja nie widzę problemu, o ile się tylko pamięta “o starym przysłowiu pszczół” → administratorów:
“Ludzie dzielą się tylko na 2 kategorie: tych co robią backupy i tych co będa robili backupy”. :smiley:

PS W przypadku instalacji zdalnej, gdzie nie mamy opracowanych i przetestowanych możliwych zdalnie procedur ratunkowych, aktualizacja w takiej sytuacji jest zwyczajnie głupia.


Aktualizacja: w tym wypadku to był fałszywy alarm (no taki - “pół-fałszywy”, bo testowa instalacja się po prostu nie zaktualizowała za pierwszym razem).
Wydaje się że był chwilowy problem z dostępem do niektórych plików na githubie.
W tej chwili wszystkie instalacje mam zaktualizowane i odbyło się to bez problemów,

1 polubienie