NEWS
Cryptography Modul Updaten
-
@Thomas-Braun wie meinst du das?
Ich habe es über npm und github versucht. Die Ausgabe ist immer die gleiche.
-
@maxpd sagte in Cryptography Modul Updaten:
@Thomas-Braun wie meinst du das?
Ich habe es über npm und github versucht. Die Ausgabe ist immer die gleiche.
habe das issue gesehen stimmt aber selber auch. noch keie Lösung gesehen
Habe local meter vers the durchgespielt und bei jedem wird es sauber installiert ich vermute dan auch irgend einen Fehler in der python/pip Installation (was immer so ne schwierige Sache ist in der analyse da es nix mit dem adapter selber oder NodeJS zu tun hat :/)@maxpd sagte in Cryptography Modul Updaten:
Python Version is 3.7
NodeJS 14.18Passt !
@maxpd sagte in Cryptography Modul Updaten:
sudo apt update
iobroker upgrade
iobroker upgrade selfhier fehlt sudo apt upgrade? hast du das ausgefuert ? (apt update erneuert nur den cache, upgrade macht system updates)
@maxpd sagte in Cryptography Modul Updaten:
Soll ich auch mal folgendes probieren? Oder mach ich mir dann was kaputt?
sudo apt-get python3-pil
sudo apt-get install python3-pil.imagetk
sudo apt-get install libopenjp2-7-devsollte unnötig sein da pip die python Abhängigkeiten selber installiert
-
Danke. Den Befehl habe ich nun auch ausgeführt. Aber der Fehler bleibt schlussendlich der gleiche.
-
sudo apt update apt policy python3 python3-pip
Vollständige Ein- wie Ausgaben in CodeTags setzen.
-
pi@iobroker:~ $ sudo apt update Holen:1 http://archive.raspberrypi.org/debian buster InRelease [32,6 kB] Holen:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB] OK:3 https://deb.nodesource.com/node_14.x buster InRelease OK:4 https://www.pivccu.de/piVCCU stable InRelease Holen:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13,0 MB] Holen:6 http://archive.raspberrypi.org/debian buster/main armhf Packages [393 kB] Es wurden 13,5 MB in 9 s geholt (1.476 kB/s). Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Aktualisierung für 2 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
pi@iobroker:~ $ apt policy python3 python3-pip python3: Installiert: 3.7.3-1 Installationskandidat: 3.7.3-1 Versionstabelle: *** 3.7.3-1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages 100 /var/lib/dpkg/status python3-pip: Installiert: (keine) Installationskandidat: 18.1-5+rpt1 Versionstabelle: 18.1-5+rpt1 500 500 http://archive.raspberrypi.org/debian buster/main armhf Packages 18.1-5 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
-
@Thomas-Braun ist das das was du sehen wolltest?
-
@maxpd
Ja.
Sieht aber gut aus. -
@thomas-braun wie kann ich Python mal auf die aktuellste 3er Version updaten? hab gesehen, da gibt es auch eine 3.8.
oder mach ich mir dann aktuell laufende Adapter kaputt? -
3.10 ist das aktuelle upstream release vom Project.
Debian Bullseye hat 3.9 dabei.
Dein Buster hat 3.7. dabei.Das würde ich auch nicht singulär updaten.
-
@thomas-braun ok, dann bleib ich von @Dutchman oder einem zukünftigen esp release abhängig, weil andere Ideen habe ich keine
-
Du kannst ja die 'große Lösung' mal andenken. Upgrade auf 'Bullseye'. Das Thema steht dir eh in nächster Zeit ins Haus. Buster erreicht bald sein End-of-Life.
-
Ich wollte nach dieser Anleitung
vorgehen, habe aber ein Problem mit den Schreibrechten:
Natürlich ist WinSCP auch nicht der saubere Weg die Datei anzupassen, aber mein einziges KnowHow.
Über den vi Editor macht der bei mir nur Quatsch und funktioniert nicht gemäß dieser Anleitung: https://www.strato.de/faq/server/wie-kann-ich-dateien-mit-dem-editor-vi-editieren/
-
vi ist auch für Einsteiger nicht das geeignete Werkzeug.
Mach es mit nano im Terminal.
Was hast du denn jetzt genau vor?https://forum.iobroker.net/topic/47213/upgrade-von-debian-10-buster-auf-11-bullseye
-
@thomas-braun ah fantastisch. dann geh ich nach deiner anleitung. merci. hatte hier 2 topics mit anleitungen offen, bin dann aber schlussendlich zu der verlinkten seite gekommen. Dein Topic ist mir nicht untergekommen.
ich update jetzt mal debian von 10 auf 11 und gucke ob dann die abhängigkeiten des esphome adapters ohne probleme gesetzt werden.
-
@Dutchman jetzt steigen wir interessant früh aus:
$ iobroker url DrozmotiX/ioBroker.esphome --host iobroker install DrozmotiX/ioBroker.esphome NPM version: 6.14.16 Installing DrozmotiX/ioBroker.esphome... (System call) > iobroker.esphome@0.2.4 install /opt/iobroker/node_modules/iobroker.esphome> npip install No python_modules directory; installing pip locally if needed. host.iobroker Cannot install DrozmotiX/ioBroker.esphome: 1 ERROR: Process exited with code 25
gefährlich scheint mir:
pi@iobroker:~ $ python --version -bash: python: Kommando nicht gefunden.
Auch manuell installiert funktioniert es nicht:
pi@iobroker:~ $ python --version -bash: python: Kommando nicht gefunden. pi@iobroker:~ $ sudo apt-get install python3-pip Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig python3-pip ist schon die neueste Version (20.3.4-4+rpt1). Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt: bsdmainutils g++-8 geoip-database libbind9-161 libbison-dev libcroco3 libdns1104 libdns1110 libevent-2.1-6 libfl2 libgdk-pixbuf2.0-0 libgeoip1 libicu63 libisc1100 libisc1105 libisccc161 libisccfg163 libisl19 libjim0.77 libjsoncpp1 liblwres161 libmpdec2 libncursesw5 libperl5.28 libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libpython3.7 libpython3.7-minimal libpython3.7-stdlib libstdc++-8-dev libusb-0.1-4 perl-modules-5.28 python2 python2-dev python2-minimal python2.7 python2.7-dev python2.7-minimal python3.7-minimal rpi-eeprom-images rpi.gpio-common usb.ids Verwenden Sie »sudo apt autoremove«, um sie zu entfernen. 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
-
@maxpd sagte in Cryptography Modul Updaten:
sudo apt autoremove
-
@maxpd sagte in Cryptography Modul Updaten:
gefährlich scheint mir:
pi@iobroker:~ $ python --version -bash: python: Kommando nicht gefunden.jup kein python auf dem system installiert
-
@dutchman aber unten drunter wenn ich es neu installieren will sagt er python wäre schon installiert und ich kann nicht neu installieren.
Dein Installationsscript kommt auf jeden Fall schon weiter. Aber es wird keine Instanz angelegt, korrekt? Der Objektbaum ist da.
Mein Telegramm funktioniert aber nun nicht mehr:
telegram.0 2022-03-17 14:17:09.766 error getMe (reconnect #0) Error:Error: EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org telegram.0 2022-03-17 14:16:59.743 warn polling_error: EFATAL, EFATAL: Error: read ETIMEDOUT
-
@maxpd sagte in Cryptography Modul Updaten:
Dein Installationsscript kommt auf jeden Fall schon weiter. Aber es wird keine Instanz angelegt, korrekt? Der Objektbaum ist da.
ohne python kan er nicht installieren, und wen Python -v keine version ausgibt ist deine Python installation nicht OK
@maxpd sagte in Cryptography Modul Updaten:
Mein Telegramm funktioniert aber nun nicht mehr:
telegram.0 2022-03-17 14:17:09.766 error getMe (reconnect #0) Error:Error: EFATAL: Error: getaddrinfo EAI_AGAIN api.telegram.org telegram.0 2022-03-17 14:16:59.743 warn polling_error: EFATAL, EFATAL: Error: read ETIMEDOUTdas ist n anderes problem, er kan die telegram api nicht erreichen
-
@dutchman das ist die ausgabe während der installation
$ iobroker url DrozmotiX/ioBroker.esphome --host iobroker install DrozmotiX/ioBroker.esphome NPM version: 6.14.16 Installing DrozmotiX/ioBroker.esphome... (System call) > iobroker.esphome@0.2.4 install /opt/iobroker/node_modules/iobroker.esphome> npip install No python_modules directory; installing pip locally if needed. Successfully completed pip check. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting esphome>=2021.8 Using cached https://www.piwheels.org/simple/esphome/esphome-2022.3.0-py2.py3-none-any.whl (2.2 MB) Collecting tornado>=3.2 Using cached https://www.piwheels.org/simple/tornado/tornado-6.1-cp39-cp39-linux_armv7l.whl (421 kB) Collecting tzdata>=2021.1 Using cached https://www.piwheels.org/simple/tzdata/tzdata-2021.5-py2.py3-none-any.whl (339 kB) Collecting pyserial==3.5 Using cached https://www.piwheels.org/simple/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB) Collecting esphome-dashboard==20220309.0 Using cached https://www.piwheels.org/simple/esphome-dashboard/esphome_dashboard-20220309.0-py3-none-any.whl (593 kB) Collecting aioesphomeapi==10.8.2 Using cached https://www.piwheels.org/simple/aioesphomeapi/aioesphomeapi-10.8.2-py2.py3-none-any.whl (49 kB) Collecting zeroconf==0.38.3 Using cached https://www.piwheels.org/simple/zeroconf/zeroconf-0.38.3-py3-none-any.whl (97 kB) Collecting voluptuous==0.12.2 Using cached https://www.piwheels.org/simple/voluptuous/voluptuous-0.12.2-py3-none-any.whl (35 kB) Collecting click==8.0.3 Using cached https://www.piwheels.org/simple/click/click-8.0.3-py3-none-any.whl (97 kB) Collecting platformio==5.2.5 Using cached https://www.piwheels.org/simple/platformio/platformio-5.2.5-py3-none-any.whl (343 kB) Collecting esptool==3.2 Using cached https://www.piwheels.org/simple/esptool/esptool-3.2-py3-none-any.whl (326 kB) Collecting kconfiglib==13.7.1 Using cached https://www.piwheels.org/simple/kconfiglib/kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB) Collecting tzlocal==4.1 Using cached https://www.piwheels.org/simple/tzlocal/tzlocal-4.1-py3-none-any.whl (19 kB) Collecting PyYAML==6.0 Using cached https://www.piwheels.org/simple/pyyaml/PyYAML-6.0-cp39-cp39-linux_armv7l.whl (45 kB) Collecting paho-mqtt==1.6.1 Using cached https://www.piwheels.org/simple/paho-mqtt/paho_mqtt-1.6.1-py3-none-any.whl (75 kB) Collecting colorama==0.4.4 Using cached https://www.piwheels.org/simple/colorama/colorama-0.4.4-py2.py3-none-any.whl (16 kB) Collecting protobuf<4.0,>=3.12.2 Using cached https://www.piwheels.org/simple/protobuf/protobuf-3.19.4-py2.py3-none-any.whl (162 kB) Collecting noiseprotocol<1.0,>=0.3.1 Using cached https://www.piwheels.org/simple/noiseprotocol/noiseprotocol-0.3.1-py3-none-any.whl (20 kB) Collecting cryptography>=2.1.4 Using cached https://www.piwheels.org/simple/cryptography/cryptography-36.0.2-cp39-cp39-linux_armv7l.whl (2.7 MB) Collecting ecdsa>=0.16.0 Using cached https://www.piwheels.org/simple/ecdsa/ecdsa-0.17.0-py2.py3-none-any.whl (119 kB) Collecting reedsolo<=1.5.4,>=1.5.3 Using cached https://www.piwheels.org/simple/reedsolo/reedsolo-1.5.4-cp39-cp39-linux_armv7l.whl (921 kB) Collecting bitstring>=3.1.6 Using cached https://www.piwheels.org/simple/bitstring/bitstring-3.1.9-py3-none-any.whl (39 kB) Collecting ajsonrpc==1.* Using cached https://www.piwheels.org/simple/ajsonrpc/ajsonrpc-1.2.0-py3-none-any.whl (22 kB) Requirement already satisfied: requests==2.* in /usr/lib/python3/dist-packages (from platformio==5.2.5->esphome>=2021.8) (2.25.1) Collecting pyelftools<1,>=0.27 Using cached https://www.piwheels.org/simple/pyelftools/pyelftools-0.28-py2.py3-none-any.whl (156 kB) Collecting starlette==0.18.* Using cached https://www.piwheels.org/simple/starlette/starlette-0.18.0-py3-none-any.whl (59 kB) Collecting uvicorn==0.16.0 Using cached https://www.piwheels.org/simple/uvicorn/uvicorn-0.16.0-py3-none-any.whl (56 kB) Collecting tabulate==0.8.* Using cached https://www.piwheels.org/simple/tabulate/tabulate-0.8.9-py3-none-any.whl (25 kB) Collecting aiofiles==0.8.* Using cached https://www.piwheels.org/simple/aiofiles/aiofiles-0.8.0-py3-none-any.whl (13 kB) Collecting bottle==0.12.* Using cached https://www.piwheels.org/simple/bottle/bottle-0.12.19-py3-none-any.whl (89 kB) Collecting wsproto==1.0.* Using cached https://www.piwheels.org/simple/wsproto/wsproto-1.0.0-py3-none-any.whl (24 kB) Collecting semantic-version==2.9.* Using cached https://www.piwheels.org/simple/semantic-version/semantic_version-2.9.0-py2.py3-none-any.whl (19 kB) Collecting marshmallow<4,>=2 Using cached https://www.piwheels.org/simple/marshmallow/marshmallow-3.15.0-py3-none-any.whl (47 kB) Collecting pytz-deprecation-shim Using cached https://www.piwheels.org/simple/pytz-deprecation-shim/pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB) Collecting ifaddr>=0.1.7 Using cached https://www.piwheels.org/simple/ifaddr/ifaddr-0.1.7-py2.py3-none-any.whl (10 kB) Collecting anyio<4,>=3.0.0 Using cached https://www.piwheels.org/simple/anyio/anyio-3.5.0-py3-none-any.whl (79 kB) Collecting typing-extensions Using cached https://www.piwheels.org/simple/typing-extensions/typing_extensions-4.1.1-py3-none-any.whl (26 kB) Collecting h11>=0.8 Using cached https://www.piwheels.org/simple/h11/h11-0.13.0-py3-none-any.whl (58 kB) Collecting asgiref>=3.4.0 Using cached https://www.piwheels.org/simple/asgiref/asgiref-3.5.0-py3-none-any.whl (22 kB) Collecting cffi>=1.12 Using cached https://www.piwheels.org/simple/cffi/cffi-1.15.0-cp39-cp39-linux_armv7l.whl (369 kB) Requirement already satisfied: six>=1.9.0 in /usr/lib/python3/dist-packages (from ecdsa>=0.16.0->esptool==3.2->esphome>=2021.8) (1.16.0) Collecting packaging Using cached https://www.piwheels.org/simple/packaging/packaging-21.3-py3-none-any.whl (40 kB) Collecting sniffio>=1.1 Using cached https://www.piwheels.org/simple/sniffio/sniffio-1.2.0-py3-none-any.whl (10 kB) Requirement already satisfied: idna>=2.8 in /usr/lib/python3/dist-packages (from anyio<4,>=3.0.0->starlette==0.18.*->platformio==5.2.5->esphome>=2021.8) (2.10) Collecting pycparser Using cached https://www.piwheels.org/simple/pycparser/pycparser-2.21-py2.py3-none-any.whl (119 kB) Collecting pyparsing!=3.0.5,>=2.0.2 Using cached https://www.piwheels.org/simple/pyparsing/pyparsing-3.0.7-py3-none-any.whl (98 kB) Installing collected packages: voluptuous, tabulate, reedsolo, pyserial, pyelftools, paho-mqtt, ifaddr, esphome-dashboard, bottle, bitstring, zeroconf, tzdata, typing-extensions, tornado, sniffio, semantic-version, PyYAML, pyparsing, pycparser, protobuf, kconfiglib, h11, ecdsa, colorama, click, asgiref, ajsonrpc, aiofiles, wsproto, uvicorn, pytz-deprecation-shim, packaging, cffi, anyio, tzlocal, starlette, marshmallow, cryptography, platformio, noiseprotocol, esptool, aioesphomeapi, esphome Successfully installed PyYAML-6.0 aioesphomeapi-10.8.2 aiofiles-0.8.0 ajsonrpc-1.2.0 anyio-3.5.0 asgiref-3.5.0 bitstring-3.1.9 bottle-0.12.19 cffi-1.15.0 click-8.0.3 colorama-0.4.4 cryptography-36.0.2 ecdsa-0.17.0 esphome-2022.3.0 esphome-dashboard-20220309.0 esptool-3.2 h11-0.13.0 ifaddr-0.1.7 kconfiglib-13.7.1 marshmallow-3.15.0 noiseprotocol-0.3.1 packaging-21.3 paho-mqtt-1.6.1 platformio-5.2.5 protobuf-3.19.4 pycparser-2.21 pyelftools-0.28 pyparsing-3.0.7 pyserial-3.5 pytz-deprecation-shim-0.1.0.post0 reedsolo-1.5.4 semantic-version-2.9.0 sniffio-1.2.0 starlette-0.18.0 tabulate-0.8.9 tornado-6.1 typing-extensions-4.1.1 tzdata-2021.5 tzlocal-4.1 uvicorn-0.16.0 voluptuous-0.12.2 wsproto-1.0.0 zeroconf-0.38.3 + iobroker.esphome@0.2.4updated 1 package in 110.012s 93 packages are looking for funding run `npm fund` for details upload [5] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/admin.d.ts admin.d.ts video/mp2t upload [4] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/esphome.png esphome.png image/png upload [3] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/img/dashboard.png img/dashboard.png image/png upload [2] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/index_m.html index_m.html text/html upload [1] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/style.css style.css text/css upload [0] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/words.js words.js application/javascript Process exited with code 0