Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Nach Update läuft nichts mehr!

    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

    Nach Update läuft nichts mehr!

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SaschaS @Jan1 last edited by

      @Jan1 said in Nach Update läuft nichts mehr!:

      So Jungs ich muss dann mal in die Sonne, sieht ja ganz gut aus bis jetzt.

      Vielen Dank @Jan1 ! Wünsch dir einen schönen Feiertag und nochmals DANKE!

      1 Reply Last reply Reply Quote 0
      • Wal
        Wal Developer last edited by

        Ganz oben im Log lese ich was von Node 8, ich hoffe das ist eine Falschmeldung.

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

          Ich glaube, da spukt noch ein node 8.17.0 herum:

          notsup Actual:   {"npm":"6.14.2","node":"8.17.0"}
          
          node -v
          which node
          
          sudo apt install nodejs --reinstall
          

          Wobei ich es jetzt dem @Jan1 gleichtun werde und mein Motorrad etwas durch die Eifel hetze.

          S 1 Reply Last reply Reply Quote 0
          • Wal
            Wal Developer last edited by

            mach mal ein

            find /usr -name node
            

            evtl. ist Node mehrmals installiert.

            S 1 Reply Last reply Reply Quote 0
            • S
              SaschaS last edited by

              Ihr habt Recht mit Node. Ich war zu voreilig.

              pi@raspberrypi:/opt/iobroker $ iobroker upgrade self
              Update js-controller from @2.2.8 to @2.2.9
              NPM version: 6.14.2
              npm install iobroker.js-controller@2.2.9 --unsafe-perm --loglevel error --prefix "/opt/iobroker" (System call)
              npm ERR! code ENOTSUP
              npm ERR! notsup Unsupported engine for semver@7.1.2: wanted: {"node":">=10"} (current: {"node":"8.17.0","npm":"6.14.2"})
              npm ERR! notsup Not compatible with your version of node/npm: semver@7.1.2
              npm ERR! notsup Not compatible with your version of node/npm: semver@7.1.2
              npm ERR! notsup Required: {"node":">=10"}
              npm ERR! notsup Actual:   {"npm":"6.14.2","node":"8.17.0"}
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /home/iobroker/.npm/_logs/2020-05-21T10_21_15_537Z-debug.log
              Starting node restart.js
              
              1 Reply Last reply Reply Quote 0
              • S
                SaschaS @Wal last edited by SaschaS

                @Wal said in Nach Update läuft nichts mehr!:

                find /usr -name node

                pi@raspberrypi:/opt/iobroker $ find /usr -name node
                /usr/bin/node
                /usr/share/doc/node
                /usr/include/node
                
                pi@raspberrypi:/opt/iobroker $ node -v
                v8.17.0
                pi@raspberrypi:/opt/iobroker $ which node
                /usr/bin/node
                
                1 Reply Last reply Reply Quote 0
                • S
                  SaschaS @Thomas Braun last edited by

                  @Thomas-Braun said in Nach Update läuft nichts mehr!:

                  notsup Actual: {"npm":"6.14.2","node":"8.17.0"}

                  notsup Actual: {"npm":"6.14.2","node":"8.17.0"}
                  
                  1 Reply Last reply Reply Quote 0
                  • S
                    SaschaS last edited by

                    @Thomas-Braun said in Nach Update läuft nichts mehr!:

                    sudo apt install nodejs --reinstall

                    Hmm...der installiert doch jetzt wieder und die 8.17.0 oder?

                    pi@raspberrypi:/opt/iobroker $ sudo apt install nodejs --reinstall
                    Paketlisten werden gelesen... Fertig
                    Abhängigkeitsbaum wird aufgebaut.       
                    Statusinformationen werden eingelesen.... Fertig
                    0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 29 nicht aktualisiert.
                    Es müssen 12,8 MB an Archiven heruntergeladen werden.
                    Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
                    Holen:1 https://deb.nodesource.com/node_8.x stretch/main armhf nodejs armhf 8.17.0-1nodesource1 [12,8 MB]
                    Es wurden 12,8 MB in 3 s geholt (4.257 kB/s).
                    (Lese Datenbank ... 59454 Dateien und Verzeichnisse sind derzeit installiert.)
                    Vorbereitung zum Entpacken von .../nodejs_8.17.0-1nodesource1_armhf.deb ...
                    Detected old npm client, removing...
                    Entpacken von nodejs (8.17.0-1nodesource1) über (8.17.0-1nodesource1) ...
                    
                    Fortschritt: [ 16%] [####################################
                    
                    1 Reply Last reply Reply Quote 0
                    • S
                      SaschaS last edited by

                      @Thomas-Braun Ich wünsch dir viel Spaß beim Kurven fahren. Ich glaub das Thema wird hier nicht fertig. Ich lasse einfach mal alles offen stehen, vielleicht können wir das ja zu einem späteren Zeitpunkt fortsetzen. Bzw. andere User haben weitere Ideen wie man jetzt noch das node aktuell hinbekommt.

                      1 Reply Last reply Reply Quote 0
                      • S
                        SaschaS last edited by

                        Ich könnte mich mal noch an die Doku machen. Stand ja auch mal im Raum.

                        haselchen 1 Reply Last reply Reply Quote 0
                        • haselchen
                          haselchen Most Active @SaschaS last edited by

                          @SaschaS
                          sudo apt-get --purge remove nodejs
                          sudo apt-get autoremove
                          sudo reboot

                          Und danach wieder die 12er installieren nach Anleitung hier von Jan oder Thomas.

                          1 Reply Last reply Reply Quote 0
                          • E
                            Einstein67 last edited by Einstein67

                            sudo apt-get --purge remove node
                            sudo apt-get --purge remove nodejs
                            sudo apt-get autoremove
                            
                            Danach rebooten und neu installieren
                            
                            curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
                            

                            Hast du aber schon gemacht, oder? Ich hab nicht alles gelesen ...

                            Edit: war zu langsam 😉

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              SaschaS @Einstein67 last edited by

                              @Einstein67 said in Nach Update läuft nichts mehr!:

                              apt-get --purge remove node
                              apt-get --purge remove nodejs
                              apt-get autoremove
                              
                              Danach rebooten und neu installieren
                              
                              curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
                              

                              Hast du aber schon gemacht, oder? Ich hab nicht alles gelesen ...

                              @Einstein67 und @haselchen Genau an diesen Schritten bin ich gerade dabei. Ich poste sobald der letzte Befehl durch ist.

                              1 Reply Last reply Reply Quote 0
                              • E
                                Einstein67 last edited by

                                @SaschaS said in Nach Update läuft nichts mehr!:

                                Genau an diesen Schritten bin ich gerade dabei

                                Aber genau an dem Punkt warst du doch schon vor 4 Stunden 😉

                                J S 2 Replies Last reply Reply Quote 0
                                • J
                                  Jan1 @Einstein67 last edited by

                                  @Einstein67
                                  Das war auch ein Grund warum ich lieber zuerst die alte Node entfernt hätte, wobei das Update über die sources.list hätte sauber funktionieren müssen, wenn vorher da nicht schon was nicht sauber war.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    SaschaS @Einstein67 last edited by

                                    @Einstein67

                                    Ich steh da wohl noch länger als 4 Stunden rum 😉

                                    Soll ich mal dem Text vertrauen und sudo apt-get install -y nodejs ausführen?

                                    pi@raspberrypi:/opt/iobroker $ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
                                    
                                    ## Installing the NodeSource Node.js 12.x repo...
                                    
                                    
                                    ## Populating apt-get cache...
                                    
                                    + apt-get update
                                    OK:1 http://phoscon.de/apt/deconz stretch InRelease
                                    Holen:2 http://archive.raspberrypi.org/debian stretch InRelease [25,4 kB]
                                    Holen:3 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15,0 kB]
                                    OK:4 https://deb.nodesource.com/node_8.x stretch InRelease
                                    Holen:5 http://archive.raspberrypi.org/debian stretch/main armhf Packages [201 kB]
                                    Holen:6 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11,7 MB]
                                    Es wurden 11,9 MB in 36 s geholt (326 kB/s).                                                                                                                                                                                                      
                                    Paketlisten werden gelesen... Fertig
                                    
                                    ## Confirming "stretch" is supported...
                                    
                                    + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/stretch/Release'
                                    
                                    ## Adding the NodeSource signing key to your keyring...
                                    
                                    + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
                                    OK
                                    
                                    ## Creating apt sources list file for the NodeSource Node.js 12.x repo...
                                    
                                    + echo 'deb https://deb.nodesource.com/node_12.x stretch main' > /etc/apt/sources.list.d/nodesource.list
                                    + echo 'deb-src https://deb.nodesource.com/node_12.x stretch main' >> /etc/apt/sources.list.d/nodesource.list
                                    
                                    ## Running `apt-get update` for you...
                                    
                                    + apt-get update
                                    OK:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
                                    OK:2 http://phoscon.de/apt/deconz stretch InRelease
                                    OK:3 http://archive.raspberrypi.org/debian stretch InRelease
                                    Holen:4 https://deb.nodesource.com/node_12.x stretch InRelease [4.585 B]
                                    Holen:5 https://deb.nodesource.com/node_12.x stretch/main armhf Packages [775 B]
                                    Es wurden 5.360 B in 2 s geholt (2.203 B/s).
                                    Paketlisten werden gelesen... Fertig
                                    
                                    ## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
                                    ## You may also need development tools to build native addons:
                                         sudo apt-get install gcc g++ make
                                    ## To install the Yarn package manager, run:
                                         curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
                                         echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
                                         sudo apt-get update && sudo apt-get install yarn
                                    
                                    
                                    
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • E
                                      Einstein67 last edited by Einstein67

                                      Ja Sorry den Befehl hab ich vergessen.

                                      sudo apt-get install -y nodejs

                                      Der installiert nodejs.

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        SaschaS @Einstein67 last edited by SaschaS

                                        @Einstein67 said in Nach Update läuft nichts mehr!:

                                        Ja Sorry den Befehl hab ich vergessen.

                                        sudo apt-get install -y nodejs

                                        Der installiert nodejs.

                                        pi@raspberrypi:/opt/iobroker $ sudo apt-get install -y nodejs
                                        E: Typ »A« in Zeile 1 der Quellliste /etc/apt/sources.list.d/nodesource.list ist unbekannt.
                                        E: Die Liste der Quellen konnte nicht gelesen werden.
                                        E: Typ »A« in Zeile 1 der Quellliste /etc/apt/sources.list.d/nodesource.list ist unbekannt.
                                        E: Die Liste der Quellen konnte nicht gelesen werden.
                                        

                                        Die Liste sieht so aus:

                                        
                                        A^@m^@e^@t^@e^@ ^@A^@l^@e^@m^@ ^@E^@t^@i^@o^@p^@i^@a^@^@^@S^@o^@r^@t^@i^@r^@ ^@D^@i^@g^@i^@t^@ ^@S^@e^@c^@a^@r^@a^@ ^@N^@u^@m^@e^@r^@i^@k^@^@^@S^@o^@r^@t^@i^@r^@ ^@K^@a^@
                                        
                                        haselchen 1 Reply Last reply Reply Quote 0
                                        • haselchen
                                          haselchen Most Active @SaschaS last edited by

                                          @SaschaS

                                          Jetzt rächt sich wahrscheinlich die Fummelei in der source List.
                                          @Jan1 hatte davor gewarnt.

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            SaschaS @haselchen last edited by

                                            @haselchen 😄
                                            Was gehört denn jetzt in die nodesource.list. hinein? Sollte sich ja korrigieren lassen, oder?

                                            haselchen 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.1k
                                            Topics

                                            1.3m
                                            Posts

                                            help wanted iobroker update js controller update json npm
                                            18
                                            416
                                            53533
                                            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