Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [How-to] Node.js ioBroker richtig updaten-2021/22 Edition

    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

    [How-to] Node.js ioBroker richtig updaten-2021/22 Edition

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

      @thomas-braun

      andre105@iobroker:~$ cd /opt/iobroker
      npm ls | grep -E 'github|ERR'
      andre105@iobroker:/opt/iobroker$
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Andre105 last edited by

        @andre105

        Prima.Viel Spaß mit nodejs 16.

        A 1 Reply Last reply Reply Quote 0
        • A
          Andre105 @Thomas Braun last edited by

          @thomas-braun

          Super, wie immer Danke für die Hilfe.

          Ich muss auch immer am Ball bleiben.
          Jetzt kommt die dunkle Jahreszeit,da kann man sie wieder mehr mit beschäftigen.

          1 Reply Last reply Reply Quote 0
          • Claus1985 0
            Claus1985 0 last edited by

            Hi Zusammen,

            bekomme das Update auf 16 nicht hin:

             curl -sL https://deb.nodesource.com/setup_16.x | sudo -E                                                                                                                                                              bash -
            
            ## Installing the NodeSource Node.js 16.x repo...
            
            
            ## Populating apt-get cache...
            
            + apt-get update
            Holen:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB]
            Holen:2 http://www.deb-multimedia.org buster InRelease [17,8 kB]
            Holen:3 http://archive.raspberrypi.org/debian buster InRelease [32,6 kB]
            Holen:4 https://deb.nodesource.com/node_14.x buster InRelease [4.584 B]
            Ign:5 https://repos.influxdata.com/raspbian buster InRelease
            Fehl:6 https://repos.influxdata.com/raspbian buster Release
              404  Not Found [IP: 2600:9000:223e:9000:11:fe8d:7d40:93a1 443]
            Holen:7 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13,                                                                                                                                                             0 MB]
            Holen:8 http://archive.raspberrypi.org/debian buster/main armhf Packages [392 kB                                                                                                                                                             ]
            Holen:9 https://deb.nodesource.com/node_14.x buster/main armhf Packages [782 B]
            Paketlisten werden gelesen... Fertig
            E: Das Depot »https://repos.influxdata.com/raspbian buster Release« enthält kein                                                                                                                                                             e Release-Datei.
            N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art dur                                                                                                                                                             chgeführt werden, daher ist es standardmäßig deaktiviert.
            N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfigur                                                                                                                                                             ation finden Sie in der Handbuchseite apt-secure(8).
            N: Für das Depot »http://www.deb-multimedia.org buster InRelease« wurde der »Ver                                                                                                                                                             sion«-Wert von »10.12« in »10.13« geändert.
            Error executing command, exiting
            

            Wie kann ich das Update durchführen / den Fehler beheben?

            Danke und Gruß,

            Claus

            J 1 Reply Last reply Reply Quote 0
            • J
              Jan1 @Claus1985 0 last edited by

              @claus1985-0 sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

              Holen:9 https://deb.nodesource.com/node_14.x buster/main armhf Packages [782 B]

              Editiere die nodesource.list unter /etc/apt/ und schreib da 16 rein, dann macht er automatisch das Update auf 16 😉

              Claus1985 0 Thomas Braun 2 Replies Last reply Reply Quote 0
              • Claus1985 0
                Claus1985 0 @Jan1 last edited by

                @jan1 Danke für die schnelle Antwort, allerdings habe ich im Verzeichnis keine nodesource.list:

                /etc/apt $ dir
                apt.conf.d   listchanges.conf  sources.list    trusted.gpg   trusted.gpg.d
                auth.conf.d  preferences.d     sources.list.d  trusted.gpg~
                
                J 1 Reply Last reply Reply Quote 0
                • J
                  Jan1 @Claus1985 0 last edited by

                  @claus1985-0
                  Jou, Fehler von mir. Liegt in sources.list.d

                  Claus1985 0 1 Reply Last reply Reply Quote 0
                  • Claus1985 0
                    Claus1985 0 @Jan1 last edited by

                    @jan1 wenn ich die Datei mit nano öffne ist kein Inhalt drin und nano sagt "„sources.list.d“ ist ein Verzeichnis "

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      Jan1 @Claus1985 0 last edited by

                      @claus1985-0
                      Du musst die Datei ja auch angeben:

                      sudo nano /etc/apt/sources.list.d/nodesource.list
                      
                      Claus1985 0 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Jan1 last edited by

                        @jan1 sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                        dann macht er automatisch das Update auf 16

                        Aber nur wenn die anderen Kinken aus den Quellen repariert werden.

                        Influx-Repo ist offenbar falsch, und das Multimedia -Dingsie muss umgestellt werden. (Wozu braucht man das überhaupt?)

                        sudo apt update
                        sudo apt full-upgrade
                        

                        muss final jedenfalls durchlaufen.

                        Claus1985 0 1 Reply Last reply Reply Quote 0
                        • Claus1985 0
                          Claus1985 0 @Jan1 last edited by

                          @jan1 ja sorry habs verpeilt...

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            Jan1 @Claus1985 0 last edited by

                            @claus1985-0
                            und den Rest der falsch ist erst mal raus, da sonst eh nix läuft wie Thomas schon geschrieben hat

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

                              @thomas-braun wie kann ich denn den Influxdb Eintrag aus der Quellen Liste für apt entfernen?
                              Reicht das wenn ich die Datei influxdb.list aus dem Verzeichnis sources.list.d lösche?

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

                                @claus1985-0

                                Ich würde ja einen gültigen Eintrag reinsetzen.
                                Oder die krumme Zeile erstmal nur mit

                                # auskommentieren. 
                                

                                Ein gültige Zeile sollte so aussehen:

                                deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/debian buster stable
                                
                                Claus1985 0 1 Reply Last reply Reply Quote 0
                                • Claus1985 0
                                  Claus1985 0 @Thomas Braun last edited by

                                  @thomas-braun habs auskommentiert, lief einwandfrei durch.
                                  Update auf 16 hat geklappt. ioBroker läuft wieder wie gehabt.
                                  Einzig der Zigbee Adapter startet nicht mehr und das ohne jegliche Fehlermeldung.

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

                                    @claus1985-0 sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                                    Einzig der Zigbee Adapter startet nicht mehr und das ohne jegliche Fehlermeldung.

                                    Der dürfte gerade neugebaut werden. Geduld.

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

                                      @thomas-braun hast recht, läuft wieder einwandfrei 👍 Vielen Dank für Eure Hilfe!!

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

                                        @claus1985-0

                                        sudo ln -s /usr/bin/node /usr/bin/nodejs
                                        uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                        

                                        sagt jetzt?

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

                                          @thomas-braun alles jeweils auf der neusten Version:

                                          uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                          armv7l
                                          /usr/bin/nodejs
                                          /usr/bin/node
                                          /usr/bin/npm
                                          v16.17.1
                                          v16.17.1
                                          8.15.0
                                          4.0.23
                                          pi
                                          pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
                                          /home/pi
                                          OK:1 http://www.deb-multimedia.org buster InRelease
                                          OK:2 http://archive.raspberrypi.org/debian buster InRelease
                                          OK:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                          OK:4 https://deb.nodesource.com/node_16.x buster InRelease
                                          Paketlisten werden gelesen... Fertig
                                          Abhängigkeitsbaum wird aufgebaut.
                                          Statusinformationen werden eingelesen.... Fertig
                                          Alle Pakete sind aktuell.
                                          nodejs:
                                            Installiert:           16.17.1-deb-1nodesource1
                                            Installationskandidat: 16.17.1-deb-1nodesource1
                                            Versionstabelle:
                                           *** 16.17.1-deb-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                                                  100 /var/lib/dpkg/status
                                               10.24.0~dfsg-1~deb10u1 500
                                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Claus1985 0 last edited by

                                            @claus1985-0 sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                                            Passt. Dann kannst du ja jetzt die influxdb.list reparieren, falls es da was zu reparieren gibt.

                                            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

                                            662
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            97
                                            812
                                            320539
                                            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