Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [How-to] Node.js für ioBroker richtig updaten

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • Stabilostick
      Stabilostick @zgadgeter last edited by

      @zgadgeter
      Das ist der zigbee-Stick. Und er wird nach /dev/ttyACM0 umgeleitet (siehe Ende der Zeile).

      Z 1 Reply Last reply Reply Quote 0
      • Z
        zgadgeter @Stabilostick last edited by

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

        @zgadgeter
        Das ist der zigbee-Stick. Und er wird nach /dev/ttyACM0 umgeleitet (siehe Ende der Zeile).

        ok, aber wie bekomme ich das ganze auf den anderen iobroker einfach kopiert?

        Stabilostick 1 Reply Last reply Reply Quote 0
        • Stabilostick
          Stabilostick @zgadgeter last edited by Stabilostick

          @zgadgeter
          Du installierst auf den pi einen iobroker und machst ihn zum Slave deines NUC-ioBrokers. Stichwort „Multihost“.

          Dann installiert du über den Admin des Masters auf dem Slave den zigbee-Adapter.

          https://www.iobroker.net/#de/documentation/config/multihost.md

          Z 1 Reply Last reply Reply Quote 0
          • Z
            zgadgeter @Stabilostick last edited by

            @Stabilostick
            Danke fuer die Hilfe, bin mir aber nicht sicher ob wir an einander vorbei reden:
            NUC: das ist der Iobroker wo der Zigbee nicht mehr funktioniert nach dem update
            Pi: das ist der zweite iobroker wo der zigbee (ein zweiter stick) funktioniert.
            Ich dachte mir ich koennte das serial Verzeichnis einfach von dem Pi iobroker rubber kopieren zu dem Nuc iobroker, so das der erro (not found) nicht mehr da waere?

            1 Reply Last reply Reply Quote 0
            • apollon77
              apollon77 last edited by

              Nein. Alles unter /dev wird vom Betriebssystem verwaltet! Wenn der usb Stick da nicht drin ist dann stimmt was nicht. Reboot kann helfen. Ggf musst du aber auch mal Stromlos machen bzw den Stick raus und rein. Natürlich per VPN blöd.

              Das hat aber mit dem fix Skript oder dem Adapter nix zu tun.

              Z 1 Reply Last reply Reply Quote 0
              • Z
                zgadgeter @apollon77 last edited by

                @apollon77 Hallo und danke. Versteh, danke fuer die Erklaerung...waere auch zu einfach gewesen :).
                Ich probiere mal das jemand zuhause ein restart macht, bzw. den Stick mal raus nimmt.
                Wenn das alles aber nicht funktioniert....gibt es da noch weitere Moeglichkeiten?
                danke nochmals.

                arteck 1 Reply Last reply Reply Quote 0
                • arteck
                  arteck Developer Most Active @zgadgeter last edited by arteck

                  @zgadgeter da wird der port nicht weitergereicht wie ich es erkennen kann..
                  bzw. der iobroker user darf auf den port nicht zugreifen

                  wie währe es mit einem neuen Thread.. das hat nix mit dem Update von node zu tun

                  Z 1 Reply Last reply Reply Quote 0
                  • Z
                    zgadgeter @arteck last edited by

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

                    @zgadgeter da wird der port nicht weitergereicht wie ich es erkennen kann..
                    bzw. der iobroker user darf auf den port nicht zugreifen

                    wie währe es mit einem neuen Thread.. das hat nix mit dem Update von node zu tun

                    Naja, das ganze ist ja passiert direkt bei dem Update von node passiert. Ob es das Resultat von dem update war kann ich nicht sagen....nur Zufall?
                    Egal, ich mache ein neues Thread auf.

                    FYI, zigbee raus/rein stecken auch nichts gebracht.

                    1 Reply Last reply Reply Quote 0
                    • smartboart
                      smartboart last edited by

                      Hallo Gemeinde, kann mir einer sagen, wie ich diese Fehlermeldungen bei Adapter aktualisierungen reduzieren kann..System läuft unauffälig. Die Fehlerliste betrifft alle npm Installationen / Adapterupdates...

                      $ ./iobroker upgrade hm-rega
                      Update hm-rega from @2.4.0 to @2.4.1
                      NPM version: 6.9.0
                      npm install iobroker.hm-rega@2.4.1 --production --save --prefix "/opt/iobroker" (System call)
                      In file included from ../node_modules/nan/nan.h:82:0,                 from ../src/bufferutil.cc:16:
                      ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Integer; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
                      ../node_modules/nan/nan_new.h:29:66: warning: ‘v8::Local<v8::Integer> v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       To<v8::Integer>(v8::Handle<v8::Integer> i) { return i->ToInteger(); }
                                                                                        ^
                      
                      In file included from ../src/validation.cc:7:0:/home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                       Local<Object> Value::ToObject() const {
                                     ^~~~~
                      
                      make: *** [Release/obj.target/validation/src/validation.o] Fehler 1
                      gyp
                       
                      ERR!
                       build error 
                      gyp
                       ERR! 
                      stack
                       Error: `make` failed with exit code: 2gyp 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.4.182-rockchip64
                      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/utf-8-validategyp 
                      ERR! node -v v10.16.0gyp ERR! 
                      node-gyp -v v3.8.0gyp
                       ERR! not ok 
                      npm
                       
                      WARN
                       babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none is installed. You must install peer dependencies yourself.
                      npm
                       
                      WARN
                       xmlhttprequest-ts@1.0.1 requires a peer of @angular/common@>= 5.0.0 but none is installed. You must install peer dependencies yourself.
                      npm 
                      WARN xmlhttprequest-ts@1.0.1 requires a peer of @angular/core@>= 5.0.0 but none is installed. You must install peer dependencies yourself.
                      npm WARN optional
                       SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                      
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 (node_modules/bufferutil):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 install: `node-gyp rebuild`
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 (node_modules/utf-8-validate):
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 install: `node-gyp rebuild`
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                      
                      
                      npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.hm-rega"
                      npm
                       
                      notice
                       created a lockfile as package-lock.json. You should commit this file.
                      got /opt/iobroker/node_modules/iobroker.hm-rega/admin
                      upload [3] hm-rega.admin /opt/iobroker/node_modules/iobroker.hm-rega/admin/words.js words.js application/javascript
                      Update "system.adapter.hm-rega.0"
                      upload [2] hm-rega.admin /opt/iobroker/node_modules/iobroker.hm-rega/admin/index_m.html index_m.html text/html
                      upload [1] hm-rega.admin /opt/iobroker/node_modules/iobroker.hm-rega/admin/index.html index.html text/html
                      upload [0] hm-rega.admin /opt/iobroker/node_modules/iobroker.hm-rega/admin/homematic.png homematic.png image/png
                      Adapter "hm-rega" updated
                      process exited with code 0
                      
                      1 Reply Last reply Reply Quote 0
                      • marcuskl
                        marcuskl last edited by

                        Beimir klappt alles nur wen ich node -v eingebe kommt immernoch Node js 8.x ?

                        root@iobroker:~# node -v
                        v8.16.0
                        root@iobroker:~# nodejs -v
                        v10.16.0
                        root@iobroker:~#
                        
                        
                        Homoran 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @marcuskl last edited by Homoran

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

                          Beimir klappt alles nur wen ich node -v eingebe kommt immernoch Node js 8.x ?

                          Dann hast du -warum auch immer (einmal einen Befehl im falschen Verzeichnis ausgeführt...)- zwei node installationen parallel laufen.

                          Das wird zu Problemen führen

                          marcuskl 1 Reply Last reply Reply Quote 0
                          • marcuskl
                            marcuskl @Homoran last edited by

                            @Homoran was mache ich nun ?

                            Homoran 1 Reply Last reply Reply Quote 0
                            • marcuskl
                              marcuskl last edited by

                              Ich habe damal die node 6 mit dem Befehl

                              Sudo n 8.12.0
                              

                              geupdatet.

                              Liegt da der Fehler ?

                              1 Reply Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @marcuskl last edited by

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

                                was mache ich nun ?

                                Dazu bin ich nicht fit genug.

                                @paul53 hatte bereits mehrfach das procedere zum Auffinden der Versionen und Entfernen der falschen hier im Forum gepostet.

                                Da musst du mal suchen

                                1 Reply Last reply Reply Quote 0
                                • F
                                  FuLLHDvs480p last edited by FuLLHDvs480p

                                  Hallo,

                                  habe folgendes Problem:

                                  rock64@rock64:/opt/iobroker$ iobroker stop
                                  rock64@rock64:/opt/iobroker$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
                                  
                                  ## Installing the NodeSource Node.js 10.x repo...
                                  
                                  
                                  ## Populating apt-get cache...
                                  
                                  + apt-get update
                                  Hit:1 http://security.debian.org stretch/updates InRelease
                                  Hit:2 http://ppa.launchpad.net/ayufan/rock64-ppa/ubuntu xenial InRelease
                                  Get:3 http://deb.ayufan.eu/orgs/ayufan-rock64/releases  InRelease [1339 B]
                                  Ign:4 http://cdn-fastly.deb.debian.org/debian stretch InRelease
                                  Get:5 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB]
                                  Hit:6 https://deb.nodesource.com/node_10.x stretch InRelease
                                  Hit:7 http://cdn-fastly.deb.debian.org/debian stretch Release
                                  Fetched 92.4 kB in 2s (39.7 kB/s)
                                  Reading package lists... Done
                                  
                                  ## Confirming "stretch" is supported...
                                  
                                  + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_10.x/dists/stretch/Release'
                                  
                                  ## Adding the NodeSource signing key to your keyring...
                                  
                                  + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
                                  OK
                                  
                                  ## Creating apt sources list file for the NodeSource Node.js 10.x repo...
                                  
                                  + echo 'deb https://deb.nodesource.com/node_10.x stretch main' > /etc/apt/sources.list.d/nodesource.list
                                  + echo 'deb-src https://deb.nodesource.com/node_10.x stretch main' >> /etc/apt/sources.list.d/nodesource.list
                                  
                                  ## Running `apt-get update` for you...
                                  
                                  + apt-get update
                                  Hit:1 http://security.debian.org stretch/updates InRelease
                                  Hit:2 http://ppa.launchpad.net/ayufan/rock64-ppa/ubuntu xenial InRelease
                                  Ign:3 http://cdn-fastly.deb.debian.org/debian stretch InRelease
                                  Hit:4 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
                                  Get:5 http://deb.ayufan.eu/orgs/ayufan-rock64/releases  InRelease [1339 B]
                                  Hit:6 http://cdn-fastly.deb.debian.org/debian stretch Release
                                  Hit:7 https://deb.nodesource.com/node_10.x stretch InRelease
                                  Fetched 1339 B in 2s (583 B/s)
                                  Reading package lists... Done
                                  
                                  ## Run `sudo apt-get install -y nodejs` to install Node.js 10.x and npm
                                  ## You may also need development tools to build native addons:
                                       sudo apt-get install gcc g++ make
                                  ## To install the Yarn package manager, run:
                                       curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
                                       echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
                                       sudo apt-get update && sudo apt-get install yarn
                                  
                                  
                                  rock64@rock64:/opt/iobroker$ sudo apt-get install -y nodejs
                                  Reading package lists... Done
                                  Building dependency tree
                                  Reading state information... Done
                                  nodejs is already the newest version (10.16.0-1nodesource1).
                                  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                  rock64@rock64:/opt/iobroker$ node -v
                                  v10.16.0
                                  rock64@rock64:/opt/iobroker$ curl -sL https://iobroker.net/fix.sh | bash -
                                  
                                  ==========================================================================
                                  
                                      Welcome to the ioBroker installation fixer!
                                      Script version: 2019-07-21
                                  
                                      You might need to enter your password a couple of times.
                                  
                                  ==========================================================================
                                  
                                  
                                  ==========================================================================
                                      Installing prerequisites (1/3)
                                  ==========================================================================
                                  
                                  
                                  ==========================================================================
                                      Checking ioBroker user and directory permissions (2/3)
                                  ==========================================================================
                                  
                                  Created /etc/sudoers.d/iobroker
                                  Fixing directory permissions...
                                  
                                  ==========================================================================
                                      Checking autostart (3/3)
                                  ==========================================================================
                                  
                                  Enabling autostart...
                                  Autostart enabled!
                                  
                                  ==========================================================================
                                  
                                      Your installation was fixed successfully
                                      Run iobroker start to start ioBroker again!
                                  
                                  ==========================================================================
                                  
                                  rock64@rock64:/opt/iobroker$ npm rebuild
                                  
                                  > @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
                                  > npm install node-pre-gyp
                                  
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules
                                  npm ERR! path /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp
                                  npm ERR! code EACCES
                                  npm ERR! errno -13
                                  npm ERR! syscall access
                                  npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp'
                                  npm ERR!  { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp']
                                  npm ERR!   stack:
                                  npm ERR!    'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp\'',
                                  npm ERR!   errno: -13,
                                  npm ERR!   code: 'EACCES',
                                  npm ERR!   syscall: 'access',
                                  npm ERR!   path:
                                  npm ERR!    '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp' }
                                  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! A complete log of this run can be found in:
                                  npm ERR!     /home/rock64/.npm/_logs/2019-07-26T09_47_03_405Z-debug.log
                                  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.
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/rock64/.npm/_logs/2019-07-26T09_47_03_647Z-debug.log
                                  rock64@rock64:/opt/iobroker$ npm install @abandonware/bluetooth-hci-socket
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/abbrev
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/ansi-regex
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/aproba
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/balanced-match
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/chownr
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/code-point-at
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/concat-map
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/brace-expansion
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/console-control-strings
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/core-util-is
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/deep-extend
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/delegates
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/detect-libc
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/fs.realpath
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/has-unicode
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/inherits
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/ini
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/isarray
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/minimatch
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/ignore-walk
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/minimist
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/mkdirp
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/needle/node_modules/debug
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/npm-bundled
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/npm-packlist
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/number-is-nan
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/is-fullwidth-code-point
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/object-assign
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/os-homedir
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/os-tmpdir
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/osenv
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/nopt
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/path-is-absolute
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/process-nextick-args
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/rc/node_modules/minimist
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/safe-buffer
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/safer-buffer
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/iconv-lite
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/sax
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/needle
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/set-blocking
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/signal-exit
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/string_decoder
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/strip-ansi
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/string-width
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/strip-json-comments
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/rc
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/util-deprecate
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/readable-stream
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/are-we-there-yet
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/wide-align
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/gauge
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/npmlog
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/wrappy
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/once
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/inflight
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/glob
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/rimraf
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/yallist
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/minipass
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/fs-minipass
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/minizlib
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/tar
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/needle/node_modules
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/rc/node_modules
                                  npm WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/bluetooth-hci-socket'
                                  npm WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/iobroker.type-detector'
                                  npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.radar/node_modules/bluetooth-hci-socket/package.json'
                                  
                                  npm ERR! path /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
                                  npm ERR! code EACCES
                                  npm ERR! errno -13
                                  npm ERR! syscall access
                                  npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket'
                                  npm ERR!  { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket']
                                  npm ERR!   stack:
                                  npm ERR!    'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket\'',
                                  npm ERR!   errno: -13,
                                  npm ERR!   code: 'EACCES',
                                  npm ERR!   syscall: 'access',
                                  npm ERR!   path:
                                  npm ERR!    '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket' }
                                  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! A complete log of this run can be found in:
                                  npm ERR!     /home/rock64/.npm/_logs/2019-07-26T09_58_41_378Z-debug.log
                                  rock64@rock64:/opt/iobroker$
                                  
                                  

                                  Fixer Script habe ich laufen lassen,
                                  Radar2 und Ble vorher komplett gelöscht.
                                  Auch die Neuinstallation von bluetooth-hci-socket schlägt fehl.
                                  js-controller: 1.5.14

                                  Jemand eine Idee?

                                  AlCalzone 1 Reply Last reply Reply Quote 0
                                  • AlCalzone
                                    AlCalzone Developer @FuLLHDvs480p last edited by

                                    @FuLLHDvs480p Eigentlich dürfte das nicht passieren, aber probier mal im Ordner /opt/iobroker folgendes:

                                    sudo -H -u iobroker npm install @abandonware/bluetooth-hci-socket
                                    

                                    um die Installation als Benutzer iobroker auszuführen, der dort Schreibrechte haben müsste.

                                    F 1 Reply Last reply Reply Quote 0
                                    • F
                                      FuLLHDvs480p @AlCalzone last edited by

                                      @AlCalzone Wenn ich mich über Putty als iobroker anmelde schließt sich das Fenster direkt wieder.
                                      Wenn ich mich als root anmelde und danach auf den Benutzer iobroker wechseln will kommt:

                                      root@rock64:~# su iobroker
                                      This account is currently not available.
                                      

                                      Hab die Installation mal als rock64 laufen lassen und bekomme diese Fehler:

                                      rock64@rock64:~$ cd /opt/iobroker/
                                      rock64@rock64:/opt/iobroker$ iobroker stop
                                      rock64@rock64:/opt/iobroker$ sudo -H -u iobroker npm install @abandonware/bluetooth-hci-socket
                                      [sudo] password for rock64:
                                      
                                      > @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
                                      > npm install node-pre-gyp
                                      
                                      npm notice created a lockfile as package-lock.json. You should commit this file.
                                      + node-pre-gyp@0.12.0
                                      added 63 packages from 24 contributors, updated 1 package and audited 97 packages in 13.598s
                                      found 0 vulnerabilities
                                      
                                      
                                      > @abandonware/bluetooth-hci-socket@0.5.3-1 install /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
                                      > node-pre-gyp install --fallback-to-build
                                      
                                      node-pre-gyp WARN Using request for node-pre-gyp https download
                                      node-pre-gyp WARN Tried to download(404): https://github.com/sandeepmistry/node-bluetooth-hci-socket/releases/download/0.5.3-1/binding-0.5.3-1-node-v64-linux-arm64.tar.gz
                                      node-pre-gyp WARN Pre-built binaries not found for @abandonware/bluetooth-hci-socket@0.5.3-1 and node@10.16.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
                                      make: Entering directory '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build'
                                        CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
                                      ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::poll()':
                                      ../src/BluetoothHciSocket.cpp:252: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:1045:46: note: declared here
                                         NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                                    ^~~~~~~~~~~~
                                      ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::emitErrnoError()':
                                      ../src/BluetoothHciSocket.cpp:283: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:1045: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:396:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
                                             devId = arg0->IntegerValue();
                                                                        ^
                                      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                                                       from ../src/BluetoothHciSocket.cpp:7:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
                                         V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                                                    ^
                                      /home/iobroker/.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:418:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
                                             devId = arg0->IntegerValue();
                                                                        ^
                                      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                                                       from ../src/BluetoothHciSocket.cpp:7:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
                                         V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                                                    ^
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                        SOLINK_MODULE(target) Release/obj.target/binding.node
                                        COPY Release/binding.node
                                        COPY /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node
                                        TOUCH Release/obj.target/action_after_build.stamp
                                      make: Leaving directory '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build'
                                      
                                      > bluetooth-hci-socket@0.5.1 install /opt/iobroker/node_modules/iobroker.radar/node_modules/noble/node_modules/bluetooth-hci-socket
                                      > node-gyp rebuild
                                      
                                      make: Entering directory '/opt/iobroker/node_modules/iobroker.radar/node_modules/noble/node_modules/bluetooth-hci-socket/build'
                                        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:980: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 /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                                                       from ../src/BluetoothHciSocket.cpp:7:
                                      /home/iobroker/.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(
                                                                                  ^~~~~~~~~~~
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:3993:44: note:   candidate expects 3 arguments, 2 provided
                                      /home/iobroker/.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(
                                                                                  ^~~~~~~~~~~
                                      /home/iobroker/.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:980: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 /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                                                       from ../src/BluetoothHciSocket.cpp:7:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
                                         V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                                                    ^
                                      /home/iobroker/.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 /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                                                       from ../src/BluetoothHciSocket.cpp:7:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
                                         V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                                                    ^
                                      /home/iobroker/.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:99: recipe for target 'Release/obj.target/binding/src/BluetoothHciSocket.o' failed
                                      make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Error 1
                                      make: Leaving directory '/opt/iobroker/node_modules/iobroker.radar/node_modules/noble/node_modules/bluetooth-hci-socket/build'
                                      gyp ERR! build error
                                      gyp ERR! stack Error: `make` failed with exit code: 2
                                      gyp ERR! stack     at ChildProcess.onExit (/usr/local/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.4.132-1075-rockchip-ayufan-ga83beded8524
                                      gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                      gyp ERR! cwd /opt/iobroker/node_modules/iobroker.radar/node_modules/noble/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 WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/bluetooth-hci-socket'
                                      npm WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/iobroker.type-detector'
                                      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.radar/node_modules/bluetooth-hci-socket/package.json'
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
                                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):
                                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 (node_modules/iobroker.radar/node_modules/noble/node_modules/bluetooth-hci-socket):
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 install: `node-gyp rebuild`
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                      
                                      + @abandonware/bluetooth-hci-socket@0.5.3-1
                                      removed 63 packages, updated 1 package and audited 19313 packages in 242.798s
                                      found 99 vulnerabilities (54 low, 5 moderate, 40 high)
                                        run `npm audit fix` to fix them, or `npm audit` for details
                                      rock64@rock64:/opt/iobroker$
                                      
                                      
                                      AlCalzone 1 Reply Last reply Reply Quote 0
                                      • AlCalzone
                                        AlCalzone Developer @FuLLHDvs480p last edited by

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

                                        This account is currently not available.

                                        Das ist gewollt.

                                        COPY Release/binding.node
                                        COPY /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node
                                        TOUCH Release/obj.target/action_after_build.stamp
                                        make: Leaving directory '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build'

                                        Das scheint funktioniert zu haben. Der Fehler kommt von dem Versuch, eine ältere Version davon zu kompilieren.

                                        Hab die Installation mal als rock64 laufen lassen

                                        Nein, du hast sie als iobroker ausgeführt, deswegen ja auch das umständlichere Kommando sudo -H -u iobroker ...

                                        F 1 Reply Last reply Reply Quote 0
                                        • F
                                          FuLLHDvs480p @AlCalzone last edited by

                                          @AlCalzone Okay.

                                          Der npm rebuild läuft trotzdem nicht durch:

                                          rock64@rock64:/opt/iobroker$ npm rebuild
                                          
                                          > @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
                                          > npm install node-pre-gyp
                                          
                                          npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp
                                          npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules
                                          npm ERR! path /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp
                                          npm ERR! code EACCES
                                          npm ERR! errno -13
                                          npm ERR! syscall access
                                          npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp'
                                          npm ERR!  { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp']
                                          npm ERR!   stack:
                                          npm ERR!    'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp\'',
                                          npm ERR!   errno: -13,
                                          npm ERR!   code: 'EACCES',
                                          npm ERR!   syscall: 'access',
                                          npm ERR!   path:
                                          npm ERR!    '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp' }
                                          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! A complete log of this run can be found in:
                                          npm ERR!     /home/rock64/.npm/_logs/2019-07-26T14_46_23_187Z-debug.log
                                          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.
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /home/rock64/.npm/_logs/2019-07-26T14_46_23_397Z-debug.log
                                          rock64@rock64:/opt/iobroker$
                                          

                                          Kann ich hingehen und den ganzen Ordner von dem bluetooth-hci-socket löschen?

                                          Stabilostick 1 Reply Last reply Reply Quote 0
                                          • Stabilostick
                                            Stabilostick @FuLLHDvs480p last edited by

                                            @FuLLHDvs480p

                                            Führe bitte die folgenden Befehle aus:

                                            cd /opt/iobroker
                                            iobroker stop
                                            sudo rm -r /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
                                            npm install @abandonware/bluetooth-hci-socket --force
                                            iobroker start
                                            
                                            F 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            477
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            installation linux node node.js nodejs windows
                                            106
                                            1105
                                            669956
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo