Brak dostepu do bramki przez www i aplikację po aktualiacji

Coś mnie podkusiło dziś i zaktualizowałem moją AIS PRO1 do najnowszej alfy która dziś się pojawiła. Po aktualizacji bramka nie wstała ale myślę sobie backupy mam to nie problem. Zrobię pełny reset aplikacji, zaktualizuję i przywrócę kopię. A tu problem. Jak przywrócę bramkę i zaktualizuję do najnowszej alfy lub bety (bez odtwarzania kopii) to już nie mogę dostać się po bramki ani przez www ani przez aplikację. Pamięć podręczna przeglądarki oczywiście wyczyszczona. Dostęp przez SSH jest. Macie jakiś pomysł na rozwiązanie problemu? Bo okazuje się że mając nawet kopie nie jesteśmy bezpieczni.

W przeglądarce niekończące sie:

W aplikacji: “Unable to connect to Home Assistant”

W logach:

7|ais  | Traceback (most recent call last):
7|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/__init__.py", line 24, in <module>
7|ais  |     from . import multiarray
7|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/multiarray.py", line 10, in <module>
7|ais  |     from . import overrides
7|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/overrides.py", line 8, in <module>
7|ais  |     from numpy.core._multiarray_umath import (
7|ais  | ImportError: dlopen failed: cannot locate symbol "PyExc_ValueError" referenced by "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311.so"...
7|ais  | During handling of the above exception, another exception occurred:
7|ais  | Traceback (most recent call last):
7|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/__init__.py", line 130, in <module>
7|ais  |     from numpy.__config__ import show as show_config
7|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/__config__.py", line 4, in <module>
7|ais  |     from numpy.core._multiarray_umath import (
7|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/__init__.py", line 50, in <module>
7|ais  |     raise ImportError(msg)
7|ais  | ImportError:
7|ais  | IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
7|ais  | Importing the numpy C-extensions failed. This error can happen for
7|ais  | many reasons, often due to issues with your setup or how NumPy was
7|ais  | installed.
7|ais  | We have compiled some common reasons and troubleshooting tips at:
7|ais  |     https://numpy.org/devdocs/user/troubleshooting-importerror.html
7|ais  | Please note and check the following:
7|ais  |   * The Python version is: Python3.11 from "/data/data/com.termux/files/usr/bin/python"
7|ais  |   * The NumPy version is: "1.26.0"
7|ais  | and make sure that they are the versions you expect.
7|ais  | Please carefully study the documentation linked above for further help.
7|ais  | Original error was: dlopen failed: cannot locate symbol "PyExc_ValueError" referenced by "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311.so"...
7|ais  | The above exception was the direct cause of the following exception:
7|ais  | Traceback (most recent call last):
7|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response
7|ais  |     await func(hass, connection, msg)
7|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/components/websocket_api/commands.py", line 417, in handle_get_services
7|ais  |     payload = await _async_get_all_descriptions_json(hass)
7|ais  |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/components/websocket_api/commands.py", line 398, in _async_get_all_descriptions_json
7|ais  |     descriptions = await async_get_all_descriptions(hass)
7|ais  |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/helpers/service.py", line 606, in async_get_all_descriptions
7|ais  |     contents = await hass.async_add_executor_job(
7|ais  |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
7|ais  |     result = self.fn(*self.args, **self.kwargs)
7|ais  |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/helpers/service.py", line 562, in _load_services_files
7|ais  |     return [_load_services_file(hass, integration) for integration in integrations]
7|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/helpers/service.py", line 562, in <listcomp>
7|ais  |     return [_load_services_file(hass, integration) for integration in integrations]
7|ais  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/helpers/service.py", line 544, in _load_services_file
7|ais  |     _SERVICES_SCHEMA(load_yaml(str(integration.file_path / "services.yaml"))),
7|ais  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 272, in __call__```

u mnie też bramka utyka na napisie “ai s” po aktualizacji do 2023.10.5 i też nie mam dostępu z poziomu aplikacji na telefonie czy przez www (tunel i lokalne ip jest taki sam efekt) mam “loading data” na ciemniejszym tle mimo iż już dawno komunikat był na dole ekranu że ha sie uruchomiło i trwa ładowanie konfiguracji czy jakoś tak bramka gadała przez podłączone głośniki

a tak wygląda proces uruchamiania z konsoli aisboot.log (213,1 KB)

więc kolejna aktualizacja z rzędu która uwęgliła bramkę pierw problemy z uruchomieniem bramki po zmianie pythona a teraz po aktualizacji home assistant znów będzie trzeba przywracać bramkę do stanu zakupu i czekać na kolejną aktualizację z nadzieją że sie nie rozkraczy ale udało mi sie przywrócić poprzednia wersje ha przy pomocy polecenia pip install ais-dom==2023.10.0b1 i czekam czy sie uruchomi całkowicie

Daj znać czy się uruchomi. Ja przywróciłem do stabilnej wersji Paweł ale nie działa mi zigbe2mqtt a mam trochę urządzeń. Dziś nie miałem czasu do tego usiąść.

efekt jest taki sam mimo iż udało mi sie zainstalować ta wersje, próbowałem starsze z tego roku ale ich z kolei nie udawało sie zainstalować więc teraz próbuje zainstalować ręcznie tą najnowszą wersje aisupdate.log (30,7 KB)

ale to też nic nie daje wiec znów czeka mnie żmudne przywracanie z kopi i nie aktualizowanie do wersji październikowej a aktualizacja do wersji lipcowej pip install ais-dom==2023.7.2

1 polubienie

Hej,

Czy udało sie komukolwiek zrobić pełen restart i zrobić aktualizację do najnowszej Beta?
Na stabilnej nie ma obsługi Zigbee wielu urządzeń.
Ja zrobiłem do Beta i dalej ten sam błąd - @jolka - czy jest to Ci znane:

8|ais  | 2023-11-12 02:00:32.408 ERROR (MainThread)
[homeassistant.components.websocket_api.http.connection] [2781386472] Error handling message: Unknown error (unknown_error) Krzysztof from 192.168.34.60 (Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0)
8|ais  | Traceback (most recent call last):
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/__init__.py", line 24, in <module>
8|ais  |     from . import multiarray
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/multiarray.py", line 10, in <module>
8|ais  |     from . import overrides
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/overrides.py", line 8, in <module>
8|ais  |     from numpy.core._multiarray_umath import (
8|ais  | ImportError: dlopen failed: cannot locate symbol "PyExc_ValueError" referenced by "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311.so"...
8|ais  | During handling of the above exception, another exception occurred:
8|ais  | Traceback (most recent call last):
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/__init__.py", line 130, in <module>
8|ais  |     from numpy.__config__ import show as show_config
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/__config__.py", line 4, in <module>
8|ais  |     from numpy.core._multiarray_umath import (
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/__init__.py", line 50, in <module>
8|ais  |     raise ImportError(msg)
8|ais  | ImportError:
8|ais  | IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
8|ais  | Importing the numpy C-extensions failed. This error can happen for
8|ais  | many reasons, often due to issues with your setup or how NumPy was
8|ais  | installed.
8|ais  | We have compiled some common reasons and troubleshooting tips at:
8|ais  |     https://numpy.org/devdocs/user/troubleshooting-importerror.html
8|ais  | Please note and check the following:
8|ais  |   * The Python version is: Python3.11 from "/data/data/com.termux/files/usr/bin/python"
8|ais  |   * The NumPy version is: "1.26.0"
8|ais  | and make sure that they are the versions you expect.
8|ais  | Please carefully study the documentation linked above for further help.
8|ais  | Original error was: dlopen failed: cannot locate symbol "PyExc_ValueError" referenced by "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311.so"...
8|ais  | The above exception was the direct cause of the following exception:
8|ais  | Traceback (most recent call last):
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response
8|ais  |     await func(hass, connection, msg)
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/components/websocket_api/commands.py", line 417, in handle_get_services
8|ais  |     payload = await _async_get_all_descriptions_json(hass)
8|ais  |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/components/websocket_api/commands.py", line 398, in _async_get_all_descriptions_json
8|ais  |     descriptions = await async_get_all_descriptions(hass)
8|ais  |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/helpers/service.py", line 606, in async_get_all_descriptions
8|ais  |     contents = await hass.async_add_executor_job(
8|ais  |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
8|ais  |     result = self.fn(*self.args, **self.kwargs)
8|ais  |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/helpers/service.py", line 562, in _load_services_files
8|ais  |     return [_load_services_file(hass, integration) for integration in integrations]
8|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/helpers/service.py", line 562, in <listcomp>
8|ais  |     return [_load_services_file(hass, integration) for integration in integrations]
8|ais  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/helpers/service.py", line 544, in _load_services_file
8|ais  |     _SERVICES_SCHEMA(load_yaml(str(integration.file_path / "services.yaml"))),
8|ais  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 272, in __call__
8|ais  |     return self._compiled([], data)
8|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 595, in validate_dict
8|ais  |     return base_validate(path, iteritems(data), out)
8|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 387, in validate_mapping
8|ais  |     cval = cvalue(key_path, value)
8|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/validators.py", line 229, in _run
8|ais  |     return self._exec(self._compiled, value, path)
8|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/validators.py", line 274, in _exec
8|ais  |     return func(path, v)
8|ais  |            ^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 818, in validate_callable
8|ais  |     return schema(data)
8|ais  |            ^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 272, in __call__
8|ais  |     return self._compiled([], data)
8|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 595, in validate_dict
8|ais  |     return base_validate(path, iteritems(data), out)
8|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 387, in validate_mapping
8|ais  |     cval = cvalue(key_path, value)
8|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/validators.py", line 229, in _run
8|ais  |     return self._exec(self._compiled, value, path)
8|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/validators.py", line 274, in _exec
8|ais  |     return func(path, v)
8|ais  |            ^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 818, in validate_callable
8|ais  |     return schema(data)
8|ais  |            ^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 272, in __call__
8|ais  |     return self._compiled([], data)
8|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 595, in validate_dict
8|ais  |     return base_validate(path, iteritems(data), out)
8|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 387, in validate_mapping
8|ais  |     cval = cvalue(key_path, value)
8|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/validators.py", line 229, in _run
8|ais  |     return self._exec(self._compiled, value, path)
8|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/validators.py", line 353, in _exec
8|ais  |     v = func(path, v)
8|ais  |         ^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 636, in validate_sequence
8|ais  |     cval = validate(index_path, value)
8|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 818, in validate_callable
8|ais  |     return schema(data)
8|ais  |            ^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 272, in __call__
8|ais  |     return self._compiled([], data)
8|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 595, in validate_dict
8|ais  |     return base_validate(path, iteritems(data), out)
8|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 387, in validate_mapping
8|ais  |     cval = cvalue(key_path, value)
8|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 636, in validate_sequence
8|ais  |     cval = validate(index_path, value)
8|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/validators.py", line 229, in _run
8|ais  |     return self._exec(self._compiled, value, path)
8|ais  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/validators.py", line 353, in _exec
8|ais  |     v = func(path, v)
8|ais  |         ^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 818, in validate_callable
8|ais  |     return schema(data)
8|ais  |            ^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/helpers/selector.py", line 155, in _validate_supported_features
8|ais  |     feature_mask |= _validate_supported_feature(supported_feature)
8|ais  |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/helpers/selector.py", line 130, in _validate_supported_feature
8|ais  |     known_entity_features = _entity_features()
8|ais  |                             ^^^^^^^^^^^^^^^^^^
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/helpers/selector.py", line 90, in _entity_features
8|ais  |     from homeassistant.components.camera import CameraEntityFeature
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/components/camera/__init__.py", line 29, in <module>
8|ais  |     from homeassistant.components.stream import (
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/components/stream/__init__.py", line 61, in <module>
8|ais  |     from .core import (
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/components/stream/core.py", line 14, in <module>
8|ais  |     import numpy as np
8|ais  |   File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/__init__.py", line 135, in <module>
8|ais  |     raise ImportError(msg) from e
8|ais  | ImportError: Error importing numpy: you should not try to import numpy from
8|ais  |         its source directory; please exit the numpy source tree, and relaunch
8|ais  |         your python interpreter from there.
1 polubienie

Zrob tak bo widac błąd w numpy

pkg uninstall numpy
pkg install numpy

Lub

pip uninstall numpy
pip install numpy

Moze pomoże

W wersji beta jest błąd. Alfa działa i jak na ostatnie wydania jest bardzo stabilna. Jedna uwaga aktualizowałem z konsoli przez putty i poszło dopiero za drugim razem. ale jak już poszło to działa drugi tydzień bez żadnych problemów.

U mnie numpy nie chce się w ogóle zainstalować (wisi tak jak na scrn):

edit:
w logach:

edit:
ciekawostka: po kolejnym zapuszczeniu aktualizacji z konsoli wstała ale tylko z dostępem przez www, po hdmi wyświetla znak ais i na tym koniec