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

  • Default (No Skin)
  • No Skin
Collapse
Logo
  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.1k

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

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

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

Scheduled Pinned Locked Moved ioBroker Allgemein
installationlinuxnodenode.jsnodejswindows
1.1k Posts 106 Posters 738.1k Views 112 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • crunchipC Away
    crunchipC Away
    crunchip
    Forum Testing Most Active
    wrote on last edited by
    #10

    wechsel von v8.16 auf v10.16

    1. Versuch, nachdem einige Adapter nicht mehr liefen "Dash, BLuetooth"

    hab danach iobroker gestartet, bekam aber "Bluetooth und Dash" nicht mehr zum laufen, bzw weiss nicht genau wie
    und bevor ich was kaputt mache, frage ich lieber 😬

    Aktuell stehe ich hier
    ein npm rebuild ergibt folgendes

    root@IoBroker:/opt/iobroker# npm rebuild
    
    > bluetooth-hci-socket@0.5.1 install /opt/iobroker/node_modules/bluetooth-hci-socket
    > node-gyp rebuild
    
    make: Verzeichnis „/opt/iobroker/node_modules/bluetooth-hci-socket/build“ wird betreten
      CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
    ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:
    ../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
         Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                   ^
    In file included from ../src/BluetoothHciSocket.cpp:8:0:
    ../../nan/nan.h:950:46: note: declared here
       NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                  ^~~~~~~~~~~~
    ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:
    ../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Local<v8::Value> [1])’
       Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);
                                                                            ^
    In file included from /root/.node-gyp/10.16.0/include/node/node.h:63:0,
                     from /root/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                     from ../src/BluetoothHciSocket.cpp:7:
    /root/.node-gyp/10.16.0/include/node/v8.h:3993:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
       V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                                ^~~~~~~~~~~
    /root/.node-gyp/10.16.0/include/node/v8.h:3993:44: note:   candidate expects 3 arguments, 2 provided
    /root/.node-gyp/10.16.0/include/node/v8.h:3996:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
       V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                                ^~~~~~~~~~~
    /root/.node-gyp/10.16.0/include/node/v8.h:3996:44: note:   candidate expects 1 argument, 2 provided
    ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
       Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                 ^
    In file included from ../src/BluetoothHciSocket.cpp:8:0:
    ../../nan/nan.h:950:46: note: declared here
       NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                  ^~~~~~~~~~~~
    ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/BluetoothHciSocket.cpp:395:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           devId = arg0->IntegerValue();
                                      ^
    In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                     from /root/.node-gyp/10.16.0/include/node/node.h:63,
                     from /root/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                     from ../src/BluetoothHciSocket.cpp:7:
    /root/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
       V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                  ^
    /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/BluetoothHciSocket.cpp:417:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           devId = arg0->IntegerValue();
                                      ^
    In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                     from /root/.node-gyp/10.16.0/include/node/node.h:63,
                     from /root/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                     from ../src/BluetoothHciSocket.cpp:7:
    /root/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
       V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                  ^
    /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    binding.target.mk:101: die Regel für Ziel „Release/obj.target/binding/src/BluetoothHciSocket.o“ scheiterte
    make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Fehler 1
    make: Verzeichnis „/opt/iobroker/node_modules/bluetooth-hci-socket/build“ 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_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.9.0-9-amd64
    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/bluetooth-hci-socket
    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! bluetooth-hci-socket@0.5.1 install: `node-gyp rebuild`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the bluetooth-hci-socket@0.5.1 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!     /root/.npm/_logs/2019-06-02T09_24_04_396Z-debug.log
    root@IoBroker:/opt/iobroker#
    
    

    umgestiegen von Proxmox auf Unraid

    DiginixD apollon77A 2 Replies Last reply
    0
    • crunchipC crunchip

      wechsel von v8.16 auf v10.16

      1. Versuch, nachdem einige Adapter nicht mehr liefen "Dash, BLuetooth"

      hab danach iobroker gestartet, bekam aber "Bluetooth und Dash" nicht mehr zum laufen, bzw weiss nicht genau wie
      und bevor ich was kaputt mache, frage ich lieber 😬

      Aktuell stehe ich hier
      ein npm rebuild ergibt folgendes

      root@IoBroker:/opt/iobroker# npm rebuild
      
      > bluetooth-hci-socket@0.5.1 install /opt/iobroker/node_modules/bluetooth-hci-socket
      > node-gyp rebuild
      
      make: Verzeichnis „/opt/iobroker/node_modules/bluetooth-hci-socket/build“ wird betreten
        CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
      ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:
      ../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
           Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                     ^
      In file included from ../src/BluetoothHciSocket.cpp:8:0:
      ../../nan/nan.h:950:46: note: declared here
         NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                    ^~~~~~~~~~~~
      ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:
      ../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Local<v8::Value> [1])’
         Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);
                                                                              ^
      In file included from /root/.node-gyp/10.16.0/include/node/node.h:63:0,
                       from /root/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                       from ../src/BluetoothHciSocket.cpp:7:
      /root/.node-gyp/10.16.0/include/node/v8.h:3993:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
         V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                                  ^~~~~~~~~~~
      /root/.node-gyp/10.16.0/include/node/v8.h:3993:44: note:   candidate expects 3 arguments, 2 provided
      /root/.node-gyp/10.16.0/include/node/v8.h:3996:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
         V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                                  ^~~~~~~~~~~
      /root/.node-gyp/10.16.0/include/node/v8.h:3996:44: note:   candidate expects 1 argument, 2 provided
      ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
         Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                   ^
      In file included from ../src/BluetoothHciSocket.cpp:8:0:
      ../../nan/nan.h:950:46: note: declared here
         NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                    ^~~~~~~~~~~~
      ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/BluetoothHciSocket.cpp:395:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             devId = arg0->IntegerValue();
                                        ^
      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                       from /root/.node-gyp/10.16.0/include/node/node.h:63,
                       from /root/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                       from ../src/BluetoothHciSocket.cpp:7:
      /root/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
         V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                    ^
      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/BluetoothHciSocket.cpp:417:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             devId = arg0->IntegerValue();
                                        ^
      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                       from /root/.node-gyp/10.16.0/include/node/node.h:63,
                       from /root/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                       from ../src/BluetoothHciSocket.cpp:7:
      /root/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
         V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                    ^
      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      binding.target.mk:101: die Regel für Ziel „Release/obj.target/binding/src/BluetoothHciSocket.o“ scheiterte
      make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Fehler 1
      make: Verzeichnis „/opt/iobroker/node_modules/bluetooth-hci-socket/build“ 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_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.9.0-9-amd64
      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/bluetooth-hci-socket
      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! bluetooth-hci-socket@0.5.1 install: `node-gyp rebuild`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the bluetooth-hci-socket@0.5.1 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!     /root/.npm/_logs/2019-06-02T09_24_04_396Z-debug.log
      root@IoBroker:/opt/iobroker#
      
      
      DiginixD Offline
      DiginixD Offline
      Diginix
      wrote on last edited by
      #11

      @crunchip Genau den Fehler habe ich auch mit npm rebuild als root.

      Wenn ich npm rebuild als user iobroker ausführe bekomme ich folgende Fehler:

      iobroker@BT3-PRO:/opt/iobroker$ npm rebuild
      npm ERR! path /root/.npm/_logs
      npm ERR! code EACCES
      npm ERR! errno -13
      npm ERR! syscall scandir
      npm ERR! Error: EACCES: permission denied, scandir '/root/.npm/_logs'
      npm ERR!  { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
      npm ERR!   stack:
      npm ERR!    'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
      npm ERR!   errno: -13,
      npm ERR!   code: 'EACCES',
      npm ERR!   syscall: 'scandir',
      npm ERR!   path: '/root/.npm/_logs' }
      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 (though this is not recommended).
      glob error { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
        stack:
         'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
        errno: -13,
        code: 'EACCES',
        syscall: 'scandir',
        path: '/root/.npm/_logs' }
      
      > @abandonware/noble@1.9.2-2 install /opt/iobroker/node_modules/@abandonware/noble
      > node-gyp rebuild
      
      gyp WARN EACCES user "iobroker" does not have permission to access the dev dir "/root/.node-gyp/10.16.0"
      gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp"
      make: Verzeichnis â/opt/iobroker/node_modules/@abandonware/noble/buildâ wird betreten
        SOLINK_MODULE(target) Release/obj.target/noble.node
        COPY Release/noble.node
      make: Verzeichnis â/opt/iobroker/node_modules/@abandonware/noble/buildâ wird verlassen
      
      > iobroker@2.0.2 install /opt/iobroker/node_modules/iobroker
      > node lib/checkVersions.js
      
      NPM version: 6.9.0
      
      > iobroker@2.0.2 postinstall /opt/iobroker/node_modules/iobroker
      > node lib/install.js
      
      lib/install.js is not being run as part of an installation - skipping...
      
      > @serialport/bindings@2.0.8 install /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bindings
      > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
      
      [...]
      
      Installing NodeJS typings...
      Could not install NodeJS typings. This is not critical.
      Reason:
      npm ERR! path /root/.npm/_logs
      npm ERR! code EACCES
      npm ERR! errno -13
      npm ERR! syscall scandir
      npm ERR! Error: EACCES: permission denied, scandir '/root/.npm/_logs'
      npm ERR!  { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
      npm ERR!   stack:
      npm ERR!    'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
      npm ERR!   errno: -13,
      npm ERR!   code: 'EACCES',
      npm ERR!   syscall: 'scandir',
      npm ERR!   path: '/root/.npm/_logs' }
      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 (though this is not recommended).
      glob error { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
        stack:
         'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
        errno: -13,
        code: 'EACCES',
        syscall: 'scandir',
        path: '/root/.npm/_logs' }
      npm ERR! path /root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be
      npm ERR! code EACCES
      npm ERR! errno -13
      npm ERR! syscall open
      npm ERR! Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be'
      npm ERR!  { [Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be']
      npm ERR!   cause:
      npm ERR!    { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be'
      npm ERR!      errno: -13,
      npm ERR!      code: 'EACCES',
      npm ERR!      syscall: 'open',
      npm ERR!      path:
      npm ERR!       '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be' },
      npm ERR!   isOperational: true,
      npm ERR!   stack:
      npm ERR!    'Error: EACCES: permission denied, open \'/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be\'',
      npm ERR!   errno: -13,
      npm ERR!   code: 'EACCES',
      npm ERR!   syscall: 'open',
      npm ERR!   path:
      npm ERR!    '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be' }
      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 (though this is not recommended).
      
      [...]
      
      (node:3600) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added. Use emitter.setMaxListeners() to increase limit
      npm ERR! path /root/.npm/_logs
      npm ERR! code EACCES
      npm ERR! errno -13
      npm ERR! syscall scandir
      npm ERR! Error: EACCES: permission denied, scandir '/root/.npm/_logs'
      npm ERR!  { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
      npm ERR!   stack:
      npm ERR!    'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
      npm ERR!   errno: -13,
      npm ERR!   code: 'EACCES',
      npm ERR!   syscall: 'scandir',
      npm ERR!   path: '/root/.npm/_logs' }
      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 (though this is not recommended).
      glob error { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
        stack:
         'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
        errno: -13,
        code: 'EACCES',
        syscall: 'scandir',
        path: '/root/.npm/_logs' }
      npm ERR! path /root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f
      npm ERR! code EACCES
      npm ERR! errno -13
      npm ERR! syscall open
      npm ERR! Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f'
      npm ERR!  { [Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f']
      npm ERR!   cause:
      npm ERR!    { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f'
      npm ERR!      errno: -13,
      npm ERR!      code: 'EACCES',
      npm ERR!      syscall: 'open',
      npm ERR!      path:
      npm ERR!       '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f' },
      npm ERR!   isOperational: true,
      npm ERR!   stack:
      npm ERR!    'Error: EACCES: permission denied, open \'/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f\'',
      npm ERR!   errno: -13,
      npm ERR!   code: 'EACCES',
      npm ERR!   syscall: 'open',
      npm ERR!   path:
      npm ERR!    '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f' }
      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 (though this is not recommended).
      npm ERR! code ELIFECYCLE
      npm ERR! errno 243
      npm ERR! @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall: `npm install node-pre-gyp`
      npm ERR! Exit status 243
      npm ERR!
      npm ERR! Failed at the @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      iobroker@BT3-PRO:/opt/iobroker$
      

      Hab schon den Install Fixer laufen lassen, aber der korrigiert ja nur alles unterhalb von /opt/iobroker.
      Anscheinend will npm aber auch wenn es nicht als root ausgeführt wird in /root schreiben.
      Aber am Ende taucht auch wieder "bluetooth-hci-socket" auf.
      Ein Downgrad auf node 8.x hatte ich vor Wochen schon mal erfolglos probiert. Würde auch auf node 10 bleiben wollen, wenn ich die Probleme gelöst bekomme.

      ..:: So long! Tom ::..

      NUC7i3 (Ubuntu Proxmox VM) | Echo Dots 2+3. Gen | Xiaomi Sensoren | Mi Robot 1S | Yeelight | Sonoff | Shelly | H801 RGB | Gosund SP1 | NodeMCU+ESP32 | Kostal Plenticore PV+BYD | openWB

      crunchipC apollon77A 2 Replies Last reply
      0
      • DiginixD Diginix

        @crunchip Genau den Fehler habe ich auch mit npm rebuild als root.

        Wenn ich npm rebuild als user iobroker ausführe bekomme ich folgende Fehler:

        iobroker@BT3-PRO:/opt/iobroker$ npm rebuild
        npm ERR! path /root/.npm/_logs
        npm ERR! code EACCES
        npm ERR! errno -13
        npm ERR! syscall scandir
        npm ERR! Error: EACCES: permission denied, scandir '/root/.npm/_logs'
        npm ERR!  { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
        npm ERR!   stack:
        npm ERR!    'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
        npm ERR!   errno: -13,
        npm ERR!   code: 'EACCES',
        npm ERR!   syscall: 'scandir',
        npm ERR!   path: '/root/.npm/_logs' }
        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 (though this is not recommended).
        glob error { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
          stack:
           'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
          errno: -13,
          code: 'EACCES',
          syscall: 'scandir',
          path: '/root/.npm/_logs' }
        
        > @abandonware/noble@1.9.2-2 install /opt/iobroker/node_modules/@abandonware/noble
        > node-gyp rebuild
        
        gyp WARN EACCES user "iobroker" does not have permission to access the dev dir "/root/.node-gyp/10.16.0"
        gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp"
        make: Verzeichnis â/opt/iobroker/node_modules/@abandonware/noble/buildâ wird betreten
          SOLINK_MODULE(target) Release/obj.target/noble.node
          COPY Release/noble.node
        make: Verzeichnis â/opt/iobroker/node_modules/@abandonware/noble/buildâ wird verlassen
        
        > iobroker@2.0.2 install /opt/iobroker/node_modules/iobroker
        > node lib/checkVersions.js
        
        NPM version: 6.9.0
        
        > iobroker@2.0.2 postinstall /opt/iobroker/node_modules/iobroker
        > node lib/install.js
        
        lib/install.js is not being run as part of an installation - skipping...
        
        > @serialport/bindings@2.0.8 install /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bindings
        > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
        
        [...]
        
        Installing NodeJS typings...
        Could not install NodeJS typings. This is not critical.
        Reason:
        npm ERR! path /root/.npm/_logs
        npm ERR! code EACCES
        npm ERR! errno -13
        npm ERR! syscall scandir
        npm ERR! Error: EACCES: permission denied, scandir '/root/.npm/_logs'
        npm ERR!  { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
        npm ERR!   stack:
        npm ERR!    'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
        npm ERR!   errno: -13,
        npm ERR!   code: 'EACCES',
        npm ERR!   syscall: 'scandir',
        npm ERR!   path: '/root/.npm/_logs' }
        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 (though this is not recommended).
        glob error { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
          stack:
           'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
          errno: -13,
          code: 'EACCES',
          syscall: 'scandir',
          path: '/root/.npm/_logs' }
        npm ERR! path /root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be
        npm ERR! code EACCES
        npm ERR! errno -13
        npm ERR! syscall open
        npm ERR! Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be'
        npm ERR!  { [Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be']
        npm ERR!   cause:
        npm ERR!    { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be'
        npm ERR!      errno: -13,
        npm ERR!      code: 'EACCES',
        npm ERR!      syscall: 'open',
        npm ERR!      path:
        npm ERR!       '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be' },
        npm ERR!   isOperational: true,
        npm ERR!   stack:
        npm ERR!    'Error: EACCES: permission denied, open \'/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be\'',
        npm ERR!   errno: -13,
        npm ERR!   code: 'EACCES',
        npm ERR!   syscall: 'open',
        npm ERR!   path:
        npm ERR!    '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be' }
        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 (though this is not recommended).
        
        [...]
        
        (node:3600) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added. Use emitter.setMaxListeners() to increase limit
        npm ERR! path /root/.npm/_logs
        npm ERR! code EACCES
        npm ERR! errno -13
        npm ERR! syscall scandir
        npm ERR! Error: EACCES: permission denied, scandir '/root/.npm/_logs'
        npm ERR!  { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
        npm ERR!   stack:
        npm ERR!    'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
        npm ERR!   errno: -13,
        npm ERR!   code: 'EACCES',
        npm ERR!   syscall: 'scandir',
        npm ERR!   path: '/root/.npm/_logs' }
        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 (though this is not recommended).
        glob error { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
          stack:
           'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
          errno: -13,
          code: 'EACCES',
          syscall: 'scandir',
          path: '/root/.npm/_logs' }
        npm ERR! path /root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f
        npm ERR! code EACCES
        npm ERR! errno -13
        npm ERR! syscall open
        npm ERR! Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f'
        npm ERR!  { [Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f']
        npm ERR!   cause:
        npm ERR!    { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f'
        npm ERR!      errno: -13,
        npm ERR!      code: 'EACCES',
        npm ERR!      syscall: 'open',
        npm ERR!      path:
        npm ERR!       '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f' },
        npm ERR!   isOperational: true,
        npm ERR!   stack:
        npm ERR!    'Error: EACCES: permission denied, open \'/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f\'',
        npm ERR!   errno: -13,
        npm ERR!   code: 'EACCES',
        npm ERR!   syscall: 'open',
        npm ERR!   path:
        npm ERR!    '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f' }
        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 (though this is not recommended).
        npm ERR! code ELIFECYCLE
        npm ERR! errno 243
        npm ERR! @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall: `npm install node-pre-gyp`
        npm ERR! Exit status 243
        npm ERR!
        npm ERR! Failed at the @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall script.
        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
        iobroker@BT3-PRO:/opt/iobroker$
        

        Hab schon den Install Fixer laufen lassen, aber der korrigiert ja nur alles unterhalb von /opt/iobroker.
        Anscheinend will npm aber auch wenn es nicht als root ausgeführt wird in /root schreiben.
        Aber am Ende taucht auch wieder "bluetooth-hci-socket" auf.
        Ein Downgrad auf node 8.x hatte ich vor Wochen schon mal erfolglos probiert. Würde auch auf node 10 bleiben wollen, wenn ich die Probleme gelöst bekomme.

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

        @Diginix mit dem Install Fixer hab ich mich bis jetzt noch nicht befasst, bei mir läuft noch ne alte root Installation.

        umgestiegen von Proxmox auf Unraid

        J 1 Reply Last reply
        0
        • crunchipC crunchip

          @Diginix mit dem Install Fixer hab ich mich bis jetzt noch nicht befasst, bei mir läuft noch ne alte root Installation.

          J Offline
          J Offline
          Jan1
          wrote on last edited by
          #13

          @crunchip
          und genau für solche alten Installationen ist der Fixer gedacht. Es sind auch die Rechte des IOBroker User, was mit dem User root dann auch nicht viel gemeinsam hat.

          liv-in-skyL 1 Reply Last reply
          0
          • J Jan1

            @crunchip
            und genau für solche alten Installationen ist der Fixer gedacht. Es sind auch die Rechte des IOBroker User, was mit dem User root dann auch nicht viel gemeinsam hat.

            liv-in-skyL Offline
            liv-in-skyL Offline
            liv-in-sky
            wrote on last edited by
            #14

            hi @Jan1

            da mus sich mich mal einklinken - ich habe auch ein root-laufendes system und dachte immer der fixer ist für die leute, die mit sudo arbeiten . liege ich da falsch - muss ich das auch laufen lassen

            nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

            J 1 Reply Last reply
            0
            • liv-in-skyL liv-in-sky

              hi @Jan1

              da mus sich mich mal einklinken - ich habe auch ein root-laufendes system und dachte immer der fixer ist für die leute, die mit sudo arbeiten . liege ich da falsch - muss ich das auch laufen lassen

              J Offline
              J Offline
              Jan1
              wrote on last edited by
              #15

              @liv-in-sky
              müssen musst Du gar nichts☺
              Wie geschrieben, es wird der user IOBroker angelegt und da gabs Rechte Probleme, was eben nur bedingt was mit dem User root zu tun hat unter dem man IOBroker installiert hat.
              Wie das aber wirklich genau zusammenhängt, kann Dir bestimmt @apollon77 erklären. Im Fixer Thread wird der Fixer eben empfohlen um eine einheitliche Installation zu haben. Ich habe auch unter root installiert und mit dem Fixer trotzdem schon das ein oder andere Problem lösen können.

              liv-in-skyL 1 Reply Last reply
              0
              • crunchipC Away
                crunchipC Away
                crunchip
                Forum Testing Most Active
                wrote on last edited by
                #16

                also so wie ich das bisher verstanden hatte, ist der Install Fixer dazu da, um das System sicherer zu machen, damit nicht alles über root läuft, sondern für die "normalen" Befehle der User angelegt wird.
                Desweiteren kam/ kommt es vor das es bei dem ein oder anderen Adaptern zu Rechteprobleme kommt/kam.
                Da ich mich aber mit der Materie nicht so gut auskenne, für was ich wo, wann und wie, den oder diesen Befehl benötige (und froh bin, das mein System endlich läuft), habe ich das bis heute nicht installiert, um zusätzliche Probleme zu vermeiden.
                Bin Mechaniker und kein Programmierer😀

                umgestiegen von Proxmox auf Unraid

                apollon77A 1 Reply Last reply
                0
                • J Jan1

                  @liv-in-sky
                  müssen musst Du gar nichts☺
                  Wie geschrieben, es wird der user IOBroker angelegt und da gabs Rechte Probleme, was eben nur bedingt was mit dem User root zu tun hat unter dem man IOBroker installiert hat.
                  Wie das aber wirklich genau zusammenhängt, kann Dir bestimmt @apollon77 erklären. Im Fixer Thread wird der Fixer eben empfohlen um eine einheitliche Installation zu haben. Ich habe auch unter root installiert und mit dem Fixer trotzdem schon das ein oder andere Problem lösen können.

                  liv-in-skyL Offline
                  liv-in-skyL Offline
                  liv-in-sky
                  wrote on last edited by
                  #17

                  @Jan1 erstmal danke für deine antwort
                  ich hab mal ein wenig gelesen - aber irgendwie werd ich nicht schlau draus.

                  ich habe keine probleme mit meiner installation außer als ich node 10 hatte, da stürzte der js-controller immer wieder ab - ohne log einträge. es gab nur vom system selbst die meldung, das sigterm an js-contr gesendet wird.

                  glaubst du, dass mein node 10 problem vom fixer gelöst werden könnte oder hat das nix damit zu tun

                  nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                  J 1 Reply Last reply
                  0
                  • liv-in-skyL liv-in-sky

                    @Jan1 erstmal danke für deine antwort
                    ich hab mal ein wenig gelesen - aber irgendwie werd ich nicht schlau draus.

                    ich habe keine probleme mit meiner installation außer als ich node 10 hatte, da stürzte der js-controller immer wieder ab - ohne log einträge. es gab nur vom system selbst die meldung, das sigterm an js-contr gesendet wird.

                    glaubst du, dass mein node 10 problem vom fixer gelöst werden könnte oder hat das nix damit zu tun

                    J Offline
                    J Offline
                    Jan1
                    wrote on last edited by Jan1
                    #18

                    @liv-in-sky
                    Also ich habe mit Node 10 bis auf das Problem, dass bei mir https nicht mehr läuft (kam unmittelbar nach der Installation von Node 10 und nem System reboot) absolut keine Error oder sonstige Fehler im Log und das bei 26 installierten Adaptern. Ich habe mir sogar angewöhnt ab und an mal den Fixer laufen zu lassen, wenn irgendwo ne Warnung auftaucht und bis jetzt fahre ich damit sehr gut. Heißt für mich dass der Fixer an meinem System auf alle Fälle mal nichts verschlimmert.

                    Beim Fixer geht es hauptsächlich um Rechteprobleme und da werden auch Rechte, so wie @crunchip geschrieben hat nicht nur vergeben, sondern auch wieder auf das nötigste begrenzt damit das System sichere ist.
                    Ich würde auf alle Fälle mal ein Backup machen und dann den Fixer einfach mal laufen lassen, wenn danach im aller schlimmsten Fall nichts mehr geht, dann löscht man den IOBroker Ordner und installiert den nackten IOBroker samt dem Backitup Adapter und stellt das Backup wieder her. Dauert so 20 Minuten und alles ist wie vorher. So halte ich das und mein System läuft trotz massivem Basteln und ohne Testsystem😉

                    liv-in-skyL 1 Reply Last reply
                    0
                    • DiginixD Offline
                      DiginixD Offline
                      Diginix
                      wrote on last edited by
                      #19

                      Der Install Fixer hat bei mir keinerlei Besserung bzgl dem Problem von @crunchip und mir gebracht. Auch eine manuelle Kontrolle aller Permissions zeigt, dass alles ab /opt/iobroker auch dem user iobroker gehört. Außerdem hat dieser user bei mir "sudo ALL ALL" in /etc/sudoers.d/iobroker.

                      Ich bekomme aber sowohl mit nativem root user als auch mit einem der alles mit sudo darf Fehler bei "npm rebuild". Und darum geht es hier. Nicht um den Fixer.

                      ..:: So long! Tom ::..

                      NUC7i3 (Ubuntu Proxmox VM) | Echo Dots 2+3. Gen | Xiaomi Sensoren | Mi Robot 1S | Yeelight | Sonoff | Shelly | H801 RGB | Gosund SP1 | NodeMCU+ESP32 | Kostal Plenticore PV+BYD | openWB

                      J apollon77A 2 Replies Last reply
                      0
                      • DiginixD Diginix

                        Der Install Fixer hat bei mir keinerlei Besserung bzgl dem Problem von @crunchip und mir gebracht. Auch eine manuelle Kontrolle aller Permissions zeigt, dass alles ab /opt/iobroker auch dem user iobroker gehört. Außerdem hat dieser user bei mir "sudo ALL ALL" in /etc/sudoers.d/iobroker.

                        Ich bekomme aber sowohl mit nativem root user als auch mit einem der alles mit sudo darf Fehler bei "npm rebuild". Und darum geht es hier. Nicht um den Fixer.

                        J Offline
                        J Offline
                        Jan1
                        wrote on last edited by Jan1
                        #20

                        @Diginix
                        Richtig und dann kam die Frage zum Fixer, die berechtigt war und wenn man hier einige Threads liest, auch so manchen Fehler ausbügelt, den man damit nicht gleich oder direkt in Verbindung bringt.

                        Der Fixer ist ne tolle Sache, aber kein Allheilmittel, sollte aber eigentlich immer als erstes, weil am einfachsten anzuwenden, versucht werden. Das ist auch schon die ganze Kernaussage.

                        Wenn bei Dir rebuild nicht geht, dann probier doch mal reinstall. Die Doku ist derzeit nicht online, sonst hätte ich es gleich verlinkt.

                        apollon77A 1 Reply Last reply
                        0
                        • J Jan1

                          @liv-in-sky
                          Also ich habe mit Node 10 bis auf das Problem, dass bei mir https nicht mehr läuft (kam unmittelbar nach der Installation von Node 10 und nem System reboot) absolut keine Error oder sonstige Fehler im Log und das bei 26 installierten Adaptern. Ich habe mir sogar angewöhnt ab und an mal den Fixer laufen zu lassen, wenn irgendwo ne Warnung auftaucht und bis jetzt fahre ich damit sehr gut. Heißt für mich dass der Fixer an meinem System auf alle Fälle mal nichts verschlimmert.

                          Beim Fixer geht es hauptsächlich um Rechteprobleme und da werden auch Rechte, so wie @crunchip geschrieben hat nicht nur vergeben, sondern auch wieder auf das nötigste begrenzt damit das System sichere ist.
                          Ich würde auf alle Fälle mal ein Backup machen und dann den Fixer einfach mal laufen lassen, wenn danach im aller schlimmsten Fall nichts mehr geht, dann löscht man den IOBroker Ordner und installiert den nackten IOBroker samt dem Backitup Adapter und stellt das Backup wieder her. Dauert so 20 Minuten und alles ist wie vorher. So halte ich das und mein System läuft trotz massivem Basteln und ohne Testsystem😉

                          liv-in-skyL Offline
                          liv-in-skyL Offline
                          liv-in-sky
                          wrote on last edited by liv-in-sky
                          #21

                          @Jan1 da werd ich lieber ein proxmox backup machen und restoren falls etwas schief geht 🙂

                          aber wegen der sicherheit allein, mach ich jetzt erstmal nix - da keine probleme vorhanden - habe geraade admin adapter 3.6.3 gemacht - keine warnung - kein error

                          ich behalt den fixer mal im auge und les noch ein wenig darüber , falls in zukunft etwas sein sollte

                          danke dir

                          nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                          1 Reply Last reply
                          1
                          • crunchipC crunchip

                            wechsel von v8.16 auf v10.16

                            1. Versuch, nachdem einige Adapter nicht mehr liefen "Dash, BLuetooth"

                            hab danach iobroker gestartet, bekam aber "Bluetooth und Dash" nicht mehr zum laufen, bzw weiss nicht genau wie
                            und bevor ich was kaputt mache, frage ich lieber 😬

                            Aktuell stehe ich hier
                            ein npm rebuild ergibt folgendes

                            root@IoBroker:/opt/iobroker# npm rebuild
                            
                            > bluetooth-hci-socket@0.5.1 install /opt/iobroker/node_modules/bluetooth-hci-socket
                            > node-gyp rebuild
                            
                            make: Verzeichnis „/opt/iobroker/node_modules/bluetooth-hci-socket/build“ wird betreten
                              CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
                            ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:
                            ../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                 Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                           ^
                            In file included from ../src/BluetoothHciSocket.cpp:8:0:
                            ../../nan/nan.h:950:46: note: declared here
                               NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                          ^~~~~~~~~~~~
                            ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:
                            ../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Local<v8::Value> [1])’
                               Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);
                                                                                                    ^
                            In file included from /root/.node-gyp/10.16.0/include/node/node.h:63:0,
                                             from /root/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                                             from ../src/BluetoothHciSocket.cpp:7:
                            /root/.node-gyp/10.16.0/include/node/v8.h:3993:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
                               V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                                                        ^~~~~~~~~~~
                            /root/.node-gyp/10.16.0/include/node/v8.h:3993:44: note:   candidate expects 3 arguments, 2 provided
                            /root/.node-gyp/10.16.0/include/node/v8.h:3996:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
                               V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                                                        ^~~~~~~~~~~
                            /root/.node-gyp/10.16.0/include/node/v8.h:3996:44: note:   candidate expects 1 argument, 2 provided
                            ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                               Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                         ^
                            In file included from ../src/BluetoothHciSocket.cpp:8:0:
                            ../../nan/nan.h:950:46: note: declared here
                               NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                          ^~~~~~~~~~~~
                            ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)’:
                            ../src/BluetoothHciSocket.cpp:395:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                   devId = arg0->IntegerValue();
                                                              ^
                            In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                             from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                             from /root/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                                             from ../src/BluetoothHciSocket.cpp:7:
                            /root/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
                               V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                                          ^
                            /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                               declarator __attribute__((deprecated(message)))
                               ^~~~~~~~~~
                            ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)’:
                            ../src/BluetoothHciSocket.cpp:417:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                   devId = arg0->IntegerValue();
                                                              ^
                            In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                             from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                             from /root/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                                             from ../src/BluetoothHciSocket.cpp:7:
                            /root/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
                               V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                                          ^
                            /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                               declarator __attribute__((deprecated(message)))
                               ^~~~~~~~~~
                            binding.target.mk:101: die Regel für Ziel „Release/obj.target/binding/src/BluetoothHciSocket.o“ scheiterte
                            make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Fehler 1
                            make: Verzeichnis „/opt/iobroker/node_modules/bluetooth-hci-socket/build“ 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_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.9.0-9-amd64
                            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/bluetooth-hci-socket
                            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! bluetooth-hci-socket@0.5.1 install: `node-gyp rebuild`
                            npm ERR! Exit status 1
                            npm ERR!
                            npm ERR! Failed at the bluetooth-hci-socket@0.5.1 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!     /root/.npm/_logs/2019-06-02T09_24_04_396Z-debug.log
                            root@IoBroker:/opt/iobroker#
                            
                            
                            apollon77A Offline
                            apollon77A Offline
                            apollon77
                            wrote on last edited by apollon77
                            #22

                            @crunchip Welche Adapter nutzt Du denn die Bluetooth Dinge tun? Diese musst Du VORHER idealerweise auf Versionen bringen die deine Ziel-Nodejs Version auch unterstützen! Das ergänze ich oben noch.
                            Hier könnte es ble sein, ggf radar (musst glaube auf radar2) o.ä.

                            Ein Weg es zu fixen ist den betroffenen Adapter ausfindlig zu machen, per "npm install iobroker.adaptername@version" die kompatible Version installieren, dann nochmal den "npm rebuild"versuchen

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

                            • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                            • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                            crunchipC 1 Reply Last reply
                            0
                            • DiginixD Diginix

                              @crunchip Genau den Fehler habe ich auch mit npm rebuild als root.

                              Wenn ich npm rebuild als user iobroker ausführe bekomme ich folgende Fehler:

                              iobroker@BT3-PRO:/opt/iobroker$ npm rebuild
                              npm ERR! path /root/.npm/_logs
                              npm ERR! code EACCES
                              npm ERR! errno -13
                              npm ERR! syscall scandir
                              npm ERR! Error: EACCES: permission denied, scandir '/root/.npm/_logs'
                              npm ERR!  { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
                              npm ERR!   stack:
                              npm ERR!    'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
                              npm ERR!   errno: -13,
                              npm ERR!   code: 'EACCES',
                              npm ERR!   syscall: 'scandir',
                              npm ERR!   path: '/root/.npm/_logs' }
                              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 (though this is not recommended).
                              glob error { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
                                stack:
                                 'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
                                errno: -13,
                                code: 'EACCES',
                                syscall: 'scandir',
                                path: '/root/.npm/_logs' }
                              
                              > @abandonware/noble@1.9.2-2 install /opt/iobroker/node_modules/@abandonware/noble
                              > node-gyp rebuild
                              
                              gyp WARN EACCES user "iobroker" does not have permission to access the dev dir "/root/.node-gyp/10.16.0"
                              gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp"
                              make: Verzeichnis â/opt/iobroker/node_modules/@abandonware/noble/buildâ wird betreten
                                SOLINK_MODULE(target) Release/obj.target/noble.node
                                COPY Release/noble.node
                              make: Verzeichnis â/opt/iobroker/node_modules/@abandonware/noble/buildâ wird verlassen
                              
                              > iobroker@2.0.2 install /opt/iobroker/node_modules/iobroker
                              > node lib/checkVersions.js
                              
                              NPM version: 6.9.0
                              
                              > iobroker@2.0.2 postinstall /opt/iobroker/node_modules/iobroker
                              > node lib/install.js
                              
                              lib/install.js is not being run as part of an installation - skipping...
                              
                              > @serialport/bindings@2.0.8 install /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bindings
                              > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
                              
                              [...]
                              
                              Installing NodeJS typings...
                              Could not install NodeJS typings. This is not critical.
                              Reason:
                              npm ERR! path /root/.npm/_logs
                              npm ERR! code EACCES
                              npm ERR! errno -13
                              npm ERR! syscall scandir
                              npm ERR! Error: EACCES: permission denied, scandir '/root/.npm/_logs'
                              npm ERR!  { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
                              npm ERR!   stack:
                              npm ERR!    'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
                              npm ERR!   errno: -13,
                              npm ERR!   code: 'EACCES',
                              npm ERR!   syscall: 'scandir',
                              npm ERR!   path: '/root/.npm/_logs' }
                              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 (though this is not recommended).
                              glob error { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
                                stack:
                                 'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
                                errno: -13,
                                code: 'EACCES',
                                syscall: 'scandir',
                                path: '/root/.npm/_logs' }
                              npm ERR! path /root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be
                              npm ERR! code EACCES
                              npm ERR! errno -13
                              npm ERR! syscall open
                              npm ERR! Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be'
                              npm ERR!  { [Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be']
                              npm ERR!   cause:
                              npm ERR!    { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be'
                              npm ERR!      errno: -13,
                              npm ERR!      code: 'EACCES',
                              npm ERR!      syscall: 'open',
                              npm ERR!      path:
                              npm ERR!       '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be' },
                              npm ERR!   isOperational: true,
                              npm ERR!   stack:
                              npm ERR!    'Error: EACCES: permission denied, open \'/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be\'',
                              npm ERR!   errno: -13,
                              npm ERR!   code: 'EACCES',
                              npm ERR!   syscall: 'open',
                              npm ERR!   path:
                              npm ERR!    '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be' }
                              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 (though this is not recommended).
                              
                              [...]
                              
                              (node:3600) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added. Use emitter.setMaxListeners() to increase limit
                              npm ERR! path /root/.npm/_logs
                              npm ERR! code EACCES
                              npm ERR! errno -13
                              npm ERR! syscall scandir
                              npm ERR! Error: EACCES: permission denied, scandir '/root/.npm/_logs'
                              npm ERR!  { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
                              npm ERR!   stack:
                              npm ERR!    'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
                              npm ERR!   errno: -13,
                              npm ERR!   code: 'EACCES',
                              npm ERR!   syscall: 'scandir',
                              npm ERR!   path: '/root/.npm/_logs' }
                              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 (though this is not recommended).
                              glob error { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
                                stack:
                                 'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
                                errno: -13,
                                code: 'EACCES',
                                syscall: 'scandir',
                                path: '/root/.npm/_logs' }
                              npm ERR! path /root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f
                              npm ERR! code EACCES
                              npm ERR! errno -13
                              npm ERR! syscall open
                              npm ERR! Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f'
                              npm ERR!  { [Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f']
                              npm ERR!   cause:
                              npm ERR!    { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f'
                              npm ERR!      errno: -13,
                              npm ERR!      code: 'EACCES',
                              npm ERR!      syscall: 'open',
                              npm ERR!      path:
                              npm ERR!       '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f' },
                              npm ERR!   isOperational: true,
                              npm ERR!   stack:
                              npm ERR!    'Error: EACCES: permission denied, open \'/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f\'',
                              npm ERR!   errno: -13,
                              npm ERR!   code: 'EACCES',
                              npm ERR!   syscall: 'open',
                              npm ERR!   path:
                              npm ERR!    '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f' }
                              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 (though this is not recommended).
                              npm ERR! code ELIFECYCLE
                              npm ERR! errno 243
                              npm ERR! @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall: `npm install node-pre-gyp`
                              npm ERR! Exit status 243
                              npm ERR!
                              npm ERR! Failed at the @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall script.
                              npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                              iobroker@BT3-PRO:/opt/iobroker$
                              

                              Hab schon den Install Fixer laufen lassen, aber der korrigiert ja nur alles unterhalb von /opt/iobroker.
                              Anscheinend will npm aber auch wenn es nicht als root ausgeführt wird in /root schreiben.
                              Aber am Ende taucht auch wieder "bluetooth-hci-socket" auf.
                              Ein Downgrad auf node 8.x hatte ich vor Wochen schon mal erfolglos probiert. Würde auch auf node 10 bleiben wollen, wenn ich die Probleme gelöst bekomme.

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

                              @Diginix An der Stelle beissen sich dann bestimmt Dinge "von früher" wo noch mit sudo gearbeitet wurde und der neuere Ansatz. Auhc interessant, warum nutzt Du User iobroker? An sich. hat der keine Login-Shell nach dem neuen Installer. Ich habe keine Ahnung ob das nicht zusätzlich Probleme bereitet

                              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
                              DiginixD 1 Reply Last reply
                              0
                              • crunchipC crunchip

                                also so wie ich das bisher verstanden hatte, ist der Install Fixer dazu da, um das System sicherer zu machen, damit nicht alles über root läuft, sondern für die "normalen" Befehle der User angelegt wird.
                                Desweiteren kam/ kommt es vor das es bei dem ein oder anderen Adaptern zu Rechteprobleme kommt/kam.
                                Da ich mich aber mit der Materie nicht so gut auskenne, für was ich wo, wann und wie, den oder diesen Befehl benötige (und froh bin, das mein System endlich läuft), habe ich das bis heute nicht installiert, um zusätzliche Probleme zu vermeiden.
                                Bin Mechaniker und kein Programmierer😀

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

                                @crunchip @liv-in-sky Aaaaaaaalso 🙂

                                Eine saubere Installation die auf dem neuen Installer (für ältere dem Fixer) basiert ist von uns ausdrücklich empfohlen. Einerseits aus Sicherheitsaspekten (Root und so), anderrrseits auch weil sich npm inzwischen mit sudo gaaaanz komisch verhält. Wenn man alles als Root User tut sollte es weitestgehend funktionieren.
                                Das ganze Thema ist aber inzwischen so komplett geworden und unterschiedliche npm Versionen verhalten sich unterschiedlich das wir überlegen müssen was wir Support-Technisch unterstützen können. Weil jedem User mit seiner, irgendwie irgendwann einmal durchgeführten, Installation mit Besonderheiten im Forum helfen zu können hat sich als immer aschwieriger herausgestellt. Und einige User mögen es auch nicht wenn keiner Antwortet oder keine Lösung angeboten wird 😉 Am Ende heisst es "ioBroker ist scheisse".

                                Wir haben für uns den Ausweg im Ansatz des Installers/Fixers gefunden, wodurch wir eine sinnvolle Support-basis sicherstellen können und damit konnten bisher viele der Sonderfälle direkt gelöst werden.

                                Natürlich kann jeder User es so installieren wie er will und sich gegen den Installer/Fixer entscheiden ... es bedeutet aber im Zweifel das er bei Problemen allein da steht. Wer das akzeptiert und such bewusst dafür entscheidet die Lösung ggf. selbst finden zu müssen, kann tun was er will 🙂

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

                                • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                crunchipC liv-in-skyL 2 Replies Last reply
                                0
                                • J Jan1

                                  @Diginix
                                  Richtig und dann kam die Frage zum Fixer, die berechtigt war und wenn man hier einige Threads liest, auch so manchen Fehler ausbügelt, den man damit nicht gleich oder direkt in Verbindung bringt.

                                  Der Fixer ist ne tolle Sache, aber kein Allheilmittel, sollte aber eigentlich immer als erstes, weil am einfachsten anzuwenden, versucht werden. Das ist auch schon die ganze Kernaussage.

                                  Wenn bei Dir rebuild nicht geht, dann probier doch mal reinstall. Die Doku ist derzeit nicht online, sonst hätte ich es gleich verlinkt.

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

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

                                  Die Doku ist derzeit nicht online, sonst hätte ich es gleich verlinkt.

                                  Doch: https://www.iobroker.net/docu/

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

                                    @crunchip Welche Adapter nutzt Du denn die Bluetooth Dinge tun? Diese musst Du VORHER idealerweise auf Versionen bringen die deine Ziel-Nodejs Version auch unterstützen! Das ergänze ich oben noch.
                                    Hier könnte es ble sein, ggf radar (musst glaube auf radar2) o.ä.

                                    Ein Weg es zu fixen ist den betroffenen Adapter ausfindlig zu machen, per "npm install iobroker.adaptername@version" die kompatible Version installieren, dann nochmal den "npm rebuild"versuchen

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

                                    @apollon77 ble v 0.7.3, radar2 v1.0.7
                                    und der amazon-dash v0.3.1 , der auch noch Probleme bereitete, beim wechsel von Nodejs 8 auf 10

                                    umgestiegen von Proxmox auf Unraid

                                    apollon77A 1 Reply Last reply
                                    0
                                    • apollon77A apollon77

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

                                      Die Doku ist derzeit nicht online, sonst hätte ich es gleich verlinkt.

                                      Doch: https://www.iobroker.net/docu/

                                      J Offline
                                      J Offline
                                      Jan1
                                      wrote on last edited by
                                      #27

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

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

                                      Die Doku ist derzeit nicht online, sonst hätte ich es gleich verlinkt.

                                      Doch: https://www.iobroker.net/docu/

                                      Jou der Link funktioniert, nur der oben im Forum geht nicht

                                      https://www.iobroker.net/docu/?lang=de

                                      sigi234S apollon77A 2 Replies Last reply
                                      0
                                      • apollon77A apollon77

                                        @crunchip @liv-in-sky Aaaaaaaalso 🙂

                                        Eine saubere Installation die auf dem neuen Installer (für ältere dem Fixer) basiert ist von uns ausdrücklich empfohlen. Einerseits aus Sicherheitsaspekten (Root und so), anderrrseits auch weil sich npm inzwischen mit sudo gaaaanz komisch verhält. Wenn man alles als Root User tut sollte es weitestgehend funktionieren.
                                        Das ganze Thema ist aber inzwischen so komplett geworden und unterschiedliche npm Versionen verhalten sich unterschiedlich das wir überlegen müssen was wir Support-Technisch unterstützen können. Weil jedem User mit seiner, irgendwie irgendwann einmal durchgeführten, Installation mit Besonderheiten im Forum helfen zu können hat sich als immer aschwieriger herausgestellt. Und einige User mögen es auch nicht wenn keiner Antwortet oder keine Lösung angeboten wird 😉 Am Ende heisst es "ioBroker ist scheisse".

                                        Wir haben für uns den Ausweg im Ansatz des Installers/Fixers gefunden, wodurch wir eine sinnvolle Support-basis sicherstellen können und damit konnten bisher viele der Sonderfälle direkt gelöst werden.

                                        Natürlich kann jeder User es so installieren wie er will und sich gegen den Installer/Fixer entscheiden ... es bedeutet aber im Zweifel das er bei Problemen allein da steht. Wer das akzeptiert und such bewusst dafür entscheidet die Lösung ggf. selbst finden zu müssen, kann tun was er will 🙂

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

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

                                        Wenn man alles als Root User tut sollte es weitestgehend funktionieren.

                                        tut es aber nicht, dachte eigentlich, das man so am wenigsten Probleme hätte

                                        umgestiegen von Proxmox auf Unraid

                                        1 Reply Last reply
                                        0
                                        • J Jan1

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

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

                                          Die Doku ist derzeit nicht online, sonst hätte ich es gleich verlinkt.

                                          Doch: https://www.iobroker.net/docu/

                                          Jou der Link funktioniert, nur der oben im Forum geht nicht

                                          https://www.iobroker.net/docu/?lang=de

                                          sigi234S Online
                                          sigi234S Online
                                          sigi234
                                          Forum Testing Most Active
                                          wrote on last edited by
                                          #29

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

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

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

                                          Die Doku ist derzeit nicht online, sonst hätte ich es gleich verlinkt.

                                          Doch: https://www.iobroker.net/docu/

                                          Jou der Link funktioniert, nur der oben im Forum geht nicht

                                          https://www.iobroker.net/docu/?lang=de

                                          Kann ich bestätigen:

                                          Cannot GET /docu/

                                          Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                          Immer Daten sichern!

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          769

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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