Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Cryptography Modul Updaten

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Cryptography Modul Updaten

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      maxpd @Thomas Braun last edited by

      @thomas-braun ok, dann bleib ich von @Dutchman oder einem zukünftigen esp release abhängig, weil andere Ideen habe ich keine

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @maxpd last edited by

        @maxpd

        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.

        M 1 Reply Last reply Reply Quote 1
        • M
          maxpd @Thomas Braun last edited by maxpd

          @thomas-braun

          Ich wollte nach dieser Anleitung

          https://schroederdennis.de/tutorial-howto/debian-10-buster-auf-debian-11-bullseye-linux-updaten-anleitung/

          vorgehen, habe aber ein Problem mit den Schreibrechten:

          0c44f046-3352-4541-8619-88703f8a8120-image.png

          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/

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @maxpd last edited by Thomas Braun

            @maxpd

            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

            M 1 Reply Last reply Reply Quote 0
            • M
              maxpd @Thomas Braun last edited by maxpd

              @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.

              M 1 Reply Last reply Reply Quote 0
              • M
                maxpd @maxpd last edited by maxpd

                @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.
                
                
                Thomas Braun Dutchman 3 Replies Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @maxpd last edited by

                  @maxpd sagte in Cryptography Modul Updaten:

                  sudo apt autoremove
                  
                  1 Reply Last reply Reply Quote 0
                  • Dutchman
                    Dutchman Developer Most Active Administrators @maxpd last edited by

                    @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

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      maxpd @Dutchman last edited by

                      @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
                      
                      Dutchman 1 Reply Last reply Reply Quote 0
                      • Dutchman
                        Dutchman Developer Most Active Administrators @maxpd last edited by Dutchman

                        @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 ETIMEDOUT

                        das ist n anderes problem, er kan die telegram api nicht erreichen

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          maxpd @Dutchman last edited by

                          @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
                          
                          Dutchman 1 Reply Last reply Reply Quote 0
                          • Dutchman
                            Dutchman Developer Most Active Administrators @maxpd last edited by

                            @maxpd

                            installation ist jetzt erfolgreich, du hast per git/url installiert dan wird keine Instanz erstellet also das noch Manuel machen bitte

                            1 Reply Last reply Reply Quote 1
                            • Thomas Braun
                              Thomas Braun Most Active @maxpd last edited by

                              @maxpd sagte in Cryptography Modul Updaten:

                              python --version

                              python3 --version
                              apt policy python python3
                              
                              M 1 Reply Last reply Reply Quote 1
                              • M
                                maxpd @Thomas Braun last edited by

                                @thomas-braun

                                Ach ja, wie blöd....

                                pi@iobroker:~ $ python3 --version
                                Python 3.9.2
                                pi@iobroker:~ $ apt policy python python3
                                python:
                                  Installiert:           (keine)
                                  Installationskandidat: (keine)
                                  Versionstabelle:
                                     2.7.16-1 -1
                                        100 /var/lib/dpkg/status
                                python3:
                                  Installiert:           3.9.2-3
                                  Installationskandidat: 3.9.2-3
                                  Versionstabelle:
                                 *** 3.9.2-3 500
                                        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                        100 /var/lib/dpkg/status
                                
                                

                                Alles sauber.

                                sudo apt autoremove
                                

                                war übrigens die Lösung. Hatte ich selbst einfach nur der Sauberheit durchgeführt aber nicht als Anlass eines Lösungsversuchen genommen 😒

                                Telegramm hat sich selber wieder gefangen.

                                Ich denke damit ist das Topic gelöst.
                                Vielen Dank 🙂

                                Thomas Braun 1 Reply Last reply Reply Quote 1
                                • Thomas Braun
                                  Thomas Braun Most Active @maxpd last edited by

                                  @maxpd

                                  Eine saubere, in sich konsistente Paketdatenbank ist das a und o eines rundlaufenden Systems.

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post

                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate
                                  FAQ Cloud / IOT
                                  HowTo: Node.js-Update
                                  HowTo: Backup/Restore
                                  Downloads
                                  BLOG

                                  486
                                  Online

                                  31.9k
                                  Users

                                  80.2k
                                  Topics

                                  1.3m
                                  Posts

                                  4
                                  29
                                  1286
                                  Loading More Posts
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  Community
                                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                  The ioBroker Community 2014-2023
                                  logo