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 für ioBroker richtig updaten

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 für ioBroker richtig updaten

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
installationlinuxnodenode.jsnodejswindows
1.1k Beiträge 106 Kommentatoren 739.7k Aufrufe 112 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.
  • 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
    schrieb am zuletzt editiert von
    #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 Antwort Letzte Antwort
    0
    • A Offline
      A Offline
      Adnim
      schrieb am zuletzt editiert von
      #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 Antwort Letzte Antwort
      0
      • MathiasJM Offline
        MathiasJM Offline
        MathiasJ
        schrieb am zuletzt editiert von
        #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 Antwort Letzte Antwort
        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
          schrieb am zuletzt editiert von dslraser
          #126

          @MathiasJ

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

          MathiasJM 1 Antwort Letzte Antwort
          1
          • dslraserD dslraser

            @MathiasJ

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

            MathiasJM Offline
            MathiasJM Offline
            MathiasJ
            schrieb am zuletzt editiert von
            #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 Antwort Letzte Antwort
            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
              schrieb am zuletzt editiert von
              #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 Antwort Letzte Antwort
              0
              • apollon77A apollon77

                @Adnim was hatte rebuild denn gesagt?

                A Offline
                A Offline
                Adnim
                schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                0
                • A Offline
                  A Offline
                  Adnim
                  schrieb am zuletzt editiert von
                  #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 Antwort Letzte Antwort
                  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
                    schrieb am zuletzt editiert von
                    #131

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

                    1 Antwort Letzte Antwort
                    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
                      schrieb am zuletzt editiert von
                      #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 Antwort Letzte Antwort
                      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
                        schrieb am zuletzt editiert von
                        #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 Antwort Letzte Antwort
                        0
                        • crunchipC crunchip

                          @Stabilostick

                          root@IoBroker:/opt/iobroker# npm ls rpi-gpio
                          iobroker.inst@2.0.3 /opt/iobroker
                          └─┬ iobroker.rpi2@1.0.0
                           └── rpi-gpio@1.0.0
                          
                          

                          dann wäre ja die einfachste Lösung, ich deinstalliere den Adapter, da er momentan nicht mehr in Gebrauch ist.
                          Dieser war noch aus der Raspberry Zeit und Multihostbetrieb.

                          smartboartS Offline
                          smartboartS Offline
                          smartboart
                          schrieb am zuletzt editiert von
                          #134

                          @crunchip Hallo, bekomme die GPIO auch nicht mehr zum laufen nach dem Update...
                          Alles andere hat prima geklappt...
                          hier der log zum Thema wie bekomme ich meine gpio inputs wieder eingelesen...
                          rpi-gpio und epoll machen hier probleme...
                          wegen der admin Rechte für die gpio ist das installationsfixer skript keine option...habs trotzdem laufen lassen. hat auch nix gebracht...

                          
                          pi@192.168.1.47's password:
                          Linux ioBroker-RasPi 4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST 2019 armv7l
                          
                          The programs included with the Debian GNU/Linux system are free software;
                          the exact distribution terms for each program are described in the
                          individual files in /usr/share/doc/*/copyright.
                          
                          Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                          permitted by applicable law.
                          Last login: Mon Jun 17 16:02:36 2019 from 192.168.1.27
                          pi@ioBroker-RasPi:~ $ cd /opt/iobroker
                          pi@ioBroker-RasPi:/opt/iobroker $ sudo iobroker stop
                          Stopping iobroker controller daemon...
                          iobroker controller daemon stopped.
                          No "killall.sh" script found. Just stop.
                          pi@ioBroker-RasPi:/opt/iobroker $ cd
                          pi@ioBroker-RasPi:~ $ npm ls rpi-gpio
                          /home/pi
                          └── (empty)
                          
                          pi@ioBroker-RasPi:~ $ cd /opt/iobroker
                          pi@ioBroker-RasPi:/opt/iobroker $ npm ls rpi-gpio
                          iobroker.inst@1.1.2 /opt/iobroker
                          └─┬ iobroker.rpi2@1.0.0
                            └── UNMET OPTIONAL DEPENDENCY rpi-gpio@^1.0.0
                          
                          pi@ioBroker-RasPi:/opt/iobroker $ cd /opt/iobroker/iobroker.rpi2
                          -bash: cd: /opt/iobroker/iobroker.rpi2: Datei oder Verzeichnis nicht gefunden
                          pi@ioBroker-RasPi:/opt/iobroker $ cd /opt/iobroker/node_modulse/iobroker.rpi2
                          -bash: cd: /opt/iobroker/node_modulse/iobroker.rpi2: Datei oder Verzeichnis nich                      t gefunden
                          pi@ioBroker-RasPi:/opt/iobroker $ cd /opt/iobroker/node_modules/iobroker.rpi2
                          pi@ioBroker-RasPi:/opt/iobroker/node_modules/iobroker.rpi2 $ npm install rpi-gpi                      o
                          
                          > epoll@0.1.22 install /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epo                      ll
                          > node-gyp rebuild
                          
                          make: Verzeichnis „/opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll/b                      uild“ wird betreten
                            CXX(target) Release/obj.target/epoll/src/epoll.o
                          In file included from ../../nan/nan.h:192:0,
                                           from ../src/epoll.cc:15:
                          ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Lo                      cal<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribu                      te)’:
                          ../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member nam                      ed ‘ForceSet’
                             return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
                                         ^~~~~~~~
                          In file included from ../src/epoll.cc:15:0:
                          ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v                      8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
                          ../../nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is                      olate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value                      >*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarati                      ons]
                                   v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                                      ^
                          In file included from ../src/epoll.cc:12:0:
                          /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                            ^
                          /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                      ro ‘NODE_DEPRECATED’
                               __attribute__((deprecated(message))) declarator
                                                                    ^~~~~~~~~~
                          In file included from ../src/epoll.cc:15:0:
                          ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v                      8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
                          ../../nan/nan.h:850:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is                      olate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*                      )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration                      s]
                                   v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                        ^
                          In file included from ../src/epoll.cc:12:0:
                          /home/pi/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                            ^
                          /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                      ro ‘NODE_DEPRECATED’
                               __attribute__((deprecated(message))) declarator
                                                                    ^~~~~~~~~~
                          In file included from ../src/epoll.cc:15:0:
                          ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v                      8::Object>, const char*, int, v8::Local<v8::Value>*)’:
                          ../../nan/nan.h:865:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is                      olate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is depr                      ecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                   v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                        ^
                          In file included from ../src/epoll.cc:12:0:
                          /home/pi/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                            ^
                          /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                      ro ‘NODE_DEPRECATED’
                               __attribute__((deprecated(message))) declarator
                                                                    ^~~~~~~~~~
                          In file included from ../src/epoll.cc:15:0:
                          ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v                      8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
                          ../../nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is                      olate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value                      >*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarati                      ons]
                               ));
                               ^
                          In file included from ../src/epoll.cc:12:0:
                          /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                            ^
                          /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                      ro ‘NODE_DEPRECATED’
                               __attribute__((deprecated(message))) declarator
                                                                    ^~~~~~~~~~
                          ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE E                      poll::Add(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/epoll.cc:210:44: warning: ‘int32_t v8::Value::Int32Value() const’ is depr                      ecated: Use maybe version [-Wdeprecated-declarations]
                             int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                      ^
                          In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                           from ../src/epoll.cc:11:
                          /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                             V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                        ^
                          /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                       macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          ../src/epoll.cc:210:67: warning: ‘int32_t v8::Value::Int32Value() const’ is depr                      ecated: Use maybe version [-Wdeprecated-declarations]
                             int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                             ^
                          In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                           from ../src/epoll.cc:11:
                          /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                             V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                        ^
                          /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                       macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE E                      poll::Modify(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/epoll.cc:230:47: warning: ‘int32_t v8::Value::Int32Value() const’ is depr                      ecated: Use maybe version [-Wdeprecated-declarations]
                             int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                         ^
                          In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                           from ../src/epoll.cc:11:
                          /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                             V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                        ^
                          /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                       macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          ../src/epoll.cc:230:70: warning: ‘int32_t v8::Value::Int32Value() const’ is depr                      ecated: Use maybe version [-Wdeprecated-declarations]
                             int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                                ^
                          In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                           from ../src/epoll.cc:11:
                          /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                             V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                        ^
                          /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                       macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE E                      poll::Remove(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/epoll.cc:247:47: warning: ‘int32_t v8::Value::Int32Value() const’ is depr                      ecated: Use maybe version [-Wdeprecated-declarations]
                             int err = epoll->Remove(info[0]->Int32Value());
                                                                         ^
                          In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                           from ../src/epoll.cc:11:
                          /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                             V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                        ^
                          /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                       macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          epoll.target.mk:101: die Regel für Ziel „Release/obj.target/epoll/src/epoll.o“ s                      cheiterte
                          make: *** [Release/obj.target/epoll/src/epoll.o] Fehler 1
                          make: Verzeichnis „/opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll/b                      uild“ wird verlassen
                          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_module                      s/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_proces                      s.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-gy                      p/bin/node-gyp.js" "rebuild"
                          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll
                          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! epoll@0.1.22 install: `node-gyp rebuild`
                          npm ERR! Exit status 1
                          npm ERR!
                          npm ERR! Failed at the epoll@0.1.22 install script.
                          npm ERR! This is probably not a problem with npm. There is likely additional log                      ging output above.
                          
                          npm ERR! A complete log of this run can be found in:
                          npm ERR!     /home/pi/.npm/_logs/2019-06-17T14_19_01_263Z-debug.log
                          pi@ioBroker-RasPi:/opt/iobroker/node_modules/iobroker.rpi2 $ sudo npm install rp                      i-gpio
                          
                          > epoll@0.1.22 install /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epo                      ll
                          > node-gyp rebuild
                          
                          gyp WARN EACCES user "root" does not have permission to access the dev dir "/roo                      t/.node-gyp/10.16.0"
                          gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/n                      ode_modules/iobroker.rpi2/node_modules/epoll/.node-gyp"
                          gyp WARN install got an error, rolling back install
                          gyp WARN install got an error, rolling back install
                          gyp ERR! configure error
                          gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modul                      es/iobroker.rpi2/node_modules/epoll/.node-gyp'
                          gyp ERR! System Linux 4.19.42-v7+
                          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                      p/bin/node-gyp.js" "rebuild"
                          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll
                          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! epoll@0.1.22 install: `node-gyp rebuild`
                          npm ERR! Exit status 1
                          npm ERR!
                          npm ERR! Failed at the epoll@0.1.22 install script.
                          npm ERR! This is probably not a problem with npm. There is likely additional log                      ging output above.
                          
                          npm ERR! A complete log of this run can be found in:
                          npm ERR!     /root/.npm/_logs/2019-06-17T14_25_14_382Z-debug.log
                          pi@ioBroker-RasPi:/opt/iobroker/node_modules/iobroker.rpi2 $ sudo npm install ep                      oll
                          
                          > epoll@0.1.22 install /opt/iobroker/node_modules/iobroker.rpi2/node_modules/rpi                      -gpio/node_modules/epoll
                          > node-gyp rebuild
                          
                          gyp WARN EACCES user "root" does not have permission to access the dev dir "/roo                      t/.node-gyp/10.16.0"
                          gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/n                      ode_modules/iobroker.rpi2/node_modules/rpi-gpio/node_modules/epoll/.node-gyp"
                          gyp WARN install got an error, rolling back install
                          gyp WARN install got an error, rolling back install
                          gyp ERR! configure error
                          gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modul                      es/iobroker.rpi2/node_modules/rpi-gpio/node_modules/epoll/.node-gyp'
                          gyp ERR! System Linux 4.19.42-v7+
                          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                      p/bin/node-gyp.js" "rebuild"
                          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.rpi2/node_modules/rpi-gpio/node                      _modules/epoll
                          gyp ERR! node -v v10.16.0
                          gyp ERR! node-gyp -v v3.8.0
                          gyp ERR! not ok
                          
                          > epoll@2.0.9 install /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epol                      l
                          > node-gyp rebuild
                          
                          gyp WARN EACCES user "root" does not have permission to access the dev dir "/roo                      t/.node-gyp/10.16.0"
                          gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/n                      ode_modules/iobroker.rpi2/node_modules/epoll/.node-gyp"
                          gyp WARN install got an error, rolling back install
                          gyp WARN install got an error, rolling back install
                          gyp ERR! configure error
                          gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modul                      es/iobroker.rpi2/node_modules/epoll/.node-gyp'
                          gyp ERR! System Linux 4.19.42-v7+
                          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                      p/bin/node-gyp.js" "rebuild"
                          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll
                          gyp ERR! node -v v10.16.0
                          gyp ERR! node-gyp -v v3.8.0
                          gyp ERR! not ok
                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 (node_modules/rpi-g                      pio/node_modules/epoll):
                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 install: `node-gyp                       rebuild`
                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                          
                          npm ERR! code ELIFECYCLE
                          npm ERR! errno 1
                          npm ERR! epoll@2.0.9 install: `node-gyp rebuild`
                          npm ERR! Exit status 1
                          npm ERR!
                          npm ERR! Failed at the epoll@2.0.9 install script.
                          npm ERR! This is probably not a problem with npm. There is likely additional log                      ging output above.
                          
                          npm ERR! A complete log of this run can be found in:
                          npm ERR!     /root/.npm/_logs/2019-06-17T14_26_06_404Z-debug.log
                          pi@ioBroker-RasPi:/opt/iobroker/node_modules/iobroker.rpi2 $ sudo npm install rp                      i-gpio
                          
                          > epoll@0.1.22 install /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epo                      ll
                          > node-gyp rebuild
                          
                          gyp WARN EACCES user "root" does not have permission to access the dev dir "/roo                      t/.node-gyp/10.16.0"
                          gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/n                      ode_modules/iobroker.rpi2/node_modules/epoll/.node-gyp"
                          gyp WARN install got an error, rolling back install
                          gyp WARN install got an error, rolling back install
                          gyp ERR! configure error
                          gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modul                      es/iobroker.rpi2/node_modules/epoll/.node-gyp'
                          gyp ERR! System Linux 4.19.42-v7+
                          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                      p/bin/node-gyp.js" "rebuild"
                          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll
                          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! epoll@0.1.22 install: `node-gyp rebuild`
                          npm ERR! Exit status 1
                          npm ERR!
                          npm ERR! Failed at the epoll@0.1.22 install script.
                          npm ERR! This is probably not a problem with npm. There is likely additional log                      ging output above.
                          
                          npm ERR! A complete log of this run can be found in:
                          npm ERR!     /root/.npm/_logs/2019-06-17T14_26_44_239Z-debug.log
                          pi@ioBroker-RasPi:/opt/iobroker/node_modules/iobroker.rpi2 $ cd
                          pi@ioBroker-RasPi:~ $ sudo reboot
                          
                          
                          crunchipC StabilostickS 2 Antworten Letzte Antwort
                          0
                          • smartboartS smartboart

                            @crunchip Hallo, bekomme die GPIO auch nicht mehr zum laufen nach dem Update...
                            Alles andere hat prima geklappt...
                            hier der log zum Thema wie bekomme ich meine gpio inputs wieder eingelesen...
                            rpi-gpio und epoll machen hier probleme...
                            wegen der admin Rechte für die gpio ist das installationsfixer skript keine option...habs trotzdem laufen lassen. hat auch nix gebracht...

                            
                            pi@192.168.1.47's password:
                            Linux ioBroker-RasPi 4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST 2019 armv7l
                            
                            The programs included with the Debian GNU/Linux system are free software;
                            the exact distribution terms for each program are described in the
                            individual files in /usr/share/doc/*/copyright.
                            
                            Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                            permitted by applicable law.
                            Last login: Mon Jun 17 16:02:36 2019 from 192.168.1.27
                            pi@ioBroker-RasPi:~ $ cd /opt/iobroker
                            pi@ioBroker-RasPi:/opt/iobroker $ sudo iobroker stop
                            Stopping iobroker controller daemon...
                            iobroker controller daemon stopped.
                            No "killall.sh" script found. Just stop.
                            pi@ioBroker-RasPi:/opt/iobroker $ cd
                            pi@ioBroker-RasPi:~ $ npm ls rpi-gpio
                            /home/pi
                            └── (empty)
                            
                            pi@ioBroker-RasPi:~ $ cd /opt/iobroker
                            pi@ioBroker-RasPi:/opt/iobroker $ npm ls rpi-gpio
                            iobroker.inst@1.1.2 /opt/iobroker
                            └─┬ iobroker.rpi2@1.0.0
                              └── UNMET OPTIONAL DEPENDENCY rpi-gpio@^1.0.0
                            
                            pi@ioBroker-RasPi:/opt/iobroker $ cd /opt/iobroker/iobroker.rpi2
                            -bash: cd: /opt/iobroker/iobroker.rpi2: Datei oder Verzeichnis nicht gefunden
                            pi@ioBroker-RasPi:/opt/iobroker $ cd /opt/iobroker/node_modulse/iobroker.rpi2
                            -bash: cd: /opt/iobroker/node_modulse/iobroker.rpi2: Datei oder Verzeichnis nich                      t gefunden
                            pi@ioBroker-RasPi:/opt/iobroker $ cd /opt/iobroker/node_modules/iobroker.rpi2
                            pi@ioBroker-RasPi:/opt/iobroker/node_modules/iobroker.rpi2 $ npm install rpi-gpi                      o
                            
                            > epoll@0.1.22 install /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epo                      ll
                            > node-gyp rebuild
                            
                            make: Verzeichnis „/opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll/b                      uild“ wird betreten
                              CXX(target) Release/obj.target/epoll/src/epoll.o
                            In file included from ../../nan/nan.h:192:0,
                                             from ../src/epoll.cc:15:
                            ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Lo                      cal<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribu                      te)’:
                            ../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member nam                      ed ‘ForceSet’
                               return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
                                           ^~~~~~~~
                            In file included from ../src/epoll.cc:15:0:
                            ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v                      8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
                            ../../nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is                      olate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value                      >*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarati                      ons]
                                     v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                                        ^
                            In file included from ../src/epoll.cc:12:0:
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                             NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                              ^
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                      ro ‘NODE_DEPRECATED’
                                 __attribute__((deprecated(message))) declarator
                                                                      ^~~~~~~~~~
                            In file included from ../src/epoll.cc:15:0:
                            ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v                      8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
                            ../../nan/nan.h:850:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is                      olate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*                      )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration                      s]
                                     v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                          ^
                            In file included from ../src/epoll.cc:12:0:
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                             NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                              ^
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                      ro ‘NODE_DEPRECATED’
                                 __attribute__((deprecated(message))) declarator
                                                                      ^~~~~~~~~~
                            In file included from ../src/epoll.cc:15:0:
                            ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v                      8::Object>, const char*, int, v8::Local<v8::Value>*)’:
                            ../../nan/nan.h:865:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is                      olate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is depr                      ecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                     v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                          ^
                            In file included from ../src/epoll.cc:12:0:
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                             NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                              ^
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                      ro ‘NODE_DEPRECATED’
                                 __attribute__((deprecated(message))) declarator
                                                                      ^~~~~~~~~~
                            In file included from ../src/epoll.cc:15:0:
                            ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v                      8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
                            ../../nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is                      olate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value                      >*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarati                      ons]
                                 ));
                                 ^
                            In file included from ../src/epoll.cc:12:0:
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                             NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                              ^
                            /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                      ro ‘NODE_DEPRECATED’
                                 __attribute__((deprecated(message))) declarator
                                                                      ^~~~~~~~~~
                            ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE E                      poll::Add(Nan::NAN_METHOD_ARGS_TYPE)’:
                            ../src/epoll.cc:210:44: warning: ‘int32_t v8::Value::Int32Value() const’ is depr                      ecated: Use maybe version [-Wdeprecated-declarations]
                               int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                        ^
                            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                             from ../src/epoll.cc:11:
                            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                          ^
                            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                       macro ‘V8_DEPRECATED’
                               declarator __attribute__((deprecated(message)))
                               ^~~~~~~~~~
                            ../src/epoll.cc:210:67: warning: ‘int32_t v8::Value::Int32Value() const’ is depr                      ecated: Use maybe version [-Wdeprecated-declarations]
                               int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                               ^
                            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                             from ../src/epoll.cc:11:
                            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                          ^
                            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                       macro ‘V8_DEPRECATED’
                               declarator __attribute__((deprecated(message)))
                               ^~~~~~~~~~
                            ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE E                      poll::Modify(Nan::NAN_METHOD_ARGS_TYPE)’:
                            ../src/epoll.cc:230:47: warning: ‘int32_t v8::Value::Int32Value() const’ is depr                      ecated: Use maybe version [-Wdeprecated-declarations]
                               int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                           ^
                            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                             from ../src/epoll.cc:11:
                            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                          ^
                            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                       macro ‘V8_DEPRECATED’
                               declarator __attribute__((deprecated(message)))
                               ^~~~~~~~~~
                            ../src/epoll.cc:230:70: warning: ‘int32_t v8::Value::Int32Value() const’ is depr                      ecated: Use maybe version [-Wdeprecated-declarations]
                               int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                                  ^
                            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                             from ../src/epoll.cc:11:
                            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                          ^
                            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                       macro ‘V8_DEPRECATED’
                               declarator __attribute__((deprecated(message)))
                               ^~~~~~~~~~
                            ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE E                      poll::Remove(Nan::NAN_METHOD_ARGS_TYPE)’:
                            ../src/epoll.cc:247:47: warning: ‘int32_t v8::Value::Int32Value() const’ is depr                      ecated: Use maybe version [-Wdeprecated-declarations]
                               int err = epoll->Remove(info[0]->Int32Value());
                                                                           ^
                            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                             from ../src/epoll.cc:11:
                            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                          ^
                            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                       macro ‘V8_DEPRECATED’
                               declarator __attribute__((deprecated(message)))
                               ^~~~~~~~~~
                            epoll.target.mk:101: die Regel für Ziel „Release/obj.target/epoll/src/epoll.o“ s                      cheiterte
                            make: *** [Release/obj.target/epoll/src/epoll.o] Fehler 1
                            make: Verzeichnis „/opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll/b                      uild“ wird verlassen
                            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_module                      s/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_proces                      s.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-gy                      p/bin/node-gyp.js" "rebuild"
                            gyp ERR! cwd /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll
                            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! epoll@0.1.22 install: `node-gyp rebuild`
                            npm ERR! Exit status 1
                            npm ERR!
                            npm ERR! Failed at the epoll@0.1.22 install script.
                            npm ERR! This is probably not a problem with npm. There is likely additional log                      ging output above.
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /home/pi/.npm/_logs/2019-06-17T14_19_01_263Z-debug.log
                            pi@ioBroker-RasPi:/opt/iobroker/node_modules/iobroker.rpi2 $ sudo npm install rp                      i-gpio
                            
                            > epoll@0.1.22 install /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epo                      ll
                            > node-gyp rebuild
                            
                            gyp WARN EACCES user "root" does not have permission to access the dev dir "/roo                      t/.node-gyp/10.16.0"
                            gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/n                      ode_modules/iobroker.rpi2/node_modules/epoll/.node-gyp"
                            gyp WARN install got an error, rolling back install
                            gyp WARN install got an error, rolling back install
                            gyp ERR! configure error
                            gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modul                      es/iobroker.rpi2/node_modules/epoll/.node-gyp'
                            gyp ERR! System Linux 4.19.42-v7+
                            gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                      p/bin/node-gyp.js" "rebuild"
                            gyp ERR! cwd /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll
                            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! epoll@0.1.22 install: `node-gyp rebuild`
                            npm ERR! Exit status 1
                            npm ERR!
                            npm ERR! Failed at the epoll@0.1.22 install script.
                            npm ERR! This is probably not a problem with npm. There is likely additional log                      ging output above.
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /root/.npm/_logs/2019-06-17T14_25_14_382Z-debug.log
                            pi@ioBroker-RasPi:/opt/iobroker/node_modules/iobroker.rpi2 $ sudo npm install ep                      oll
                            
                            > epoll@0.1.22 install /opt/iobroker/node_modules/iobroker.rpi2/node_modules/rpi                      -gpio/node_modules/epoll
                            > node-gyp rebuild
                            
                            gyp WARN EACCES user "root" does not have permission to access the dev dir "/roo                      t/.node-gyp/10.16.0"
                            gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/n                      ode_modules/iobroker.rpi2/node_modules/rpi-gpio/node_modules/epoll/.node-gyp"
                            gyp WARN install got an error, rolling back install
                            gyp WARN install got an error, rolling back install
                            gyp ERR! configure error
                            gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modul                      es/iobroker.rpi2/node_modules/rpi-gpio/node_modules/epoll/.node-gyp'
                            gyp ERR! System Linux 4.19.42-v7+
                            gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                      p/bin/node-gyp.js" "rebuild"
                            gyp ERR! cwd /opt/iobroker/node_modules/iobroker.rpi2/node_modules/rpi-gpio/node                      _modules/epoll
                            gyp ERR! node -v v10.16.0
                            gyp ERR! node-gyp -v v3.8.0
                            gyp ERR! not ok
                            
                            > epoll@2.0.9 install /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epol                      l
                            > node-gyp rebuild
                            
                            gyp WARN EACCES user "root" does not have permission to access the dev dir "/roo                      t/.node-gyp/10.16.0"
                            gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/n                      ode_modules/iobroker.rpi2/node_modules/epoll/.node-gyp"
                            gyp WARN install got an error, rolling back install
                            gyp WARN install got an error, rolling back install
                            gyp ERR! configure error
                            gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modul                      es/iobroker.rpi2/node_modules/epoll/.node-gyp'
                            gyp ERR! System Linux 4.19.42-v7+
                            gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                      p/bin/node-gyp.js" "rebuild"
                            gyp ERR! cwd /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll
                            gyp ERR! node -v v10.16.0
                            gyp ERR! node-gyp -v v3.8.0
                            gyp ERR! not ok
                            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 (node_modules/rpi-g                      pio/node_modules/epoll):
                            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 install: `node-gyp                       rebuild`
                            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                            
                            npm ERR! code ELIFECYCLE
                            npm ERR! errno 1
                            npm ERR! epoll@2.0.9 install: `node-gyp rebuild`
                            npm ERR! Exit status 1
                            npm ERR!
                            npm ERR! Failed at the epoll@2.0.9 install script.
                            npm ERR! This is probably not a problem with npm. There is likely additional log                      ging output above.
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /root/.npm/_logs/2019-06-17T14_26_06_404Z-debug.log
                            pi@ioBroker-RasPi:/opt/iobroker/node_modules/iobroker.rpi2 $ sudo npm install rp                      i-gpio
                            
                            > epoll@0.1.22 install /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epo                      ll
                            > node-gyp rebuild
                            
                            gyp WARN EACCES user "root" does not have permission to access the dev dir "/roo                      t/.node-gyp/10.16.0"
                            gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/n                      ode_modules/iobroker.rpi2/node_modules/epoll/.node-gyp"
                            gyp WARN install got an error, rolling back install
                            gyp WARN install got an error, rolling back install
                            gyp ERR! configure error
                            gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modul                      es/iobroker.rpi2/node_modules/epoll/.node-gyp'
                            gyp ERR! System Linux 4.19.42-v7+
                            gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                      p/bin/node-gyp.js" "rebuild"
                            gyp ERR! cwd /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll
                            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! epoll@0.1.22 install: `node-gyp rebuild`
                            npm ERR! Exit status 1
                            npm ERR!
                            npm ERR! Failed at the epoll@0.1.22 install script.
                            npm ERR! This is probably not a problem with npm. There is likely additional log                      ging output above.
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /root/.npm/_logs/2019-06-17T14_26_44_239Z-debug.log
                            pi@ioBroker-RasPi:/opt/iobroker/node_modules/iobroker.rpi2 $ cd
                            pi@ioBroker-RasPi:~ $ sudo reboot
                            
                            
                            crunchipC Abwesend
                            crunchipC Abwesend
                            crunchip
                            Forum Testing Most Active
                            schrieb am zuletzt editiert von
                            #135

                            @smartboart mit diesen ganzen Rechteproblemen blick ich selbst nicht durch.
                            Ich hatte bei mir eine alte Root Installation.
                            Ich habe das bei mir nicht weiter verfolgt und den Adapter gelöscht, da er aktuell nicht in gebrauch ist.
                            vllt kann ja @Stabilostick mal gucken

                            umgestiegen von Proxmox auf Unraid

                            smartboartS 1 Antwort Letzte Antwort
                            0
                            • crunchipC crunchip

                              @smartboart mit diesen ganzen Rechteproblemen blick ich selbst nicht durch.
                              Ich hatte bei mir eine alte Root Installation.
                              Ich habe das bei mir nicht weiter verfolgt und den Adapter gelöscht, da er aktuell nicht in gebrauch ist.
                              vllt kann ja @Stabilostick mal gucken

                              smartboartS Offline
                              smartboartS Offline
                              smartboart
                              schrieb am zuletzt editiert von
                              #136

                              @crunchip sind denn noch andere mit von der Partie bei Problemen mit dem Raspi und dem rpi Adapter bzw. dem einlesen der GPIO mit den Versionen Node.js
                              node.js v10.16.0 NPM 6.9.0? Funktioniert das bei irgendwem oder ist das ein generelles Problem mit dem adapter und den Admin Rechten oder der kompatibilität der Abhängikeiten des Adapters?

                              crunchipC 1 Antwort Letzte Antwort
                              0
                              • smartboartS smartboart

                                @crunchip sind denn noch andere mit von der Partie bei Problemen mit dem Raspi und dem rpi Adapter bzw. dem einlesen der GPIO mit den Versionen Node.js
                                node.js v10.16.0 NPM 6.9.0? Funktioniert das bei irgendwem oder ist das ein generelles Problem mit dem adapter und den Admin Rechten oder der kompatibilität der Abhängikeiten des Adapters?

                                crunchipC Abwesend
                                crunchipC Abwesend
                                crunchip
                                Forum Testing Most Active
                                schrieb am zuletzt editiert von
                                #137

                                @smartboart das weiss ich leider nicht, bisher hab ich diesbezüglich nichts gelesen, das irgendwer damit Probleme hat.
                                Du kannst folgendes machen.
                                Den Adapter einmal löschen und neu installieren, damit die benötigten node module neu geladen werden.

                                umgestiegen von Proxmox auf Unraid

                                1 Antwort Letzte Antwort
                                0
                                • MathiasJM Offline
                                  MathiasJM Offline
                                  MathiasJ
                                  schrieb am zuletzt editiert von
                                  #138

                                  Das wäre auch für mich interessant. Obwohl es bei mir wahrscheinlich nicht zum Tragen kommt.
                                  Ich habe IObroker komplett platt gemacht und neu installiert. Beim einspielen des Backups werden die Adapter sowieso neu installiert.

                                  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 Antwort Letzte Antwort
                                  0
                                  • StabilostickS Stabilostick

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

                                    Ah, Du bist einer welcher, der die Sicherheit seines Systems täglich aufs neue herausfordert, indem Du als root-User arbeitest. :smiling_imp:

                                    npm i acme-dns-01-cli

                                    Hattest Du das im ioBroker-Ordner (z.B. /opt/iobroker) ausgeführt?

                                    Wegen root-User: Versuche es ggf. einmal mit dem ioBroker-Fixer, der einige Berechtigungen und Einstellungen korrigiert:

                                    curl -sL https://iobroker.net/fix.sh | bash -
                                    
                                    MicM Offline
                                    MicM Offline
                                    Mic
                                    Developer
                                    schrieb am zuletzt editiert von
                                    #139

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

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

                                    Ah, Du bist einer welcher, der die Sicherheit seines Systems täglich aufs neue herausfordert, indem Du als root-User arbeitest. :smiling_imp:

                                    npm i acme-dns-01-cli

                                    Hattest Du das im ioBroker-Ordner (z.B. /opt/iobroker) ausgeführt?

                                    Wegen root-User: Versuche es ggf. einmal mit dem ioBroker-Fixer, der einige Berechtigungen und Einstellungen korrigiert:

                                    curl -sL https://iobroker.net/fix.sh | bash -
                                    

                                    :scream:
                                    Danke für Deine Antwort. :relaxed:
                                    Hat nichts gebracht, ich werde wohl mal gelegentlich eine Neuinstallation durchlaufen lassen. Geht ja relativ fix, außerhalt der Wartezeit nach Einspielen ioBroker-Backup.

                                    crunchipC 1 Antwort Letzte Antwort
                                    0
                                    • MicM Mic

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

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

                                      Ah, Du bist einer welcher, der die Sicherheit seines Systems täglich aufs neue herausfordert, indem Du als root-User arbeitest. :smiling_imp:

                                      npm i acme-dns-01-cli

                                      Hattest Du das im ioBroker-Ordner (z.B. /opt/iobroker) ausgeführt?

                                      Wegen root-User: Versuche es ggf. einmal mit dem ioBroker-Fixer, der einige Berechtigungen und Einstellungen korrigiert:

                                      curl -sL https://iobroker.net/fix.sh | bash -
                                      

                                      :scream:
                                      Danke für Deine Antwort. :relaxed:
                                      Hat nichts gebracht, ich werde wohl mal gelegentlich eine Neuinstallation durchlaufen lassen. Geht ja relativ fix, außerhalt der Wartezeit nach Einspielen ioBroker-Backup.

                                      crunchipC Abwesend
                                      crunchipC Abwesend
                                      crunchip
                                      Forum Testing Most Active
                                      schrieb am zuletzt editiert von
                                      #140

                                      @Mic mich hat er auch schon bekehrt:wink:

                                      umgestiegen von Proxmox auf Unraid

                                      1 Antwort Letzte Antwort
                                      1
                                      • smartboartS smartboart

                                        @crunchip Hallo, bekomme die GPIO auch nicht mehr zum laufen nach dem Update...
                                        Alles andere hat prima geklappt...
                                        hier der log zum Thema wie bekomme ich meine gpio inputs wieder eingelesen...
                                        rpi-gpio und epoll machen hier probleme...
                                        wegen der admin Rechte für die gpio ist das installationsfixer skript keine option...habs trotzdem laufen lassen. hat auch nix gebracht...

                                        
                                        pi@192.168.1.47's password:
                                        Linux ioBroker-RasPi 4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST 2019 armv7l
                                        
                                        The programs included with the Debian GNU/Linux system are free software;
                                        the exact distribution terms for each program are described in the
                                        individual files in /usr/share/doc/*/copyright.
                                        
                                        Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                        permitted by applicable law.
                                        Last login: Mon Jun 17 16:02:36 2019 from 192.168.1.27
                                        pi@ioBroker-RasPi:~ $ cd /opt/iobroker
                                        pi@ioBroker-RasPi:/opt/iobroker $ sudo iobroker stop
                                        Stopping iobroker controller daemon...
                                        iobroker controller daemon stopped.
                                        No "killall.sh" script found. Just stop.
                                        pi@ioBroker-RasPi:/opt/iobroker $ cd
                                        pi@ioBroker-RasPi:~ $ npm ls rpi-gpio
                                        /home/pi
                                        └── (empty)
                                        
                                        pi@ioBroker-RasPi:~ $ cd /opt/iobroker
                                        pi@ioBroker-RasPi:/opt/iobroker $ npm ls rpi-gpio
                                        iobroker.inst@1.1.2 /opt/iobroker
                                        └─┬ iobroker.rpi2@1.0.0
                                          └── UNMET OPTIONAL DEPENDENCY rpi-gpio@^1.0.0
                                        
                                        pi@ioBroker-RasPi:/opt/iobroker $ cd /opt/iobroker/iobroker.rpi2
                                        -bash: cd: /opt/iobroker/iobroker.rpi2: Datei oder Verzeichnis nicht gefunden
                                        pi@ioBroker-RasPi:/opt/iobroker $ cd /opt/iobroker/node_modulse/iobroker.rpi2
                                        -bash: cd: /opt/iobroker/node_modulse/iobroker.rpi2: Datei oder Verzeichnis nich                      t gefunden
                                        pi@ioBroker-RasPi:/opt/iobroker $ cd /opt/iobroker/node_modules/iobroker.rpi2
                                        pi@ioBroker-RasPi:/opt/iobroker/node_modules/iobroker.rpi2 $ npm install rpi-gpi                      o
                                        
                                        > epoll@0.1.22 install /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epo                      ll
                                        > node-gyp rebuild
                                        
                                        make: Verzeichnis „/opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll/b                      uild“ wird betreten
                                          CXX(target) Release/obj.target/epoll/src/epoll.o
                                        In file included from ../../nan/nan.h:192:0,
                                                         from ../src/epoll.cc:15:
                                        ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Lo                      cal<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribu                      te)’:
                                        ../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member nam                      ed ‘ForceSet’
                                           return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
                                                       ^~~~~~~~
                                        In file included from ../src/epoll.cc:15:0:
                                        ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v                      8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
                                        ../../nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is                      olate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value                      >*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarati                      ons]
                                                 v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                                                    ^
                                        In file included from ../src/epoll.cc:12:0:
                                        /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                          ^
                                        /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                      ro ‘NODE_DEPRECATED’
                                             __attribute__((deprecated(message))) declarator
                                                                                  ^~~~~~~~~~
                                        In file included from ../src/epoll.cc:15:0:
                                        ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v                      8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
                                        ../../nan/nan.h:850:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is                      olate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*                      )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration                      s]
                                                 v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                                      ^
                                        In file included from ../src/epoll.cc:12:0:
                                        /home/pi/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                          ^
                                        /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                      ro ‘NODE_DEPRECATED’
                                             __attribute__((deprecated(message))) declarator
                                                                                  ^~~~~~~~~~
                                        In file included from ../src/epoll.cc:15:0:
                                        ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v                      8::Object>, const char*, int, v8::Local<v8::Value>*)’:
                                        ../../nan/nan.h:865:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is                      olate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is depr                      ecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                                 v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                                      ^
                                        In file included from ../src/epoll.cc:12:0:
                                        /home/pi/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                          ^
                                        /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                      ro ‘NODE_DEPRECATED’
                                             __attribute__((deprecated(message))) declarator
                                                                                  ^~~~~~~~~~
                                        In file included from ../src/epoll.cc:15:0:
                                        ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v                      8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
                                        ../../nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is                      olate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value                      >*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarati                      ons]
                                             ));
                                             ^
                                        In file included from ../src/epoll.cc:12:0:
                                        /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                          ^
                                        /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                      ro ‘NODE_DEPRECATED’
                                             __attribute__((deprecated(message))) declarator
                                                                                  ^~~~~~~~~~
                                        ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE E                      poll::Add(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/epoll.cc:210:44: warning: ‘int32_t v8::Value::Int32Value() const’ is depr                      ecated: Use maybe version [-Wdeprecated-declarations]
                                           int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                    ^
                                        In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                         from ../src/epoll.cc:11:
                                        /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                      ^
                                        /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                       macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/epoll.cc:210:67: warning: ‘int32_t v8::Value::Int32Value() const’ is depr                      ecated: Use maybe version [-Wdeprecated-declarations]
                                           int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                                           ^
                                        In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                         from ../src/epoll.cc:11:
                                        /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                      ^
                                        /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                       macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE E                      poll::Modify(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/epoll.cc:230:47: warning: ‘int32_t v8::Value::Int32Value() const’ is depr                      ecated: Use maybe version [-Wdeprecated-declarations]
                                           int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                       ^
                                        In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                         from ../src/epoll.cc:11:
                                        /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                      ^
                                        /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                       macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/epoll.cc:230:70: warning: ‘int32_t v8::Value::Int32Value() const’ is depr                      ecated: Use maybe version [-Wdeprecated-declarations]
                                           int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                                              ^
                                        In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                         from ../src/epoll.cc:11:
                                        /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                      ^
                                        /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                       macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE E                      poll::Remove(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/epoll.cc:247:47: warning: ‘int32_t v8::Value::Int32Value() const’ is depr                      ecated: Use maybe version [-Wdeprecated-declarations]
                                           int err = epoll->Remove(info[0]->Int32Value());
                                                                                       ^
                                        In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                         from ../src/epoll.cc:11:
                                        /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                      ^
                                        /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                       macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        epoll.target.mk:101: die Regel für Ziel „Release/obj.target/epoll/src/epoll.o“ s                      cheiterte
                                        make: *** [Release/obj.target/epoll/src/epoll.o] Fehler 1
                                        make: Verzeichnis „/opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll/b                      uild“ wird verlassen
                                        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_module                      s/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_proces                      s.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-gy                      p/bin/node-gyp.js" "rebuild"
                                        gyp ERR! cwd /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll
                                        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! epoll@0.1.22 install: `node-gyp rebuild`
                                        npm ERR! Exit status 1
                                        npm ERR!
                                        npm ERR! Failed at the epoll@0.1.22 install script.
                                        npm ERR! This is probably not a problem with npm. There is likely additional log                      ging output above.
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /home/pi/.npm/_logs/2019-06-17T14_19_01_263Z-debug.log
                                        pi@ioBroker-RasPi:/opt/iobroker/node_modules/iobroker.rpi2 $ sudo npm install rp                      i-gpio
                                        
                                        > epoll@0.1.22 install /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epo                      ll
                                        > node-gyp rebuild
                                        
                                        gyp WARN EACCES user "root" does not have permission to access the dev dir "/roo                      t/.node-gyp/10.16.0"
                                        gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/n                      ode_modules/iobroker.rpi2/node_modules/epoll/.node-gyp"
                                        gyp WARN install got an error, rolling back install
                                        gyp WARN install got an error, rolling back install
                                        gyp ERR! configure error
                                        gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modul                      es/iobroker.rpi2/node_modules/epoll/.node-gyp'
                                        gyp ERR! System Linux 4.19.42-v7+
                                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                      p/bin/node-gyp.js" "rebuild"
                                        gyp ERR! cwd /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll
                                        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! epoll@0.1.22 install: `node-gyp rebuild`
                                        npm ERR! Exit status 1
                                        npm ERR!
                                        npm ERR! Failed at the epoll@0.1.22 install script.
                                        npm ERR! This is probably not a problem with npm. There is likely additional log                      ging output above.
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /root/.npm/_logs/2019-06-17T14_25_14_382Z-debug.log
                                        pi@ioBroker-RasPi:/opt/iobroker/node_modules/iobroker.rpi2 $ sudo npm install ep                      oll
                                        
                                        > epoll@0.1.22 install /opt/iobroker/node_modules/iobroker.rpi2/node_modules/rpi                      -gpio/node_modules/epoll
                                        > node-gyp rebuild
                                        
                                        gyp WARN EACCES user "root" does not have permission to access the dev dir "/roo                      t/.node-gyp/10.16.0"
                                        gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/n                      ode_modules/iobroker.rpi2/node_modules/rpi-gpio/node_modules/epoll/.node-gyp"
                                        gyp WARN install got an error, rolling back install
                                        gyp WARN install got an error, rolling back install
                                        gyp ERR! configure error
                                        gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modul                      es/iobroker.rpi2/node_modules/rpi-gpio/node_modules/epoll/.node-gyp'
                                        gyp ERR! System Linux 4.19.42-v7+
                                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                      p/bin/node-gyp.js" "rebuild"
                                        gyp ERR! cwd /opt/iobroker/node_modules/iobroker.rpi2/node_modules/rpi-gpio/node                      _modules/epoll
                                        gyp ERR! node -v v10.16.0
                                        gyp ERR! node-gyp -v v3.8.0
                                        gyp ERR! not ok
                                        
                                        > epoll@2.0.9 install /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epol                      l
                                        > node-gyp rebuild
                                        
                                        gyp WARN EACCES user "root" does not have permission to access the dev dir "/roo                      t/.node-gyp/10.16.0"
                                        gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/n                      ode_modules/iobroker.rpi2/node_modules/epoll/.node-gyp"
                                        gyp WARN install got an error, rolling back install
                                        gyp WARN install got an error, rolling back install
                                        gyp ERR! configure error
                                        gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modul                      es/iobroker.rpi2/node_modules/epoll/.node-gyp'
                                        gyp ERR! System Linux 4.19.42-v7+
                                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                      p/bin/node-gyp.js" "rebuild"
                                        gyp ERR! cwd /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll
                                        gyp ERR! node -v v10.16.0
                                        gyp ERR! node-gyp -v v3.8.0
                                        gyp ERR! not ok
                                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 (node_modules/rpi-g                      pio/node_modules/epoll):
                                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 install: `node-gyp                       rebuild`
                                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                        
                                        npm ERR! code ELIFECYCLE
                                        npm ERR! errno 1
                                        npm ERR! epoll@2.0.9 install: `node-gyp rebuild`
                                        npm ERR! Exit status 1
                                        npm ERR!
                                        npm ERR! Failed at the epoll@2.0.9 install script.
                                        npm ERR! This is probably not a problem with npm. There is likely additional log                      ging output above.
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /root/.npm/_logs/2019-06-17T14_26_06_404Z-debug.log
                                        pi@ioBroker-RasPi:/opt/iobroker/node_modules/iobroker.rpi2 $ sudo npm install rp                      i-gpio
                                        
                                        > epoll@0.1.22 install /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epo                      ll
                                        > node-gyp rebuild
                                        
                                        gyp WARN EACCES user "root" does not have permission to access the dev dir "/roo                      t/.node-gyp/10.16.0"
                                        gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/n                      ode_modules/iobroker.rpi2/node_modules/epoll/.node-gyp"
                                        gyp WARN install got an error, rolling back install
                                        gyp WARN install got an error, rolling back install
                                        gyp ERR! configure error
                                        gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modul                      es/iobroker.rpi2/node_modules/epoll/.node-gyp'
                                        gyp ERR! System Linux 4.19.42-v7+
                                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                      p/bin/node-gyp.js" "rebuild"
                                        gyp ERR! cwd /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll
                                        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! epoll@0.1.22 install: `node-gyp rebuild`
                                        npm ERR! Exit status 1
                                        npm ERR!
                                        npm ERR! Failed at the epoll@0.1.22 install script.
                                        npm ERR! This is probably not a problem with npm. There is likely additional log                      ging output above.
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /root/.npm/_logs/2019-06-17T14_26_44_239Z-debug.log
                                        pi@ioBroker-RasPi:/opt/iobroker/node_modules/iobroker.rpi2 $ cd
                                        pi@ioBroker-RasPi:~ $ sudo reboot
                                        
                                        
                                        StabilostickS Online
                                        StabilostickS Online
                                        Stabilostick
                                        schrieb am zuletzt editiert von Stabilostick
                                        #141

                                        @smartboart

                                        Hi, bin gerade nicht am Rechner. rpi-gpio hat als Abhängigkeit epoll. Ich meine, dass bei epoll eine neuere Version für Node 10 benötigt wird. Gibt es nicht ein rpi-gpio@2.0.0 oder neuer? Der rpi2-Adapter müsste auch mit einem neueren rpi-gpio umgehen können.

                                        apollon77A MathiasJM 2 Antworten Letzte Antwort
                                        0
                                        • StabilostickS Stabilostick

                                          @smartboart

                                          Hi, bin gerade nicht am Rechner. rpi-gpio hat als Abhängigkeit epoll. Ich meine, dass bei epoll eine neuere Version für Node 10 benötigt wird. Gibt es nicht ein rpi-gpio@2.0.0 oder neuer? Der rpi2-Adapter müsste auch mit einem neueren rpi-gpio umgehen können.

                                          apollon77A Offline
                                          apollon77A Offline
                                          apollon77
                                          schrieb am zuletzt editiert von
                                          #142

                                          @Stabilostick macht doch mal ein GitHub issue auf?‘

                                          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
                                          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

                                          422

                                          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