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

  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Problem bei ioBroker Installation-> iobroker.js-controller

NEWS

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

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

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

Problem bei ioBroker Installation-> iobroker.js-controller

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
16 Beiträge 3 Kommentatoren 1.3k Aufrufe 2 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.
  • D Offline
    D Offline
    darulor
    schrieb am zuletzt editiert von
    #1

    Hallo zusammen,

    ich versuche auf einen PI4 die ioBroker Installation gem. der Anleitung hier aus dem Forum.
    Mir scheint es macht der jscontroller Probleme, kann aber die Fehlermeldung nicht ganz deuten
    "Failed at the iobroker.js-controller@3.3.18 install script".
    Die Installation läuft bis 3/4 sauber durch, dann kommen div. Errors und Fehlermeldungen.

    Betriebsystem: Raspberrian Buster
    NODE: v12.22.7
    NODEJS: v12.22.7
    NPM: 6.14.15

    ==========================================================================
        Installing ioBroker (3/4)
    ==========================================================================
    
    In file included from ../../nan/nan.h:58,
                     from ../src/main.cpp:3:
    /home/markus/.cache/node-gyp/12.22.7/include/node/node.h:736:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
           (node::addon_register_func) (regfunc),                          \
                                               ^
    /home/markus/.cache/node-gyp/12.22.7/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’
       NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
       ^~~~~~~~~~~~~
    ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
     NODE_MODULE(diskusage, Init)
     ^~~~~~~~~~~
    In file included from ../../nan/nan.h:58,
                     from ../src/unix_dgram.cc:5:
    /home/markus/.cache/node-gyp/12.22.7/include/node/node.h:736:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
           (node::addon_register_func) (regfunc),                          \
                                               ^
    /home/markus/.cache/node-gyp/12.22.7/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’
       NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
       ^~~~~~~~~~~~~
    ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
     NODE_MODULE(unix_dgram, Initialize)
     ^~~~~~~~~~~
    npm ERR! code ELIFECYCLE
    npm ERR! errno 22
    npm ERR! iobroker.js-controller@3.3.18 install: `node iobroker.js setup first`
    npm ERR! Exit status 22
    npm ERR!
    npm ERR! Failed at the iobroker.js-controller@3.3.18 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:
    npm ERR!     /home/markus/.npm/_logs/2021-10-28T19_20_15_297Z-debug.log
    
    ==========================================================================
        Finalizing installation (4/4)
    ==========================================================================
    
    Enabling autostart...
    Autostart enabled!
    Fixing directory permissions...
    
    ==========================================================================
    
        ioBroker was installed successfully
    
    

    Was mache ich falsch, wo liegt das Problem?

    Besten Dank für eure Hilfe!

    Thomas BraunT HomoranH 2 Antworten Letzte Antwort
    0
    • D darulor

      Hallo zusammen,

      ich versuche auf einen PI4 die ioBroker Installation gem. der Anleitung hier aus dem Forum.
      Mir scheint es macht der jscontroller Probleme, kann aber die Fehlermeldung nicht ganz deuten
      "Failed at the iobroker.js-controller@3.3.18 install script".
      Die Installation läuft bis 3/4 sauber durch, dann kommen div. Errors und Fehlermeldungen.

      Betriebsystem: Raspberrian Buster
      NODE: v12.22.7
      NODEJS: v12.22.7
      NPM: 6.14.15

      ==========================================================================
          Installing ioBroker (3/4)
      ==========================================================================
      
      In file included from ../../nan/nan.h:58,
                       from ../src/main.cpp:3:
      /home/markus/.cache/node-gyp/12.22.7/include/node/node.h:736:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
             (node::addon_register_func) (regfunc),                          \
                                                 ^
      /home/markus/.cache/node-gyp/12.22.7/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’
         NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
         ^~~~~~~~~~~~~
      ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
       NODE_MODULE(diskusage, Init)
       ^~~~~~~~~~~
      In file included from ../../nan/nan.h:58,
                       from ../src/unix_dgram.cc:5:
      /home/markus/.cache/node-gyp/12.22.7/include/node/node.h:736:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
             (node::addon_register_func) (regfunc),                          \
                                                 ^
      /home/markus/.cache/node-gyp/12.22.7/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’
         NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
         ^~~~~~~~~~~~~
      ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
       NODE_MODULE(unix_dgram, Initialize)
       ^~~~~~~~~~~
      npm ERR! code ELIFECYCLE
      npm ERR! errno 22
      npm ERR! iobroker.js-controller@3.3.18 install: `node iobroker.js setup first`
      npm ERR! Exit status 22
      npm ERR!
      npm ERR! Failed at the iobroker.js-controller@3.3.18 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:
      npm ERR!     /home/markus/.npm/_logs/2021-10-28T19_20_15_297Z-debug.log
      
      ==========================================================================
          Finalizing installation (4/4)
      ==========================================================================
      
      Enabling autostart...
      Autostart enabled!
      Fixing directory permissions...
      
      ==========================================================================
      
          ioBroker was installed successfully
      
      

      Was mache ich falsch, wo liegt das Problem?

      Besten Dank für eure Hilfe!

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

      @darulor sagte in Problem bei ioBroker Installation-> iobroker.js-controller:

      ELIFECYCLE

      Sind eigentlich Probleme skripte auszuführen, soweit ich weiß.
      Node ist sauber?

      which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
      

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

      D 1 Antwort Letzte Antwort
      0
      • D darulor

        Hallo zusammen,

        ich versuche auf einen PI4 die ioBroker Installation gem. der Anleitung hier aus dem Forum.
        Mir scheint es macht der jscontroller Probleme, kann aber die Fehlermeldung nicht ganz deuten
        "Failed at the iobroker.js-controller@3.3.18 install script".
        Die Installation läuft bis 3/4 sauber durch, dann kommen div. Errors und Fehlermeldungen.

        Betriebsystem: Raspberrian Buster
        NODE: v12.22.7
        NODEJS: v12.22.7
        NPM: 6.14.15

        ==========================================================================
            Installing ioBroker (3/4)
        ==========================================================================
        
        In file included from ../../nan/nan.h:58,
                         from ../src/main.cpp:3:
        /home/markus/.cache/node-gyp/12.22.7/include/node/node.h:736:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
               (node::addon_register_func) (regfunc),                          \
                                                   ^
        /home/markus/.cache/node-gyp/12.22.7/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’
           NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
           ^~~~~~~~~~~~~
        ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
         NODE_MODULE(diskusage, Init)
         ^~~~~~~~~~~
        In file included from ../../nan/nan.h:58,
                         from ../src/unix_dgram.cc:5:
        /home/markus/.cache/node-gyp/12.22.7/include/node/node.h:736:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
               (node::addon_register_func) (regfunc),                          \
                                                   ^
        /home/markus/.cache/node-gyp/12.22.7/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’
           NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
           ^~~~~~~~~~~~~
        ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
         NODE_MODULE(unix_dgram, Initialize)
         ^~~~~~~~~~~
        npm ERR! code ELIFECYCLE
        npm ERR! errno 22
        npm ERR! iobroker.js-controller@3.3.18 install: `node iobroker.js setup first`
        npm ERR! Exit status 22
        npm ERR!
        npm ERR! Failed at the iobroker.js-controller@3.3.18 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:
        npm ERR!     /home/markus/.npm/_logs/2021-10-28T19_20_15_297Z-debug.log
        
        ==========================================================================
            Finalizing installation (4/4)
        ==========================================================================
        
        Enabling autostart...
        Autostart enabled!
        Fixing directory permissions...
        
        ==========================================================================
        
            ioBroker was installed successfully
        
        

        Was mache ich falsch, wo liegt das Problem?

        Besten Dank für eure Hilfe!

        HomoranH Nicht stören
        HomoranH Nicht stören
        Homoran
        Global Moderator Administrators
        schrieb am zuletzt editiert von
        #3

        @darulor sagte in Problem bei ioBroker Installation-> iobroker.js-controller:

        wo liegt das Problem?

        sollte in

        @darulor sagte in Problem bei ioBroker Installation-> iobroker.js-controller:

        A complete log of this run can be found in: /home/markus/.npm/_logs/2021-10-28T19_20_15_297Z-debug.log

        stehen

        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        D 1 Antwort Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @darulor sagte in Problem bei ioBroker Installation-> iobroker.js-controller:

          ELIFECYCLE

          Sind eigentlich Probleme skripte auszuführen, soweit ich weiß.
          Node ist sauber?

          which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
          
          D Offline
          D Offline
          darulor
          schrieb am zuletzt editiert von
          #4

          @thomas-braun sagte in Problem bei ioBroker Installation-> iobroker.js-controller:

          which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs

          ja Node ist sauber, bekomme bei der Installation weiterhin die gleiche Fehlermeldung

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • D darulor

            @thomas-braun sagte in Problem bei ioBroker Installation-> iobroker.js-controller:

            which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs

            ja Node ist sauber, bekomme bei der Installation weiterhin die gleiche Fehlermeldung

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

            @darulor Bitte nicht nacherzählen, komplette Ein- und Ausgaben posten. In CodeTags eingebettet.

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

            1 Antwort Letzte Antwort
            0
            • HomoranH Homoran

              @darulor sagte in Problem bei ioBroker Installation-> iobroker.js-controller:

              wo liegt das Problem?

              sollte in

              @darulor sagte in Problem bei ioBroker Installation-> iobroker.js-controller:

              A complete log of this run can be found in: /home/markus/.npm/_logs/2021-10-28T19_20_15_297Z-debug.log

              stehen

              D Offline
              D Offline
              darulor
              schrieb am zuletzt editiert von darulor
              #6

              @homoran das ist richtig ich kann aber mit der Info nichts anfangen, sieht für mich als Neuling nahezu identisch mit der Fehlerausgabe bei der Installation aus.

              Ich habe heute im Ordner /opt/iobroker verscht den jscontroller zu installieren.
              Der Befehl npm install iobroker.js-controller@3.3.18 brachte mir folgende Fehlermeldung:

              root@pi4:/opt/iobroker# npm install iobroker.js-controller@3.3.18
              npm ERR! code EACCES
              npm ERR! syscall mkdir
              npm ERR! path /home/iobroker
              npm ERR! errno -13
              npm ERR! Error: EACCES: permission denied, mkdir '/home/iobroker'
              npm ERR!  [OperationalError: EACCES: permission denied, mkdir '/home/iobroker'] {
              npm ERR!   cause: [Error: EACCES: permission denied, mkdir '/home/iobroker'] {
              npm ERR!     errno: -13,
              npm ERR!     code: 'EACCES',
              npm ERR!     syscall: 'mkdir',
              npm ERR!     path: '/home/iobroker'
              npm ERR!   },
              npm ERR!   isOperational: true,
              npm ERR!   errno: -13,
              npm ERR!   code: 'EACCES',
              npm ERR!   syscall: 'mkdir',
              npm ERR!   path: '/home/iobroker'
              npm ERR! }
              npm ERR!
              npm ERR! The operation was rejected by your operating system.
              npm ERR! It is likely you do not have the permissions to access this file as the current user
              npm ERR!
              npm ERR! If you believe this might be a permissions issue, please double-check the
              npm ERR! permissions of the file and its containing directories, or try running
              npm ERR! the command again as root/Administrator.
              
              

              Ich habe doch den Befehl als root ausgeführt...
              Kann es sein als ich meinen User pi in markus umbenannt habe Rechte "verloren" gegangen sind?

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • D darulor

                @homoran das ist richtig ich kann aber mit der Info nichts anfangen, sieht für mich als Neuling nahezu identisch mit der Fehlerausgabe bei der Installation aus.

                Ich habe heute im Ordner /opt/iobroker verscht den jscontroller zu installieren.
                Der Befehl npm install iobroker.js-controller@3.3.18 brachte mir folgende Fehlermeldung:

                root@pi4:/opt/iobroker# npm install iobroker.js-controller@3.3.18
                npm ERR! code EACCES
                npm ERR! syscall mkdir
                npm ERR! path /home/iobroker
                npm ERR! errno -13
                npm ERR! Error: EACCES: permission denied, mkdir '/home/iobroker'
                npm ERR!  [OperationalError: EACCES: permission denied, mkdir '/home/iobroker'] {
                npm ERR!   cause: [Error: EACCES: permission denied, mkdir '/home/iobroker'] {
                npm ERR!     errno: -13,
                npm ERR!     code: 'EACCES',
                npm ERR!     syscall: 'mkdir',
                npm ERR!     path: '/home/iobroker'
                npm ERR!   },
                npm ERR!   isOperational: true,
                npm ERR!   errno: -13,
                npm ERR!   code: 'EACCES',
                npm ERR!   syscall: 'mkdir',
                npm ERR!   path: '/home/iobroker'
                npm ERR! }
                npm ERR!
                npm ERR! The operation was rejected by your operating system.
                npm ERR! It is likely you do not have the permissions to access this file as the current user
                npm ERR!
                npm ERR! If you believe this might be a permissions issue, please double-check the
                npm ERR! permissions of the file and its containing directories, or try running
                npm ERR! the command again as root/Administrator.
                
                

                Ich habe doch den Befehl als root ausgeführt...
                Kann es sein als ich meinen User pi in markus umbenannt habe Rechte "verloren" gegangen sind?

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

                @darulor sagte in Problem bei ioBroker Installation-> iobroker.js-controller:

                Ich habe doch den Befehl als root ausgeführt...

                Falsch. Man meldet sich nie als root an.

                Kann es sein als ich meinen User pi in markus umbenannt habe Rechte "verloren" gegangen sind?

                Auch falsch. Man nennt User (insbesondere den Pi nicht) nicht einfach um.

                Am besten fängst du nochmal bei Null an. Das hört sich alles total verfummelt an.

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

                D 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @darulor sagte in Problem bei ioBroker Installation-> iobroker.js-controller:

                  Ich habe doch den Befehl als root ausgeführt...

                  Falsch. Man meldet sich nie als root an.

                  Kann es sein als ich meinen User pi in markus umbenannt habe Rechte "verloren" gegangen sind?

                  Auch falsch. Man nennt User (insbesondere den Pi nicht) nicht einfach um.

                  Am besten fängst du nochmal bei Null an. Das hört sich alles total verfummelt an.

                  D Offline
                  D Offline
                  darulor
                  schrieb am zuletzt editiert von
                  #8

                  @thomas-braun ich habe heute bei null angefangen, mir mit dem Pi Imager, Pi OS Lite auf eine nagelneue SD-Karte gespielt und die Iobroker Installation nochmals durchgeführt. Die Fehlermeldung ist identisch ebenso so das Log-File, lag leider nicht am verfummelten PI.
                  Fehlermeldung sieht identisch aus:

                  npm ERR! code ELIFECYCLE
                  npm ERR! errno 22
                  npm ERR! iobroker.js-controller@3.3.18 install: `node iobroker.js setup first`
                  npm ERR! Exit status 22
                  npm ERR!
                  npm ERR! Failed at the iobroker.js-controller@3.3.18 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:
                  npm ERR!     /home/pi/.npm/_logs/2021-10-30T19_05_28_576Z-debug.log
                  
                  

                  Log-File ebenfalls (Auszug am Ende)

                  5267 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
                  5268 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                  5269 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS:    darwin
                  5269 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch:  any
                  5269 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS:   linux
                  5269 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: arm
                  5270 verbose stack Error: iobroker.js-controller@3.3.18 install: `node iobroker.js setup first`
                  5270 verbose stack Exit status 22
                  5270 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
                  5270 verbose stack     at EventEmitter.emit (events.js:314:20)
                  5270 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
                  5270 verbose stack     at ChildProcess.emit (events.js:314:20)
                  5270 verbose stack     at maybeClose (internal/child_process.js:1022:16)
                  5270 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
                  5271 verbose pkgid iobroker.js-controller@3.3.18
                  5272 verbose cwd /opt/iobroker
                  5273 verbose Linux 5.10.76-v7l+
                  5274 verbose argv "/usr/bin/node" "/usr/bin/npm" "i" "--production" "--loglevel" "error" "--unsafe-perm"
                  5275 verbose node v12.22.7
                  5276 verbose npm  v6.14.15
                  5277 error code ELIFECYCLE
                  5278 error errno 22
                  5279 error iobroker.js-controller@3.3.18 install: `node iobroker.js setup first`
                  5279 error Exit status 22
                  5280 error Failed at the iobroker.js-controller@3.3.18 install script.
                  5280 error This is probably not a problem with npm. There is likely additional logging output above.
                  5281 verbose exit [ 22, true ]
                  
                  HomoranH 1 Antwort Letzte Antwort
                  0
                  • D darulor

                    @thomas-braun ich habe heute bei null angefangen, mir mit dem Pi Imager, Pi OS Lite auf eine nagelneue SD-Karte gespielt und die Iobroker Installation nochmals durchgeführt. Die Fehlermeldung ist identisch ebenso so das Log-File, lag leider nicht am verfummelten PI.
                    Fehlermeldung sieht identisch aus:

                    npm ERR! code ELIFECYCLE
                    npm ERR! errno 22
                    npm ERR! iobroker.js-controller@3.3.18 install: `node iobroker.js setup first`
                    npm ERR! Exit status 22
                    npm ERR!
                    npm ERR! Failed at the iobroker.js-controller@3.3.18 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:
                    npm ERR!     /home/pi/.npm/_logs/2021-10-30T19_05_28_576Z-debug.log
                    
                    

                    Log-File ebenfalls (Auszug am Ende)

                    5267 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
                    5268 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                    5269 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS:    darwin
                    5269 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch:  any
                    5269 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS:   linux
                    5269 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: arm
                    5270 verbose stack Error: iobroker.js-controller@3.3.18 install: `node iobroker.js setup first`
                    5270 verbose stack Exit status 22
                    5270 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
                    5270 verbose stack     at EventEmitter.emit (events.js:314:20)
                    5270 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
                    5270 verbose stack     at ChildProcess.emit (events.js:314:20)
                    5270 verbose stack     at maybeClose (internal/child_process.js:1022:16)
                    5270 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
                    5271 verbose pkgid iobroker.js-controller@3.3.18
                    5272 verbose cwd /opt/iobroker
                    5273 verbose Linux 5.10.76-v7l+
                    5274 verbose argv "/usr/bin/node" "/usr/bin/npm" "i" "--production" "--loglevel" "error" "--unsafe-perm"
                    5275 verbose node v12.22.7
                    5276 verbose npm  v6.14.15
                    5277 error code ELIFECYCLE
                    5278 error errno 22
                    5279 error iobroker.js-controller@3.3.18 install: `node iobroker.js setup first`
                    5279 error Exit status 22
                    5280 error Failed at the iobroker.js-controller@3.3.18 install script.
                    5280 error This is probably not a problem with npm. There is likely additional logging output above.
                    5281 verbose exit [ 22, true ]
                    
                    HomoranH Nicht stören
                    HomoranH Nicht stören
                    Homoran
                    Global Moderator Administrators
                    schrieb am zuletzt editiert von
                    #9

                    @darulor sagte in Problem bei ioBroker Installation-> iobroker.js-controller:

                    und die Iobroker Installation nochmals durchgeführt.

                    wie genau hast du das gemacht?

                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                    D 1 Antwort Letzte Antwort
                    0
                    • HomoranH Homoran

                      @darulor sagte in Problem bei ioBroker Installation-> iobroker.js-controller:

                      und die Iobroker Installation nochmals durchgeführt.

                      wie genau hast du das gemacht?

                      D Offline
                      D Offline
                      darulor
                      schrieb am zuletzt editiert von
                      #10

                      @homoran gem. der Anleitung hier aus dem Forum „Neue Installationroutine unter Linux“

                      Thomas BraunT HomoranH 2 Antworten Letzte Antwort
                      0
                      • D darulor

                        @homoran gem. der Anleitung hier aus dem Forum „Neue Installationroutine unter Linux“

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

                        @darulor

                        Ich weiß nicht genau was du da treibst, die Installation geht per Einzeiler.

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

                        D 1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @darulor

                          Ich weiß nicht genau was du da treibst, die Installation geht per Einzeiler.

                          D Offline
                          D Offline
                          darulor
                          schrieb am zuletzt editiert von Homoran
                          #12

                          @thomas-braun meine Befehle für die Installation waren wie folgt:

                          sudo apt-get update && sudo apt-get upgrade
                          
                          curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
                          sudo apt install -y nodejs
                          Sudo reboot 
                          
                          sudo ln -s /usr/bin/node /usr/bin/nodejs
                          
                          curl -sLf https://iobroker.net/install.sh | bash -
                          

                          MOD-EDIT: Code in code-tags gesetzt!

                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • D darulor

                            @thomas-braun meine Befehle für die Installation waren wie folgt:

                            sudo apt-get update && sudo apt-get upgrade
                            
                            curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
                            sudo apt install -y nodejs
                            Sudo reboot 
                            
                            sudo ln -s /usr/bin/node /usr/bin/nodejs
                            
                            curl -sLf https://iobroker.net/install.sh | bash -
                            

                            MOD-EDIT: Code in code-tags gesetzt!

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

                            @darulor

                            Sieht gar nicht verkehrt aus.

                            Lass die manuelle Installation von nodeJS mal weg.

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

                            1 Antwort Letzte Antwort
                            0
                            • D darulor

                              @homoran gem. der Anleitung hier aus dem Forum „Neue Installationroutine unter Linux“

                              HomoranH Nicht stören
                              HomoranH Nicht stören
                              Homoran
                              Global Moderator Administrators
                              schrieb am zuletzt editiert von Homoran
                              #14

                              @darulor sagte in Problem bei ioBroker Installation-> iobroker.js-controller:

                              Neue Installationroutine unter Linux

                              muss ich mal suchen.
                              Denke aber, dass die wohl schon was älter ist.

                              mit dem aktuellen Installer von ioBroker (siehe unten) wird auf einem System ohne node.js automatisch die aktuell empfohlene Version von node.js mit installiert! Eine vorherige separate Installation von node.js ist somit nicht mehr nötig.

                              Quelle: https://www.iobroker.net/#de/documentation/install/linux.md

                              Edit:
                              solltest du dies meinen:
                              "Neue Installationsroutine (für Linux)"

                              dann ist das von 2018!
                              das ist nicht gerade aktuell.

                              kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                              1 Antwort Letzte Antwort
                              0
                              • D Offline
                                D Offline
                                darulor
                                schrieb am zuletzt editiert von
                                #15

                                @thomas-braun

                                Lass die manuelle Installation von nodeJS mal weg.

                                -> Das war es! Vielen Dank für den Hinweis!!!

                                Ich habe diese Punkt in der Installation "übersprungen"
                                In neueren Installationen kann es sein, dass der Befehl nodejs -v eine Fehlermeldung wie “nicht gefunden” erzeugt. Dies ist prinzipiell unbedenklich, da der Befehl nodejs schon länger nicht mehr verwendet wird, kann aber über einen Symlink mit dem Befehl sudo ln -s /usr/bin/node /usr/bin/nodejs "repariert" werden.

                                Jetzt bekam ich keine Fehlermeldung mehr bei der Installation und Iobroker startet :-)

                                HomoranH 1 Antwort Letzte Antwort
                                0
                                • D darulor

                                  @thomas-braun

                                  Lass die manuelle Installation von nodeJS mal weg.

                                  -> Das war es! Vielen Dank für den Hinweis!!!

                                  Ich habe diese Punkt in der Installation "übersprungen"
                                  In neueren Installationen kann es sein, dass der Befehl nodejs -v eine Fehlermeldung wie “nicht gefunden” erzeugt. Dies ist prinzipiell unbedenklich, da der Befehl nodejs schon länger nicht mehr verwendet wird, kann aber über einen Symlink mit dem Befehl sudo ln -s /usr/bin/node /usr/bin/nodejs "repariert" werden.

                                  Jetzt bekam ich keine Fehlermeldung mehr bei der Installation und Iobroker startet :-)

                                  HomoranH Nicht stören
                                  HomoranH Nicht stören
                                  Homoran
                                  Global Moderator Administrators
                                  schrieb am zuletzt editiert von
                                  #16

                                  @darulor sagte in Problem bei ioBroker Installation-> iobroker.js-controller:

                                  Vielen Dank für den Hinweis!!!

                                  steht über dem von dir zitierten in der Anleitung:

                                  mit dem aktuellen Installer von ioBroker (siehe unten) wird auf einem System ohne node.js automatisch die aktuell empfohlene Version von node.js mit installiert! Eine vorherige separate Installation von node.js ist somit nicht mehr nötig.

                                  kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                  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

                                  538

                                  Online

                                  32.4k

                                  Benutzer

                                  81.4k

                                  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