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.
    • Thomas Braun
      Thomas Braun Most Active @maxpd last edited by Thomas Braun

      @maxpd

      Die Version aus dem Repo wird hier sauber installiert:

      2022-03-11 10:00:34.338  - info: host.chet iobroker add esphome auto --host chet
      2022-03-11 10:00:37.910  - info: host.chet iobroker NPM version: 8.5.2
      2022-03-11 10:00:37.914  - info: host.chet iobroker Installing iobroker.esphome@0.2.4... (System call)
      2022-03-11 10:03:29.158  - info: host.chet iobroker
      2022-03-11 10:03:29.160  - info: host.chet iobroker added 82 packages in 3m
      2022-03-11 10:03:29.161  - info: host.chet iobroker 64 packages are looking for funding
      2022-03-11 10:03:29.163  - info: host.chet iobroker   run `npm fund` for details
      2022-03-11 10:03:29.221  - info: host.chet iobroker host.chet install adapter esphome
      2022-03-11 10:03:29.275  - info: host.chet iobroker upload [5] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/admin.d.ts admin.d.ts video/mp2t
      2022-03-11 10:03:29.342  - info: host.chet iobroker upload [4] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/esphome.png esphome.png image/png
      2022-03-11 10:03:29.355  - info: host.chet iobroker upload [3] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/img/dashboard.png img/dashboard.png image/png
      2022-03-11 10:03:29.379  - info: host.chet iobroker upload [2] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/index_m.html index_m.html text/html
      2022-03-11 10:03:29.392  - info: host.chet iobroker upload [1] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/style.css style.css text/css
      2022-03-11 10:03:29.404  - info: host.chet iobroker upload [0] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/words.js words.js application/javascript
      2022-03-11 10:03:29.537  - info: host.chet iobroker host.chet object system.adapter.esphome created/updated
      2022-03-11 10:03:29.615  - info: host.chet iobroker host.chet create instance esphome
      2022-03-11 10:03:29.637  - info: host.chet iobroker host.chet object system.adapter.esphome.0.alive created
      2022-03-11 10:03:29.655  - info: host.chet iobroker host.chet object system.adapter.esphome.0.connected created
      2022-03-11 10:03:29.669  - info: host.chet iobroker host.chet object system.adapter.esphome.0.compactMode created
      2022-03-11 10:03:29.682  - info: host.chet iobroker host.chet object system.adapter.esphome.0.cpu created
      2022-03-11 10:03:29.695  - info: host.chet iobroker host.chet object system.adapter.esphome.0.cputime created
      2022-03-11 10:03:29.712  - info: host.chet iobroker host.chet object system.adapter.esphome.0.memHeapUsed created
      2022-03-11 10:03:29.730  - info: host.chet iobroker host.chet object system.adapter.esphome.0.memHeapTotal created
      2022-03-11 10:03:29.745  - info: host.chet iobroker host.chet object system.adapter.esphome.0.memRss created
      2022-03-11 10:03:29.761  - info: host.chet iobroker host.chet object system.adapter.esphome.0.uptime created
      2022-03-11 10:03:29.773  - info: host.chet iobroker host.chet object system.adapter.esphome.0.inputCount created
      2022-03-11 10:03:29.786  - info: host.chet iobroker host.chet object system.adapter.esphome.0.outputCount created
      2022-03-11 10:03:29.798  - info: host.chet iobroker host.chet object system.adapter.esphome.0.eventLoopLag created
      2022-03-11 10:03:29.810  - info: host.chet iobroker host.chet object system.adapter.esphome.0.sigKill created
      2022-03-11 10:03:29.823  - info: host.chet iobroker host.chet object system.adapter.esphome.0.logLevel created
      2022-03-11 10:03:29.832  - info: host.chet iobroker host.chet object esphome.0.info created
      2022-03-11 10:03:29.844  - info: host.chet iobroker host.chet object esphome.0.info.connection created
      2022-03-11 10:03:29.850  - info: host.chet iobroker host.chet Set default value of esphome.0.info.connection: false
      2022-03-11 10:03:29.868  - info: host.chet iobroker host.chet object system.adapter.esphome.0 created
      2022-03-11 10:03:30.900  - info: host.chet iobroker exit 0
      2022-03-11 10:03:33.017  - info: host.chet instance system.adapter.esphome.0 started with pid 30887
      2022-03-11 10:03:34.922  - info: esphome.0 (30887) starting. Version 0.2.4 in /opt/iobroker/node_modules/iobroker.esphome, node: v17.7.0, js-controller: 4.0.19
      2022-03-11 10:03:35.005  - info: esphome.0 (30887) Auto Discovery startet, new devices (or IP changes) will be detected automatically
      2022-03-11 10:03:35.011  - info: esphome.0 (30887) Native Integration of ESPHome Dashboard enabled
      2022-03-11 10:03:36.814  - info: esphome.0 (30887) [ESPHome - Console] 2022-03-11 10:03:36,812 INFO Starting dashboard web server on http://0.0.0.0:6052 and configuration dir /opt/iobroker/iobroker-data/esphome.0...
      
      esphome
      github:	0.2.4
      latest:	0.2.4 for 6 months
      stable:	-.-.-
      
      1 Reply Last reply Reply Quote 0
      • M
        maxpd last edited by maxpd

        deleted.

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

          @Thomas-Braun wie meinst du das?

          Ich habe es über npm und github versucht. Die Ausgabe ist immer die gleiche.

          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:

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

            Passt !

            @maxpd sagte in Cryptography Modul Updaten:

            sudo apt update
            iobroker upgrade
            iobroker upgrade self

            hier 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-dev

            sollte unnötig sein da pip die python Abhängigkeiten selber installiert

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

              @dutchman

              Danke. Den Befehl habe ich nun auch ausgeführt. Aber der Fehler bleibt schlussendlich der gleiche.

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

                @maxpd

                sudo apt update
                apt policy python3 python3-pip
                

                Vollständige Ein- wie Ausgaben in CodeTags setzen.

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

                  @thomas-braun

                  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
                  
                  
                  M 1 Reply Last reply Reply Quote 0
                  • M
                    maxpd @maxpd last edited by

                    @Thomas-Braun ist das das was du sehen wolltest?

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

                      @maxpd
                      Ja.
                      Sieht aber gut aus.

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

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

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

                          @maxpd

                          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.

                          M 1 Reply Last reply Reply Quote 0
                          • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            913
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            29
                                            1303
                                            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