Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [How-to] Node.js für ioBroker richtig updaten

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    529

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    5.3k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.4k

[How-to] Node.js für ioBroker richtig updaten

Scheduled Pinned Locked Moved ioBroker Allgemein
installationlinuxnodenode.jsnodejswindows
1.1k Posts 106 Posters 774.4k Views 112 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • StabilostickS Stabilostick

    @crunchip

    Ja.

    crunchipC Away
    crunchipC Away
    crunchip
    Forum Testing Most Active
    wrote on last edited by
    #114

    @Stabilostick erledigt, dann bin ich mal gespannt, bei kommenden Updates/Installationen, ob diesbezüglich noch Fehlermeldungen/Warnungen auftauchen.
    Besten Dank erstmal für die Ausführliche Info.
    dann steht jetzt noch die Suche nach dem fast 3fachen Netzwerk Traffic aus.
    kann aber ehrlich gesagt, nicht wirklich viel mit iftop anfangen.
    werd ich mal ein wenig lesen und probieren

    umgestiegen von Proxmox auf Unraid

    1 Reply Last reply
    0
    • K Offline
      K Offline
      klassisch
      Most Active
      wrote on last edited by
      #115

      Interessanter Thread, den ich leider erst jetzt gesehen habe.
      Hatte im Verlauf des letzten Jahres auch das Gefühl, den Überblick über die node.js und npm Versionen komplett verloren zu haben. Und ich hatte auch den Eindruck, daß einige Anfragen dazu unbeantwortet blieben, was auch aufgrund der Kombinatorik verständlich ist. Aber eine auf Dauer potentiell gefährliche Situation.
      Den Ansatz mit getesteten und stimmigen Updatepakten bzw. Installern finde ich prima.
      Der Windows-Installer hat mir schon sehr geholfen. Lief glatt durch und jetzt habe ich einen ioBroker auf einer leistungsfähigen, zeitgemäßen und ausbaufähigen Plattform.
      Prima auch, wenn man damit künftig auf neuere funktionierende Pakete upgraden kann.

      1 Reply Last reply
      1
      • O Offline
        O Offline
        Olivbus
        wrote on last edited by
        #116

        Bei mir kommt am Ende nach dem Update auf Node 10.x und nmp rebuild diese Fehlermeldung. Der Iobroker läuft aber problemlos (alles grün). Besteht Handlungsbedarf? Ich würde mich über ein kurzes Statement freuen, weil ich noch ganz neu hier bin.

        npm ERR! path /opt/iobroker/node_modules/iobroker.admin/node_modules/@iobroker/a                                                                                                                                                              dapter-core/package.json
        npm ERR! code ENOENT
        npm ERR! errno -2
        npm ERR! syscall open
        npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modu                                                                                                                                                              les/iobroker.admin/node_modules/@iobroker/adapter-core/package.json'
        npm ERR! enoent This is related to npm not being able to find a file.
        npm ERR! enoent
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/pi/.npm/_logs/2019-06-11T18_03_36_675Z-debug.log
        
        
        O 1 Reply Last reply
        0
        • O Olivbus

          Bei mir kommt am Ende nach dem Update auf Node 10.x und nmp rebuild diese Fehlermeldung. Der Iobroker läuft aber problemlos (alles grün). Besteht Handlungsbedarf? Ich würde mich über ein kurzes Statement freuen, weil ich noch ganz neu hier bin.

          npm ERR! path /opt/iobroker/node_modules/iobroker.admin/node_modules/@iobroker/a                                                                                                                                                              dapter-core/package.json
          npm ERR! code ENOENT
          npm ERR! errno -2
          npm ERR! syscall open
          npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modu                                                                                                                                                              les/iobroker.admin/node_modules/@iobroker/adapter-core/package.json'
          npm ERR! enoent This is related to npm not being able to find a file.
          npm ERR! enoent
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/pi/.npm/_logs/2019-06-11T18_03_36_675Z-debug.log
          
          
          O Offline
          O Offline
          Olivbus
          wrote on last edited by Olivbus
          #117

          @Olivbus Irgendwie wird nicht alles übernommen im Code, deshalb hier nochmal als Text

          npm ERR! path /opt/iobroker/node_modules/iobroker.admin/node_modules/@iobroker/a dapter-core/package.json
          npm ERR! code ENOENT
          npm ERR! errno -2
          npm ERR! syscall open
          npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modu les/iobroker.admin/node_modules/@iobroker/adapter-core/package.json'
          npm ERR! enoent This is related to npm not being able to find a file.
          npm ERR! enoent

          npm ERR! A complete log of this run can be found in:
          npm ERR! /home/pi/.npm/_logs/2019-06-11T18_03_36_675Z-debug.log

          O apollon77A 2 Replies Last reply
          0
          • O Olivbus

            @Olivbus Irgendwie wird nicht alles übernommen im Code, deshalb hier nochmal als Text

            npm ERR! path /opt/iobroker/node_modules/iobroker.admin/node_modules/@iobroker/a dapter-core/package.json
            npm ERR! code ENOENT
            npm ERR! errno -2
            npm ERR! syscall open
            npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modu les/iobroker.admin/node_modules/@iobroker/adapter-core/package.json'
            npm ERR! enoent This is related to npm not being able to find a file.
            npm ERR! enoent

            npm ERR! A complete log of this run can be found in:
            npm ERR! /home/pi/.npm/_logs/2019-06-11T18_03_36_675Z-debug.log

            O Offline
            O Offline
            Olivbus
            wrote on last edited by
            #118

            @Olivbus
            Hier noch meine Systemdaten:
            Betriebssystem:linux
            Architektur:arm
            CPUs:4
            Geschwindigkeit:600 MHz
            Modell:ARMv7 Processor rev 4 (v7l)
            RAM:927.22 MB
            Node.js: v10.16.0
            NPM: 6.9.0
            Anzahl der Adapter:243
            Festplatte Größe:14.53 GB
            Festplatte frei:12.09 GB
            Aktive Instanzen:20
            Hostname:ioBroker-RasPi
            js controller: 1.5.11

            1 Reply Last reply
            0
            • crunchipC crunchip

              @apollon77 man man man, der Weisse Balken:face_palm:
              327387c9-b168-4104-a636-1915447e7164-image.png

              apollon77A Offline
              apollon77A Offline
              apollon77
              wrote on last edited by
              #119

              @crunchip komme auf dein Design an :-(

              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
              crunchipC 1 Reply Last reply
              0
              • O Olivbus

                @Olivbus Irgendwie wird nicht alles übernommen im Code, deshalb hier nochmal als Text

                npm ERR! path /opt/iobroker/node_modules/iobroker.admin/node_modules/@iobroker/a dapter-core/package.json
                npm ERR! code ENOENT
                npm ERR! errno -2
                npm ERR! syscall open
                npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modu les/iobroker.admin/node_modules/@iobroker/adapter-core/package.json'
                npm ERR! enoent This is related to npm not being able to find a file.
                npm ERR! enoent

                npm ERR! A complete log of this run can be found in:
                npm ERR! /home/pi/.npm/_logs/2019-06-11T18_03_36_675Z-debug.log

                apollon77A Offline
                apollon77A Offline
                apollon77
                wrote on last edited by
                #120

                @Olivbus in dem Fall würde ich iobroker.admin mittels

                npm install iobroker.admin --production

                Im iobroker Verzeichnis einmal Neu installieren. Danach nochmal npm rebuild.

                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
                O 1 Reply Last reply
                0
                • apollon77A apollon77

                  @crunchip komme auf dein Design an :-(

                  crunchipC Away
                  crunchipC Away
                  crunchip
                  Forum Testing Most Active
                  wrote on last edited by
                  #121

                  @apollon77 ich weiss, nur ist leider keines dabei, das 100% zufriedenstellend ist und bei einem dunklem Design,
                  ist halt nun mal das Problem, das irgendwas nicht lesbar ist.

                  umgestiegen von Proxmox auf Unraid

                  1 Reply Last reply
                  0
                  • MathiasJM Offline
                    MathiasJM Offline
                    MathiasJ
                    wrote on last edited by
                    #122

                    Ich bin auch gerade dabei, node bzw nodejs upzudaten.
                    da sich für mich alles recht kompliziert anhört, habe ich folgende Frage:
                    Es ist doch möglich, erst mal den kompletten IObroker Ordner zu löschen, wie in der Erstinstallation nodejs und node zu deinstallieren.
                    Danach würde ich wie bei der Doku https://www.iobroker.net/#de/documentation/install/linux.md IObroker neu aufsetzen inkl Backitup und das vorher gezogene Backup wieder einspielen. Sehe ich das richtig?

                    IObroker auf dem NUC als VM.
                    Da ich noch keine Aktoren habe, wird momentan via Radar nur der AB der Fritzbox ein- und ausgeschaltet.
                    Welches Smarthome-System es letztendlich wird, weiß ich noch nicht. Vielleicht kommen auch nur Zigbee-Geräte ins Haus.

                    apollon77A 1 Reply Last reply
                    0
                    • MathiasJM MathiasJ

                      Ich bin auch gerade dabei, node bzw nodejs upzudaten.
                      da sich für mich alles recht kompliziert anhört, habe ich folgende Frage:
                      Es ist doch möglich, erst mal den kompletten IObroker Ordner zu löschen, wie in der Erstinstallation nodejs und node zu deinstallieren.
                      Danach würde ich wie bei der Doku https://www.iobroker.net/#de/documentation/install/linux.md IObroker neu aufsetzen inkl Backitup und das vorher gezogene Backup wieder einspielen. Sehe ich das richtig?

                      apollon77A Offline
                      apollon77A Offline
                      apollon77
                      wrote on last edited by
                      #123

                      @MathiasJ ließ doch mal die ersten beiden Posts. Da findest fundiere Idee als weg 3-5 oder so genau wieder. Steht alles da.

                      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 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        Adnim
                        wrote on last edited by
                        #124

                        Habe gerade von 8 zu 10 geupgraded. Hat alles geklappt dank der guten Anleitung hier. Danke!

                        Nach dem Reboot gab es Fehlermeldungen im Iobroker Log : "MMMagic compiled against different Node version pls try npm rebuild.
                        NPM rebuild hat aber nicht zum erfolg geführt. Geholfen hat dann:

                        ->iobroker stop
                        -> npm uninstall mmmagic
                        ->iobroker del sql
                        ->iobroker install sql
                        ->reboot

                        Danach läuft es anscheinend gerade wieder rund.

                        LG

                        apollon77A 1 Reply Last reply
                        0
                        • MathiasJM Offline
                          MathiasJM Offline
                          MathiasJ
                          wrote on last edited by
                          #125

                          habe gerade IObroker platt gemacht und mit node 10.x neu installiert.
                          Alle Adapter laufen außer tr-064.0 da bekomme ich immer Fehlermeldungen:

                          host.rock64	2019-06-15 14:51:52.273	error	instance system.adapter.tr-064.0 terminated with code 1 ()
                          host.rock64	2019-06-15 14:51:52.273	error	Caught by controller[0]: at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
                          host.rock64	2019-06-15 14:51:52.273	error	Caught by controller[0]: at startup (internal/bootstrap/node.js:283:19)
                          host.rock64	2019-06-15 14:51:52.272	error	Caught by controller[0]: at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
                          host.rock64	2019-06-15 14:51:52.272	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
                          host.rock64	2019-06-15 14:51:52.272	error	Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
                          host.rock64	2019-06-15 14:51:52.272	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32)
                          host.rock64	2019-06-15 14:51:52.272	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
                          host.rock64	2019-06-15 14:51:52.272	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:776:30)
                          host.rock64	2019-06-15 14:51:52.271	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.tr-064/tr-064.js:16:20)
                          host.rock64	2019-06-15 14:51:52.271	error	Caught by controller[0]: at Object.exports.Adapter (/opt/iobroker/node_modules/soef/soef.js:1383:23)
                          host.rock64	2019-06-15 14:51:52.271	error	Caught by controller[0]: TypeError: fns.adapter is not a function
                          host.rock64	2019-06-15 14:51:52.271	error	Caught by controller[0]: ^
                          host.rock64	2019-06-15 14:51:52.270	error	Caught by controller[0]: fns.adapter = fns.adapter(options);
                          host.rock64	2019-06-15 14:51:52.261	error	Caught by controller[0]: /opt/iobroker/node_modules/soef/soef.js:1383
                          

                          was tun?
                          Gruß,
                          Mathias

                          IObroker auf dem NUC als VM.
                          Da ich noch keine Aktoren habe, wird momentan via Radar nur der AB der Fritzbox ein- und ausgeschaltet.
                          Welches Smarthome-System es letztendlich wird, weiß ich noch nicht. Vielleicht kommen auch nur Zigbee-Geräte ins Haus.

                          dslraserD 1 Reply Last reply
                          0
                          • MathiasJM MathiasJ

                            habe gerade IObroker platt gemacht und mit node 10.x neu installiert.
                            Alle Adapter laufen außer tr-064.0 da bekomme ich immer Fehlermeldungen:

                            host.rock64	2019-06-15 14:51:52.273	error	instance system.adapter.tr-064.0 terminated with code 1 ()
                            host.rock64	2019-06-15 14:51:52.273	error	Caught by controller[0]: at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
                            host.rock64	2019-06-15 14:51:52.273	error	Caught by controller[0]: at startup (internal/bootstrap/node.js:283:19)
                            host.rock64	2019-06-15 14:51:52.272	error	Caught by controller[0]: at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
                            host.rock64	2019-06-15 14:51:52.272	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
                            host.rock64	2019-06-15 14:51:52.272	error	Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
                            host.rock64	2019-06-15 14:51:52.272	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32)
                            host.rock64	2019-06-15 14:51:52.272	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
                            host.rock64	2019-06-15 14:51:52.272	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:776:30)
                            host.rock64	2019-06-15 14:51:52.271	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.tr-064/tr-064.js:16:20)
                            host.rock64	2019-06-15 14:51:52.271	error	Caught by controller[0]: at Object.exports.Adapter (/opt/iobroker/node_modules/soef/soef.js:1383:23)
                            host.rock64	2019-06-15 14:51:52.271	error	Caught by controller[0]: TypeError: fns.adapter is not a function
                            host.rock64	2019-06-15 14:51:52.271	error	Caught by controller[0]: ^
                            host.rock64	2019-06-15 14:51:52.270	error	Caught by controller[0]: fns.adapter = fns.adapter(options);
                            host.rock64	2019-06-15 14:51:52.261	error	Caught by controller[0]: /opt/iobroker/node_modules/soef/soef.js:1383
                            

                            was tun?
                            Gruß,
                            Mathias

                            dslraserD Offline
                            dslraserD Offline
                            dslraser
                            Forum Testing Most Active
                            wrote on last edited by dslraser
                            #126

                            @MathiasJ

                            https://forum.iobroker.net/topic/23116/tr-064-status-immer-rot/2

                            MathiasJM 1 Reply Last reply
                            1
                            • dslraserD dslraser

                              @MathiasJ

                              https://forum.iobroker.net/topic/23116/tr-064-status-immer-rot/2

                              MathiasJM Offline
                              MathiasJM Offline
                              MathiasJ
                              wrote on last edited by
                              #127

                              @dslraser

                              danke tr-064 läuft! :ok_hand:

                              IObroker auf dem NUC als VM.
                              Da ich noch keine Aktoren habe, wird momentan via Radar nur der AB der Fritzbox ein- und ausgeschaltet.
                              Welches Smarthome-System es letztendlich wird, weiß ich noch nicht. Vielleicht kommen auch nur Zigbee-Geräte ins Haus.

                              1 Reply Last reply
                              0
                              • A Adnim

                                Habe gerade von 8 zu 10 geupgraded. Hat alles geklappt dank der guten Anleitung hier. Danke!

                                Nach dem Reboot gab es Fehlermeldungen im Iobroker Log : "MMMagic compiled against different Node version pls try npm rebuild.
                                NPM rebuild hat aber nicht zum erfolg geführt. Geholfen hat dann:

                                ->iobroker stop
                                -> npm uninstall mmmagic
                                ->iobroker del sql
                                ->iobroker install sql
                                ->reboot

                                Danach läuft es anscheinend gerade wieder rund.

                                LG

                                apollon77A Offline
                                apollon77A Offline
                                apollon77
                                wrote on last edited by
                                #128

                                @Adnim was hatte rebuild denn gesagt?

                                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
                                A 1 Reply Last reply
                                0
                                • apollon77A apollon77

                                  @Adnim was hatte rebuild denn gesagt?

                                  A Offline
                                  A Offline
                                  Adnim
                                  wrote on last edited by Adnim
                                  #129

                                  @apollon77 Habe den Log Auszug wieder rausgesucht. Sah so aus. Rebuild hat Tausend Sachen angezeigt dazu habe ich keinen Log leider. Gefunzt hat es danach aber nicht.

                                  2019-06-15 08:52:07.738  - error: Caught by controller[0]: internal/modules/cjs/loader.js:805
                                  2019-06-15 08:52:07.738  - error: Caught by controller[0]:   return process.dlopen(module, path.toNamespacedPath(filename));
                                  2019-06-15 08:52:07.738  - error: Caught by controller[0]:                  ^
                                  2019-06-15 08:52:07.738  - error: Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/iobroker.sql/node_modules/mmmagic/build/Release/magic.node'
                                  2019-06-15 08:52:07.738  - error: Caught by controller[0]: was compiled against a different Node.js version using
                                  2019-06-15 08:52:07.738  - error: Caught by controller[0]: NODE_MODULE_VERSION 57. This version of Node.js requires
                                  2019-06-15 08:52:07.738  - error: Caught by controller[0]: NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
                                  2019-06-15 08:52:07.738  - error: Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                                  2019-06-15 08:52:07.738  - error: Caught by controller[0]:     at Object.Module._extensions..node (internal/modules/cjs/loader.js:805:18)
                                  2019-06-15 08:52:07.738  - error: Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:653:32)
                                  2019-06-15 08:52:07.738  - error: Caught by controller[0]:     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
                                  2019-06-15 08:52:07.738  - error: Caught by controller[0]:     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
                                  2019-06-15 08:52:07.738  - error: Caught by controller[0]:     at Module.require (internal/modules/cjs/loader.js:690:17)
                                  2019-06-15 08:52:07.739  - error: Caught by controller[0]:     at require (internal/modules/cjs/helpers.js:25:18)
                                  2019-06-15 08:52:07.739  - error: Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.sql/node_modules/mmmagic/lib/index.js:1:13)
                                  2019-06-15 08:52:07.739  - error: Caught by controller[0]:     at Module._compile (internal/modules/cjs/loader.js:776:30)
                                  2019-06-15 08:52:07.739  - error: Caught by controller[0]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
                                  2019-06-15 08:52:07.739  - error: Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:653:32)
                                  2019-06-15 08:52:07.739  - error: host.iobroker1 instance system.adapter.sql.0 terminated with code 1 ()
                                  2019-06-15 08:52:07.739  - info: host.iobroker1 Restart adapter system.adapter.sql.0 because enabled
                                  

                                  Beim Update meines Slaves RPI gab es hinterher auch noch probleme. NPM Rebuild hat immer abgebrochen. Fehlermeldung(BSP das kam zu diversen Node Paketen):

                                  2019-06-15 09:45:31.633  - info: iobroker make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Fehler 1
                                  2019-06-15 09:45:31.638  - info: iobroker gyp
                                  2019-06-15 09:45:31.647  - info: iobroker  ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2
                                  gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                                  gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                  gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                  gyp ERR! System Linux 4.19.42-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/iobroker.js-controller/node_modules/winston-syslog/node_modules/unix-dgram
                                  gyp ERR! node -v v10.16.0
                                  gyp ERR! node-gyp -v v3.8.0
                                  gyp ERR! not ok 
                                  
                                  

                                  NPM Rebuild LOG

                                  
                                  gyp ERR! build error
                                  gyp ERR! stack Error: `make` failed with exit code: 2
                                  gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/node_modules/node-gyp/lib/build.js:262:23)
                                  gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                  gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                  gyp ERR! System Linux 4.19.42-v7+
                                  gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/npm-lifecycle/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                  gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
                                  gyp ERR! node -v v10.16.0
                                  gyp ERR! node-gyp -v v3.8.0
                                  gyp ERR! not ok
                                  npm ERR! code ELIFECYCLE
                                  npm ERR! errno 1
                                  npm ERR! unix-dgram@0.2.3 install: `node-gyp rebuild`
                                  npm ERR! Exit status 1
                                  npm ERR!
                                  npm ERR! Failed at the unix-dgram@0.2.3 install script.
                                  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  
                                  

                                  Entweder reichte Manuelles nachinstallieren per npm i node-gyp prebuild im jeweiligen Ordner oder der ganze adapter musste runter. Unix Dgram habe ich laut der Anleitung auch nochmal drüber installiert.Es funzt alles trotzdem läuft NPM rebuild auch auf dem Slave nicht durch. Was ist da bei mir anders?

                                  apollon77A 1 Reply Last reply
                                  0
                                  • A Offline
                                    A Offline
                                    Adnim
                                    wrote on last edited by
                                    #130

                                    Habe nochmal nen neuen Container gemacht mit Debian 9 . Dort alles gemäß https://www.iobroker.net/#de/documentation/install/linux.md installiert.
                                    Minimal Backup eingespielt. Da kommt ein ähnlicher beim Installieren der Adapter im Iobroker LOG

                                    iobroker 2019-06-16 10:04:36.852 info npm
                                    iobroker 2019-06-16 10:04:36.463 info
                                    iobroker 2019-06-16 10:04:36.463 info ERR! not ok
                                    iobroker 2019-06-16 10:04:36.463 info node-gyp -v v3.8.0gyp
                                    iobroker 2019-06-16 10:04:36.463 info node -v v10.16.0gyp ERR!
                                    iobroker 2019-06-16 10:04:36.463 info gyp ERR!

                                    Kann man nicht Node-GYP irgendwo zentral aktualisieren?

                                    apollon77A 1 Reply Last reply
                                    0
                                    • apollon77A apollon77

                                      @Olivbus in dem Fall würde ich iobroker.admin mittels

                                      npm install iobroker.admin --production

                                      Im iobroker Verzeichnis einmal Neu installieren. Danach nochmal npm rebuild.

                                      O Offline
                                      O Offline
                                      Olivbus
                                      wrote on last edited by
                                      #131

                                      @apollon77 danke für die Antwort. Habe mittlerweile reinstall.sh gemacht. Danach war das npm rebuild ohne Errors

                                      1 Reply Last reply
                                      0
                                      • A Adnim

                                        @apollon77 Habe den Log Auszug wieder rausgesucht. Sah so aus. Rebuild hat Tausend Sachen angezeigt dazu habe ich keinen Log leider. Gefunzt hat es danach aber nicht.

                                        2019-06-15 08:52:07.738  - error: Caught by controller[0]: internal/modules/cjs/loader.js:805
                                        2019-06-15 08:52:07.738  - error: Caught by controller[0]:   return process.dlopen(module, path.toNamespacedPath(filename));
                                        2019-06-15 08:52:07.738  - error: Caught by controller[0]:                  ^
                                        2019-06-15 08:52:07.738  - error: Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/iobroker.sql/node_modules/mmmagic/build/Release/magic.node'
                                        2019-06-15 08:52:07.738  - error: Caught by controller[0]: was compiled against a different Node.js version using
                                        2019-06-15 08:52:07.738  - error: Caught by controller[0]: NODE_MODULE_VERSION 57. This version of Node.js requires
                                        2019-06-15 08:52:07.738  - error: Caught by controller[0]: NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
                                        2019-06-15 08:52:07.738  - error: Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                                        2019-06-15 08:52:07.738  - error: Caught by controller[0]:     at Object.Module._extensions..node (internal/modules/cjs/loader.js:805:18)
                                        2019-06-15 08:52:07.738  - error: Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:653:32)
                                        2019-06-15 08:52:07.738  - error: Caught by controller[0]:     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
                                        2019-06-15 08:52:07.738  - error: Caught by controller[0]:     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
                                        2019-06-15 08:52:07.738  - error: Caught by controller[0]:     at Module.require (internal/modules/cjs/loader.js:690:17)
                                        2019-06-15 08:52:07.739  - error: Caught by controller[0]:     at require (internal/modules/cjs/helpers.js:25:18)
                                        2019-06-15 08:52:07.739  - error: Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.sql/node_modules/mmmagic/lib/index.js:1:13)
                                        2019-06-15 08:52:07.739  - error: Caught by controller[0]:     at Module._compile (internal/modules/cjs/loader.js:776:30)
                                        2019-06-15 08:52:07.739  - error: Caught by controller[0]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
                                        2019-06-15 08:52:07.739  - error: Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:653:32)
                                        2019-06-15 08:52:07.739  - error: host.iobroker1 instance system.adapter.sql.0 terminated with code 1 ()
                                        2019-06-15 08:52:07.739  - info: host.iobroker1 Restart adapter system.adapter.sql.0 because enabled
                                        

                                        Beim Update meines Slaves RPI gab es hinterher auch noch probleme. NPM Rebuild hat immer abgebrochen. Fehlermeldung(BSP das kam zu diversen Node Paketen):

                                        2019-06-15 09:45:31.633  - info: iobroker make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Fehler 1
                                        2019-06-15 09:45:31.638  - info: iobroker gyp
                                        2019-06-15 09:45:31.647  - info: iobroker  ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2
                                        gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                                        gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                        gyp ERR! System Linux 4.19.42-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/iobroker.js-controller/node_modules/winston-syslog/node_modules/unix-dgram
                                        gyp ERR! node -v v10.16.0
                                        gyp ERR! node-gyp -v v3.8.0
                                        gyp ERR! not ok 
                                        
                                        

                                        NPM Rebuild LOG

                                        
                                        gyp ERR! build error
                                        gyp ERR! stack Error: `make` failed with exit code: 2
                                        gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/node_modules/node-gyp/lib/build.js:262:23)
                                        gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                        gyp ERR! System Linux 4.19.42-v7+
                                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/npm-lifecycle/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                        gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
                                        gyp ERR! node -v v10.16.0
                                        gyp ERR! node-gyp -v v3.8.0
                                        gyp ERR! not ok
                                        npm ERR! code ELIFECYCLE
                                        npm ERR! errno 1
                                        npm ERR! unix-dgram@0.2.3 install: `node-gyp rebuild`
                                        npm ERR! Exit status 1
                                        npm ERR!
                                        npm ERR! Failed at the unix-dgram@0.2.3 install script.
                                        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        
                                        

                                        Entweder reichte Manuelles nachinstallieren per npm i node-gyp prebuild im jeweiligen Ordner oder der ganze adapter musste runter. Unix Dgram habe ich laut der Anleitung auch nochmal drüber installiert.Es funzt alles trotzdem läuft NPM rebuild auch auf dem Slave nicht durch. Was ist da bei mir anders?

                                        apollon77A Offline
                                        apollon77A Offline
                                        apollon77
                                        wrote on last edited by
                                        #132

                                        @Adnim also vor allem zu Unix-dgram gibt es Infos im zweiten post. Bitte lesen!!

                                        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 Reply Last reply
                                        0
                                        • A Adnim

                                          Habe nochmal nen neuen Container gemacht mit Debian 9 . Dort alles gemäß https://www.iobroker.net/#de/documentation/install/linux.md installiert.
                                          Minimal Backup eingespielt. Da kommt ein ähnlicher beim Installieren der Adapter im Iobroker LOG

                                          iobroker 2019-06-16 10:04:36.852 info npm
                                          iobroker 2019-06-16 10:04:36.463 info
                                          iobroker 2019-06-16 10:04:36.463 info ERR! not ok
                                          iobroker 2019-06-16 10:04:36.463 info node-gyp -v v3.8.0gyp
                                          iobroker 2019-06-16 10:04:36.463 info node -v v10.16.0gyp ERR!
                                          iobroker 2019-06-16 10:04:36.463 info gyp ERR!

                                          Kann man nicht Node-GYP irgendwo zentral aktualisieren?

                                          apollon77A Offline
                                          apollon77A Offline
                                          apollon77
                                          wrote on last edited by
                                          #133

                                          @Adnim bitte vollständige Meldung Posten node-gyp ist nicht die ursache des Problems und komme mir nodejs mir und passt daher dazu wie es sein soll.

                                          Die Frage ist bei welcher nativen Library es Problem gibt. Die muss man prüfen und beheben.

                                          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 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          589

                                          Online

                                          32.7k

                                          Users

                                          82.5k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe