Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. IOB läuft nicht mehr nach node 14.x update

    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

    IOB läuft nicht mehr nach node 14.x update

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Mr English last edited by

      @mr-english

      NodeJS ist die Laufzeitumgebung. Das hat mit einem Start von iobroker nix zu tun.

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

        @thomas-braun said in [HowTo] ioBroker Restore unter Linux durchführen:

        cd/opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller

        pi@raspberrypi4-iob:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
        npm ERR! cb.apply is not a function
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/iobroker/.npm/_logs/2022-07-01T22_14_47_845Z-debug.log
        
        

        das kommt bei ssh wieder raus

        Thomas Braun simatec 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Mr English last edited by

          @mr-english

          sudo ln -s /usr/bin/node /usr/bin/nodejs
          uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
          
          Mr English 1 Reply Last reply Reply Quote 0
          • simatec
            simatec Developer Most Active @Mr English last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • Mr English
              Mr English @Thomas Braun last edited by Mr English

              @thomas-braun
              ich glaube ich muss den iobroker komplett neu aufsetzen und alle Skripte neu schreiben
              wei das hat auch nicht wirklich was gebracht

              pi@raspberrypi4-iob:/opt/iobroker $ sudo ln -s /usr/bin/node /usr/bin/nodejs
              pi@raspberrypi4-iob:/opt/iobroker $ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
              armv7l
              /usr/bin/nodejs
              /usr/bin/node
              /usr/bin/npm
              v14.19.3
              v14.19.3
              4.6.1
              pi
              /opt/iobroker
              OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
              OK:2 https://deb.nodesource.com/node_8.x buster InRelease
              OK:3 http://archive.raspberrypi.org/debian buster InRelease
              Paketlisten werden gelesen... Fertig
              Abhängigkeitsbaum wird aufgebaut.
              Statusinformationen werden eingelesen.... Fertig
              Alle Pakete sind aktuell.
              nodejs:
                Installiert:           14.19.3-deb-1nodesource1
                Installationskandidat: 14.19.3-deb-1nodesource1
                Versionstabelle:
               *** 14.19.3-deb-1nodesource1 100
                      100 /var/lib/dpkg/status
                   10.24.0~dfsg-1~deb10u1 500
                      500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                   8.17.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_8.x buster/main armhf Packages
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Mr English last edited by Thomas Braun

                @mr-english

                npm4 ist ja auch falsch und das nodesource-Repo hast du auch nicht (richtig) angelegt. Wie kommst du da an node14?

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

                  @thomas-braun
                  ich habe es einfach ge updatet weil der aktuelle "ring" adapter nur mit node 14 läuft

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

                    @mr-english
                    Und wie? Das hast du nicht nach den Anleitungen für ein node-Upgrade gemacht sondern 'irgendwie anders'

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

                      @thomas-braun said in [HowTo] ioBroker Restore unter Linux durchführen:

                      @mr-english
                      Und wie? Das hast du nicht nach den Anleitungen für ein node-Upgrade gemacht sondern 'irgendwie anders'

                      ich habe diese anleitung ver wendet "https://medium.com/@thedyslexiccoder/how-to-update-nodejs-npm-on-a-raspberry-pi-4-da75cad4148c"

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

                        @mr-english
                        Die ist Mega-Murks.

                        In meiner Signatur steht wie es richtig geht.

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

                          @thomas-braun

                          ist der iobroker damit noch zu retten oder ist es hoffnungslos ?

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

                            @mr-english

                            Zuerst mal musst du nodejs richtig installieren. Dann kann man weiter schauen.

                            Mach dazu einen eigenen Thread auf. Das ist hier komplett am Thema vorbei.

                            1 Reply Last reply Reply Quote 0
                            • Mr English
                              Mr English @Mr English last edited by

                              @thomas-braun

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

                                @mr-english
                                Wie im anderen Threads schon geschrieben:

                                Installier nodeJS16 neu, aber richtig. Anleitung in meiner Signatur.

                                1 Reply Last reply Reply Quote 0
                                • Mr English
                                  Mr English last edited by Mr English

                                  @thomas-braun

                                  habe ich schon, aber es funktionier trotzdem nicht

                                  pi@raspberrypi4-iob:~ $ node -v
                                  v16.15.1
                                  
                                  
                                  pi@raspberrypi4-iob:~ $ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                  armv7l
                                  /usr/bin/nodejs
                                  /usr/bin/node
                                  /usr/bin/npm
                                  v16.15.1
                                  v16.15.1
                                  8.11.0
                                  pi
                                  /home/pi
                                  OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                  OK:2 http://archive.raspberrypi.org/debian buster InRelease
                                  OK:3 https://deb.nodesource.com/node_16.x bullseye InRelease
                                  Paketlisten werden gelesen... Fertig
                                  Abhängigkeitsbaum wird aufgebaut.
                                  Statusinformationen werden eingelesen.... Fertig
                                  Alle Pakete sind aktuell.
                                  nodejs:
                                    Installiert:           16.15.1-deb-1nodesource1
                                    Installationskandidat: 16.15.1-deb-1nodesource1
                                    Versionstabelle:
                                   *** 16.15.1-deb-1nodesource1 500
                                          500 https://deb.nodesource.com/node_16.x bullseye/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
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • Mr English
                                    Mr English last edited by

                                    @mr-english
                                    hat sich alles erledigt der IOB ist TOT

                                    pi@raspberrypi4-iob:~ $ iob status
                                    sudo: node: Befehl nicht gefunden
                                    
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Mr English last edited by Thomas Braun

                                      @mr-english

                                      In der nodesource.list steht bullseye drin, du fährst aber buster. Ändern!
                                      Und das System einmal rebooten.

                                      Und dann den js-controller nochmal installieren.

                                      cd /opt/iobroker
                                      sudo -H -u iobroker npm install iobroker.js-controller
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate

                                      912
                                      Online

                                      31.9k
                                      Users

                                      80.1k
                                      Topics

                                      1.3m
                                      Posts

                                      3
                                      21
                                      692
                                      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