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

      @andre105

      Nein, sollte kein Problem sein.

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

        @thomas-braun
        Hat geklappt 👍

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

          @andre105

          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?

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

            @thomas-braun

            The programs included with the Debian GNU/Linux system are free software;
            the exact distribution terms for each program are described in the
            individual files in /usr/share/doc/*/copyright.
            
            Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
            permitted by applicable law.
            Last login: Sat Sep 17 19:12:00 2022 from 192.168.178.28
            andre105@iobroker:~$ 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
            [sudo] Passwort für andre105:
            ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden:                                                      Die Datei existiert bereits
            x86_64
            /usr/bin/nodejs
            /usr/bin/node
            /usr/bin/npm
            v16.17.0
            v16.17.0
            8.15.0
            4.0.23
            andre105
            andre105 dialout cdrom floppy sudo audio dip video plugdev netdev iobroker
            /home/andre105
            OK:1 http://phoscon.de/apt/deconz bullseye InRelease
            OK:2 http://security.debian.org/debian-security bullseye-security InRelease
            OK:3 https://deb.nodesource.com/node_16.x bullseye InRelease
            OK:4 http://ftp.de.debian.org/debian bullseye InRelease
            OK:5 http://ftp.de.debian.org/debian bullseye-updates InRelease
            Paketlisten werden gelesen… Fertig
            Abhängigkeitsbaum wird aufgebaut… Fertig
            Statusinformationen werden eingelesen… Fertig
            Alle Pakete sind aktuell.
            nodejs:
              Installiert:           16.17.0-deb-1nodesource1
              Installationskandidat: 16.17.0-deb-1nodesource1
              Versionstabelle:
             *** 16.17.0-deb-1nodesource1 500
                    500 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages
                    100 /var/lib/dpkg/status
                 12.22.12~dfsg-1~deb11u1 500
                    500 http://security.debian.org/debian-security bullseye-security/main am                                                     d64 Packages
                 12.22.5~dfsg-2~11u1 500
                    500 http://ftp.de.debian.org/debian bullseye/main amd64 Packages
            andre105@iobroker:~$
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Andre105 last edited by

              @andre105

              Passt. Der npm tree ist auch sauber?

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

                                            Support us

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

                                            858
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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