Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [How-to] Node.js ioBroker richtig updaten-2021/22 Edition

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.5k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.1k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.7k

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

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
812 Beiträge 97 Kommentatoren 365.0k Aufrufe 83 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • OstfrieseUnterwegsO OstfrieseUnterwegs

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

    Was sagt denn der Part etwas davor zu nodejs/npm?

    *** NodeJS-Installation ***
    
    /usr/bin/nodejs         v18.12.1
    /usr/bin/node           v18.12.1
    /usr/bin/npm            8.19.2
    
    nodejs:
      Installed: 18.12.1-deb-1nodesource1
      Candidate: 18.12.1-deb-1nodesource1
      Version table:
     *** 18.12.1-deb-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x jammy/main amd64 Packages
            100 /var/lib/dpkg/status
         12.22.9~dfsg-1ubuntu3 500
            500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
    
    

    Mach dir keine weiteren Gedanken. Das war eine Testinstallation unter wsl und ubuntu. Ich war nur über die npm 9 gestolpert.

    OT:
    ioBroker läuft unter wsl dem Anschein nach übrigens - also admin und core. Ich habe aber keine weiteren Adapter getestet. Insgesamt ist das aber eine Umgebung mit der ich mich nicht anfreunden kann. Die Einbindung ins Netzwerk ist totaler Krampf.

    XsevX Offline
    XsevX Offline
    Xsev
    schrieb am zuletzt editiert von Xsev
    #794

    Ich bekomme den Zigbee Adapter leider nicht mehr grün nach dem nodes Update (V16). Wenn ich den npm install --production ausführe bekomme ich folgende Fehlermeldung. Der Adapter läuft auf einem Slave Raspi.

    pi@Slaveserver1:/opt/iobroker/node_modules/serialport/node_modules/@serialport/bindings $ npm install --production               npm WARN config production Use `--omit=dev` instead.
    
    > @serialport/bindings@9.2.8 install
    > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
    
    prebuild-install warn install No prebuilt binaries found (target=16.18.1 runtime=node arch=arm libc= platform=linux)
    gyp info it worked if it ends with ok
    gyp info using node-gyp@9.1.0
    gyp info using node@16.18.1 | linux | arm
    gyp ERR! find Python
    gyp ERR! find Python Python is not set from command line or npm configuration
    gyp ERR! find Python Python is not set from environment variable PYTHON
    gyp ERR! find Python checking if "python3" can be used
    gyp ERR! find Python - executable path is "/usr/bin/python3"
    gyp ERR! find Python - version is "3.5.3"
    gyp ERR! find Python - version is 3.5.3 - should be >=3.6.0
    gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    gyp ERR! find Python checking if "python" can be used
    gyp ERR! find Python - executable path is "/usr/bin/python"
    gyp ERR! find Python - version is "2.7.13"
    gyp ERR! find Python - version is 2.7.13 - should be >=3.6.0
    gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    gyp ERR! find Python
    gyp ERR! find Python **********************************************************
    gyp ERR! find Python You need to install the latest version of Python.
    gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
    gyp ERR! find Python you can try one of the following options:
    gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
    gyp ERR! find Python   (accepted by both node-gyp and npm)
    gyp ERR! find Python - Set the environment variable PYTHON
    gyp ERR! find Python - Set the npm configuration variable python:
    gyp ERR! find Python   npm config set python "/path/to/pythonexecutable"
    gyp ERR! find Python For more information consult the documentation at:
    gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
    gyp ERR! find Python **********************************************************
    gyp ERR! find Python
    gyp ERR! configure error
    gyp ERR! stack Error: Could not find any Python installation to use
    gyp ERR! stack     at PythonFinder.fail (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:330:47)
    gyp ERR! stack     at PythonFinder.runChecks (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:159:21)
    gyp ERR! stack     at PythonFinder.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:266:16)
    gyp ERR! stack     at PythonFinder.execFileCallback (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:297:7)
    gyp ERR! stack     at ChildProcess.exithandler (node:child_process:394:7)
    gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
    gyp ERR! stack     at maybeClose (node:internal/child_process:1100:16)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
    gyp ERR! System Linux 4.19.66-v7+
    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /opt/iobroker/node_modules/serialport/node_modules/@serialport/bindings
    gyp ERR! node -v v16.18.1
    gyp ERR! node-gyp -v v9.1.0
    gyp ERR! not ok
    npm ERR! code 1
    npm ERR! path /opt/iobroker/node_modules/serialport/node_modules/@serialport/bindings
    npm ERR! command failed
    npm ERR! command sh -c -- prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/iobroker/.npm/_logs/2022-11-23T10_08_21_335Z-debug-0.log
    
    
    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • XsevX Xsev

      Ich bekomme den Zigbee Adapter leider nicht mehr grün nach dem nodes Update (V16). Wenn ich den npm install --production ausführe bekomme ich folgende Fehlermeldung. Der Adapter läuft auf einem Slave Raspi.

      pi@Slaveserver1:/opt/iobroker/node_modules/serialport/node_modules/@serialport/bindings $ npm install --production               npm WARN config production Use `--omit=dev` instead.
      
      > @serialport/bindings@9.2.8 install
      > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
      
      prebuild-install warn install No prebuilt binaries found (target=16.18.1 runtime=node arch=arm libc= platform=linux)
      gyp info it worked if it ends with ok
      gyp info using node-gyp@9.1.0
      gyp info using node@16.18.1 | linux | arm
      gyp ERR! find Python
      gyp ERR! find Python Python is not set from command line or npm configuration
      gyp ERR! find Python Python is not set from environment variable PYTHON
      gyp ERR! find Python checking if "python3" can be used
      gyp ERR! find Python - executable path is "/usr/bin/python3"
      gyp ERR! find Python - version is "3.5.3"
      gyp ERR! find Python - version is 3.5.3 - should be >=3.6.0
      gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
      gyp ERR! find Python checking if "python" can be used
      gyp ERR! find Python - executable path is "/usr/bin/python"
      gyp ERR! find Python - version is "2.7.13"
      gyp ERR! find Python - version is 2.7.13 - should be >=3.6.0
      gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
      gyp ERR! find Python
      gyp ERR! find Python **********************************************************
      gyp ERR! find Python You need to install the latest version of Python.
      gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
      gyp ERR! find Python you can try one of the following options:
      gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
      gyp ERR! find Python   (accepted by both node-gyp and npm)
      gyp ERR! find Python - Set the environment variable PYTHON
      gyp ERR! find Python - Set the npm configuration variable python:
      gyp ERR! find Python   npm config set python "/path/to/pythonexecutable"
      gyp ERR! find Python For more information consult the documentation at:
      gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
      gyp ERR! find Python **********************************************************
      gyp ERR! find Python
      gyp ERR! configure error
      gyp ERR! stack Error: Could not find any Python installation to use
      gyp ERR! stack     at PythonFinder.fail (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:330:47)
      gyp ERR! stack     at PythonFinder.runChecks (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:159:21)
      gyp ERR! stack     at PythonFinder.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:266:16)
      gyp ERR! stack     at PythonFinder.execFileCallback (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:297:7)
      gyp ERR! stack     at ChildProcess.exithandler (node:child_process:394:7)
      gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
      gyp ERR! stack     at maybeClose (node:internal/child_process:1100:16)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
      gyp ERR! System Linux 4.19.66-v7+
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      gyp ERR! cwd /opt/iobroker/node_modules/serialport/node_modules/@serialport/bindings
      gyp ERR! node -v v16.18.1
      gyp ERR! node-gyp -v v9.1.0
      gyp ERR! not ok
      npm ERR! code 1
      npm ERR! path /opt/iobroker/node_modules/serialport/node_modules/@serialport/bindings
      npm ERR! command failed
      npm ERR! command sh -c -- prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2022-11-23T10_08_21_335Z-debug-0.log
      
      
      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von Thomas Braun
      #795

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

      gyp ERR! find Python - version is 3.5.3 - should be >=3.6.0

      Python zu alt.
      System upgraden, das ist vermutlich noch ein Buster oder älteres.

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      XsevX 1 Antwort Letzte Antwort
      1
      • Thomas BraunT Thomas Braun

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

        gyp ERR! find Python - version is 3.5.3 - should be >=3.6.0

        Python zu alt.
        System upgraden, das ist vermutlich noch ein Buster oder älteres.

        XsevX Offline
        XsevX Offline
        Xsev
        schrieb am zuletzt editiert von
        #796

        @thomas-braun Super danke!

        Pedder007P 1 Antwort Letzte Antwort
        0
        • XsevX Xsev

          @thomas-braun Super danke!

          Pedder007P Offline
          Pedder007P Offline
          Pedder007
          schrieb am zuletzt editiert von
          #797

          @Thomas-Braun hallöle, ich hätte da nochmal eine generelle Frage bzgl. Node update:
          Spricht eigentlich etwas dagegen, das node update im Rahmen eines normalen PI updates/upgrades mit zu aktualisieren, wenn man den iobroker vorher stoppt und hinterher den Fixer drüber laufen lässt?

          Pedder
          All @Proxmox/Bookworm auf HP Elitedesk 800 G4; Zigbee: ZigStar (LAN), ~110Devices
          Unifi, Motioneye/3Reolinks, PiHole, Bosch 7800i via BBQKees/EMS-ESP, Fronius/BYD 11kWp via Modbus

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • Pedder007P Pedder007

            @Thomas-Braun hallöle, ich hätte da nochmal eine generelle Frage bzgl. Node update:
            Spricht eigentlich etwas dagegen, das node update im Rahmen eines normalen PI updates/upgrades mit zu aktualisieren, wenn man den iobroker vorher stoppt und hinterher den Fixer drüber laufen lässt?

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von Thomas Braun
            #798

            @pedder007

            Nö.
            Das läuft eh über 'das normale' full-upgrade des Betriebssystems mit.
            Ist ja gerade der Witz an der Sache das ganze über ein Repo reinzuziehen.
            Da man das ja regelmäßig macht rutscht auch regelmäßig nodeJS nach.
            Deswegen verstehe ich auch nie warum hier so viele mit alten Versionen rumeiern.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            Pedder007P 1 Antwort Letzte Antwort
            2
            • Thomas BraunT Thomas Braun

              @pedder007

              Nö.
              Das läuft eh über 'das normale' full-upgrade des Betriebssystems mit.
              Ist ja gerade der Witz an der Sache das ganze über ein Repo reinzuziehen.
              Da man das ja regelmäßig macht rutscht auch regelmäßig nodeJS nach.
              Deswegen verstehe ich auch nie warum hier so viele mit alten Versionen rumeiern.

              Pedder007P Offline
              Pedder007P Offline
              Pedder007
              schrieb am zuletzt editiert von
              #799

              @thomas-braun ok danke. Hab ich's mir immer zu umständlich gemacht ;-)
              Drauf gekommen bin ich gerade aber auch erst dadurch, dass ich ein update/upgrade gemacht hatte und aus Versehen den ioBroker vorher nicht gestoppt hatte. Das hat ziemliches Chaos produziert, aber wofür hat man ja BackUps ;-)
              Schönes WE :+1:

              Pedder
              All @Proxmox/Bookworm auf HP Elitedesk 800 G4; Zigbee: ZigStar (LAN), ~110Devices
              Unifi, Motioneye/3Reolinks, PiHole, Bosch 7800i via BBQKees/EMS-ESP, Fronius/BYD 11kWp via Modbus

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • Pedder007P Pedder007

                @thomas-braun ok danke. Hab ich's mir immer zu umständlich gemacht ;-)
                Drauf gekommen bin ich gerade aber auch erst dadurch, dass ich ein update/upgrade gemacht hatte und aus Versehen den ioBroker vorher nicht gestoppt hatte. Das hat ziemliches Chaos produziert, aber wofür hat man ja BackUps ;-)
                Schönes WE :+1:

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #800

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

                Das hat ziemliches Chaos produziert, aber wofür hat man ja BackUps

                iobroker restart
                

                hätte vermutlich ausgereicht.

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                Pedder007P 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

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

                  Das hat ziemliches Chaos produziert, aber wofür hat man ja BackUps

                  iobroker restart
                  

                  hätte vermutlich ausgereicht.

                  Pedder007P Offline
                  Pedder007P Offline
                  Pedder007
                  schrieb am zuletzt editiert von Pedder007
                  #801

                  @thomas-braun, nee leider nicht. Hatte sogar den ganzen PI rebootet. Irgendwas ist da ordentlich aus dem Tritt geraten. Allerdings auch bei deConz. hatte sogar ein paar remote Butttons verloren, die sich auch nicht wieder anlernen ließen.
                  Habe mir dann eine meiner Clone-Karten genommen, aktuelles Backup drüber gespielt und dann das update nochmals von vorne durchgeführt. Beim 2.ten Mal gab's die Probleme dann nicht mehr.
                  Aber man muss IT ja auch nicht immer verstehen ;-)

                  Pedder
                  All @Proxmox/Bookworm auf HP Elitedesk 800 G4; Zigbee: ZigStar (LAN), ~110Devices
                  Unifi, Motioneye/3Reolinks, PiHole, Bosch 7800i via BBQKees/EMS-ESP, Fronius/BYD 11kWp via Modbus

                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • Pedder007P Pedder007

                    @thomas-braun, nee leider nicht. Hatte sogar den ganzen PI rebootet. Irgendwas ist da ordentlich aus dem Tritt geraten. Allerdings auch bei deConz. hatte sogar ein paar remote Butttons verloren, die sich auch nicht wieder anlernen ließen.
                    Habe mir dann eine meiner Clone-Karten genommen, aktuelles Backup drüber gespielt und dann das update nochmals von vorne durchgeführt. Beim 2.ten Mal gab's die Probleme dann nicht mehr.
                    Aber man muss IT ja auch nicht immer verstehen ;-)

                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #802

                    @pedder007

                    Das kann aber eigentlich nicht mit einem ordentlich ausgeführten Upgrade in Zusammenhang stehen.

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    Pedder007P 1 Antwort Letzte Antwort
                    0
                    • Thomas BraunT Thomas Braun

                      @pedder007

                      Das kann aber eigentlich nicht mit einem ordentlich ausgeführten Upgrade in Zusammenhang stehen.

                      Pedder007P Offline
                      Pedder007P Offline
                      Pedder007
                      schrieb am zuletzt editiert von
                      #803

                      @thomas-braun Mir kommts auch komisch vor. Ich habe vorsichtshalber auch die betreffende SD Karte nun mal aussortiert. Ich meine die lief jetzt auch schon wieder ein gutes Jahr.
                      Ich hatte ganz am Anfang meiner ioBroker Zeit mal Probleme mit ein paar billig-SDs, das hatte sich damals ähnlich eigenartig 'angefühlt'.

                      Pedder
                      All @Proxmox/Bookworm auf HP Elitedesk 800 G4; Zigbee: ZigStar (LAN), ~110Devices
                      Unifi, Motioneye/3Reolinks, PiHole, Bosch 7800i via BBQKees/EMS-ESP, Fronius/BYD 11kWp via Modbus

                      1 Antwort Letzte Antwort
                      0
                      • A aleks-83

                        @thechicken sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                        Für Windowsuser: Ich habe mir das Paket von hier https://nodejs.org/dist/latest-v12.x/ geholt (node-v12.22.1-win-x64.zip), auf den Zielrechner kopiert und entpackt. Dann via iobroker-cmd

                        ioborker stop
                        

                        und dann im Installationsverzeichnis von iobroker den Ordner nodejs als Backup umbenannt. Danach einen neue Ordner nodejs erstellt und die entpackten Dateien da rein kopiert. Im Anschluss wieder

                        ioborker start
                        

                        -> Kontrolle, läuft alles und node.js ist jetzt v12.22.1.

                        Hier sei noch erwähnt, dass man die Datei nodevars.bat vor dem Update sichern sollte, und nach dem Update zurück kopiert.
                        Danke @Alexi für den Tipp.

                        C Offline
                        C Offline
                        Calherian
                        schrieb am zuletzt editiert von
                        #804

                        @aleks-83 habe heute zum ersten Mal Iobroker installiert. Dein Hinweis mit dem kopieren klappt bei mir nur mit der Node 18 aber nicht mit der 16. gibts da einen anderen Trick?

                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • C Calherian

                          @aleks-83 habe heute zum ersten Mal Iobroker installiert. Dein Hinweis mit dem kopieren klappt bei mir nur mit der Node 18 aber nicht mit der 16. gibts da einen anderen Trick?

                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von Thomas Braun
                          #805

                          @calherian

                          16 richtig installiert?

                          Und auf welchen der siebenhundert irgendwas Einträge beziehst du dich?

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          GRG 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @calherian

                            16 richtig installiert?

                            Und auf welchen der siebenhundert irgendwas Einträge beziehst du dich?

                            GRG Offline
                            GRG Offline
                            GR
                            schrieb am zuletzt editiert von
                            #806

                            @thomas-braun
                            Hab einen unsauberen 'npm tree'. Das sieht bei mir so aus:

                            pi@raspberrypi:/opt/iobroker $ npm ls | grep -E 'github|ERR'
                            │ │ │ │   ├── github-from-package@0.0.0 deduped
                            │   │   ├── github-from-package@0.0.0
                            

                            Wie bring ich das hin? Kann ich einfach auf 16 updaten?

                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • GRG GR

                              @thomas-braun
                              Hab einen unsauberen 'npm tree'. Das sieht bei mir so aus:

                              pi@raspberrypi:/opt/iobroker $ npm ls | grep -E 'github|ERR'
                              │ │ │ │   ├── github-from-package@0.0.0 deduped
                              │   │   ├── github-from-package@0.0.0
                              

                              Wie bring ich das hin? Kann ich einfach auf 16 updaten?

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #807

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

                              Hab einen unsauberen 'npm tree'.

                              Nö, der schaut prima aus.

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              GRG 1 Antwort Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

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

                                Hab einen unsauberen 'npm tree'.

                                Nö, der schaut prima aus.

                                GRG Offline
                                GRG Offline
                                GR
                                schrieb am zuletzt editiert von GR
                                #808

                                @thomas-braun
                                ok, danke. Dann werd ich mal updaten!

                                Edit:
                                Update lief problemlos! Danke für die Hilfe!

                                S 1 Antwort Letzte Antwort
                                0
                                • GRG GR

                                  @thomas-braun
                                  ok, danke. Dann werd ich mal updaten!

                                  Edit:
                                  Update lief problemlos! Danke für die Hilfe!

                                  S Offline
                                  S Offline
                                  socke85
                                  schrieb am zuletzt editiert von
                                  #809

                                  Ich habe heute nodejs und auch openkx geupdatet alles aktuell leider bekomme ich den Adapter nicht mehr zum laufen, habe auch schon ältere Versionen probiert.

                                  Das log erzählt mir:

                                  ost.Jarvis
                                  2023-03-14 21:59:03.543	error	instance system.adapter.openknx.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                  host.Jarvis
                                  2023-03-14 21:59:03.543	error	Caught by controller[0]: }
                                  host.Jarvis
                                  2023-03-14 21:59:03.543	error	Caught by controller[0]: ]
                                  host.Jarvis
                                  2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/main.js'
                                  host.Jarvis
                                  2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/index.js',
                                  host.Jarvis
                                  2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/Connection.js',
                                  host.Jarvis
                                  2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js',
                                  host.Jarvis
                                  2023-03-14 21:59:03.543	error	Caught by controller[0]: requireStack: [
                                  host.Jarvis
                                  2023-03-14 21:59:03.543	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                                  host.Jarvis
                                  2023-03-14 21:59:03.543	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1057:19) {
                                  host.Jarvis
                                  2023-03-14 21:59:03.543	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:868:12)
                                  host.Jarvis
                                  2023-03-14 21:59:03.543	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1033:32)
                                  host.Jarvis
                                  2023-03-14 21:59:03.543	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
                                  host.Jarvis
                                  2023-03-14 21:59:03.542	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1155:14)
                                  host.Jarvis
                                  2023-03-14 21:59:03.542	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js:8:16)
                                  host.Jarvis
                                  2023-03-14 21:59:03.542	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:103:18)
                                  host.Jarvis
                                  2023-03-14 21:59:03.542	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1057:19)
                                  host.Jarvis
                                  2023-03-14 21:59:03.542	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:833:27)
                                  host.Jarvis
                                  2023-03-14 21:59:03.542	error	Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
                                  host.Jarvis
                                  2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/main.js
                                  host.Jarvis
                                  2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/lib/knx/index.js
                                  host.Jarvis
                                  2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/Connection.js
                                  host.Jarvis
                                  2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js
                                  host.Jarvis
                                  2023-03-14 21:59:03.542	error	Caught by controller[0]: Require stack:
                                  host.Jarvis
                                  2023-03-14 21:59:03.542	error	Caught by controller[0]: Error: Cannot find module 'binary-parser'
                                  host.Jarvis
                                  2023-03-14 21:59:03.542	error	Caught by controller[0]: ^
                                  host.Jarvis
                                  2023-03-14 21:59:03.542	error	Caught by controller[0]: throw err;
                                  host.Jarvis
                                  2023-03-14 21:59:03.542	error	Caught by controller[0]: node:internal/modules/cjs/loader:988
                                  host.Jarvis
                                  2023-03-14 21:58:57.808	error	instance system.adapter.openknx.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                  host.Jarvis
                                  2023-03-14 21:58:57.808	error	Caught by controller[0]: }
                                  host.Jarvis
                                  2023-03-14 21:58:57.808	error	Caught by controller[0]: ]
                                  host.Jarvis
                                  2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/main.js'
                                  host.Jarvis
                                  2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/index.js',
                                  host.Jarvis
                                  2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/Connection.js',
                                  host.Jarvis
                                  2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js',
                                  host.Jarvis
                                  2023-03-14 21:58:57.807	error	Caught by controller[0]: requireStack: [
                                  
                                  Thomas BraunT apollon77A 2 Antworten Letzte Antwort
                                  0
                                  • S socke85

                                    Ich habe heute nodejs und auch openkx geupdatet alles aktuell leider bekomme ich den Adapter nicht mehr zum laufen, habe auch schon ältere Versionen probiert.

                                    Das log erzählt mir:

                                    ost.Jarvis
                                    2023-03-14 21:59:03.543	error	instance system.adapter.openknx.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                    host.Jarvis
                                    2023-03-14 21:59:03.543	error	Caught by controller[0]: }
                                    host.Jarvis
                                    2023-03-14 21:59:03.543	error	Caught by controller[0]: ]
                                    host.Jarvis
                                    2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/main.js'
                                    host.Jarvis
                                    2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/index.js',
                                    host.Jarvis
                                    2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/Connection.js',
                                    host.Jarvis
                                    2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js',
                                    host.Jarvis
                                    2023-03-14 21:59:03.543	error	Caught by controller[0]: requireStack: [
                                    host.Jarvis
                                    2023-03-14 21:59:03.543	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                                    host.Jarvis
                                    2023-03-14 21:59:03.543	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1057:19) {
                                    host.Jarvis
                                    2023-03-14 21:59:03.543	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:868:12)
                                    host.Jarvis
                                    2023-03-14 21:59:03.543	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1033:32)
                                    host.Jarvis
                                    2023-03-14 21:59:03.543	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
                                    host.Jarvis
                                    2023-03-14 21:59:03.542	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1155:14)
                                    host.Jarvis
                                    2023-03-14 21:59:03.542	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js:8:16)
                                    host.Jarvis
                                    2023-03-14 21:59:03.542	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:103:18)
                                    host.Jarvis
                                    2023-03-14 21:59:03.542	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1057:19)
                                    host.Jarvis
                                    2023-03-14 21:59:03.542	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:833:27)
                                    host.Jarvis
                                    2023-03-14 21:59:03.542	error	Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
                                    host.Jarvis
                                    2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/main.js
                                    host.Jarvis
                                    2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/lib/knx/index.js
                                    host.Jarvis
                                    2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/Connection.js
                                    host.Jarvis
                                    2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js
                                    host.Jarvis
                                    2023-03-14 21:59:03.542	error	Caught by controller[0]: Require stack:
                                    host.Jarvis
                                    2023-03-14 21:59:03.542	error	Caught by controller[0]: Error: Cannot find module 'binary-parser'
                                    host.Jarvis
                                    2023-03-14 21:59:03.542	error	Caught by controller[0]: ^
                                    host.Jarvis
                                    2023-03-14 21:59:03.542	error	Caught by controller[0]: throw err;
                                    host.Jarvis
                                    2023-03-14 21:59:03.542	error	Caught by controller[0]: node:internal/modules/cjs/loader:988
                                    host.Jarvis
                                    2023-03-14 21:58:57.808	error	instance system.adapter.openknx.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                    host.Jarvis
                                    2023-03-14 21:58:57.808	error	Caught by controller[0]: }
                                    host.Jarvis
                                    2023-03-14 21:58:57.808	error	Caught by controller[0]: ]
                                    host.Jarvis
                                    2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/main.js'
                                    host.Jarvis
                                    2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/index.js',
                                    host.Jarvis
                                    2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/Connection.js',
                                    host.Jarvis
                                    2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js',
                                    host.Jarvis
                                    2023-03-14 21:58:57.807	error	Caught by controller[0]: requireStack: [
                                    
                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #810

                                    @socke85
                                    Und

                                    iob diag
                                    

                                    erzählt dir?

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    1 Antwort Letzte Antwort
                                    0
                                    • S socke85

                                      Ich habe heute nodejs und auch openkx geupdatet alles aktuell leider bekomme ich den Adapter nicht mehr zum laufen, habe auch schon ältere Versionen probiert.

                                      Das log erzählt mir:

                                      ost.Jarvis
                                      2023-03-14 21:59:03.543	error	instance system.adapter.openknx.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                      host.Jarvis
                                      2023-03-14 21:59:03.543	error	Caught by controller[0]: }
                                      host.Jarvis
                                      2023-03-14 21:59:03.543	error	Caught by controller[0]: ]
                                      host.Jarvis
                                      2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/main.js'
                                      host.Jarvis
                                      2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/index.js',
                                      host.Jarvis
                                      2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/Connection.js',
                                      host.Jarvis
                                      2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js',
                                      host.Jarvis
                                      2023-03-14 21:59:03.543	error	Caught by controller[0]: requireStack: [
                                      host.Jarvis
                                      2023-03-14 21:59:03.543	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                                      host.Jarvis
                                      2023-03-14 21:59:03.543	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1057:19) {
                                      host.Jarvis
                                      2023-03-14 21:59:03.543	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:868:12)
                                      host.Jarvis
                                      2023-03-14 21:59:03.543	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1033:32)
                                      host.Jarvis
                                      2023-03-14 21:59:03.543	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
                                      host.Jarvis
                                      2023-03-14 21:59:03.542	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1155:14)
                                      host.Jarvis
                                      2023-03-14 21:59:03.542	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js:8:16)
                                      host.Jarvis
                                      2023-03-14 21:59:03.542	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:103:18)
                                      host.Jarvis
                                      2023-03-14 21:59:03.542	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1057:19)
                                      host.Jarvis
                                      2023-03-14 21:59:03.542	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:833:27)
                                      host.Jarvis
                                      2023-03-14 21:59:03.542	error	Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
                                      host.Jarvis
                                      2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/main.js
                                      host.Jarvis
                                      2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/lib/knx/index.js
                                      host.Jarvis
                                      2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/Connection.js
                                      host.Jarvis
                                      2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js
                                      host.Jarvis
                                      2023-03-14 21:59:03.542	error	Caught by controller[0]: Require stack:
                                      host.Jarvis
                                      2023-03-14 21:59:03.542	error	Caught by controller[0]: Error: Cannot find module 'binary-parser'
                                      host.Jarvis
                                      2023-03-14 21:59:03.542	error	Caught by controller[0]: ^
                                      host.Jarvis
                                      2023-03-14 21:59:03.542	error	Caught by controller[0]: throw err;
                                      host.Jarvis
                                      2023-03-14 21:59:03.542	error	Caught by controller[0]: node:internal/modules/cjs/loader:988
                                      host.Jarvis
                                      2023-03-14 21:58:57.808	error	instance system.adapter.openknx.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                      host.Jarvis
                                      2023-03-14 21:58:57.808	error	Caught by controller[0]: }
                                      host.Jarvis
                                      2023-03-14 21:58:57.808	error	Caught by controller[0]: ]
                                      host.Jarvis
                                      2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/main.js'
                                      host.Jarvis
                                      2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/index.js',
                                      host.Jarvis
                                      2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/Connection.js',
                                      host.Jarvis
                                      2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js',
                                      host.Jarvis
                                      2023-03-14 21:58:57.807	error	Caught by controller[0]: requireStack: [
                                      
                                      apollon77A Offline
                                      apollon77A Offline
                                      apollon77
                                      schrieb am zuletzt editiert von
                                      #811

                                      @socke85 am besten adapter deinstallieren und neu installieren. Irgendwie ist deinem npm ein Paket abhanden gekommen

                                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                      1 Antwort Letzte Antwort
                                      0
                                      • DutchmanD Offline
                                        DutchmanD Offline
                                        Dutchman
                                        Developer Most Active Administrators
                                        schrieb am zuletzt editiert von
                                        #812

                                        da wir wieder ein Jahr weiter sind und Node18 aktuell, geht es jetzt wieder hier weiter :)

                                        https://forum.iobroker.net/topic/64033/troubleshooting-nodejs-update

                                        1 Antwort Letzte Antwort
                                        -1
                                        Antworten
                                        • In einem neuen Thema antworten
                                        Anmelden zum Antworten
                                        • Älteste zuerst
                                        • Neuste zuerst
                                        • Meiste Stimmen


                                        Support us

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

                                        309

                                        Online

                                        32.4k

                                        Benutzer

                                        81.5k

                                        Themen

                                        1.3m

                                        Beiträge
                                        Community
                                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                        ioBroker Community 2014-2025
                                        logo
                                        • Anmelden

                                        • Du hast noch kein Konto? Registrieren

                                        • Anmelden oder registrieren, um zu suchen
                                        • Erster Beitrag
                                          Letzter Beitrag
                                        0
                                        • Home
                                        • Aktuell
                                        • Tags
                                        • Ungelesen 0
                                        • Kategorien
                                        • Unreplied
                                        • Beliebt
                                        • GitHub
                                        • Docu
                                        • Hilfe